Returns the label of the object when search for a page link or a file link