I have document library with column LinkFilename which renders link to document, where text is the name of the file. Is it possible to modify column is such way, that it will still render link to document but the text will be coming from another field (eg. MyTitle)?
|
|
|||
|
|
|
Yes it is possible, when you select a field and go to further properties [as shown in the below article], you can choose which field should make the link and which to appear as text... These options are available when the field is supposed to work as HyperLink Data View Web Part, The Basics - Add a Hyperlink I hope this helps |
|||
|
|
|
It could be accomplished by customizing the Rendering of a Field on a List View using XSLT Below is described solution using SharePoint Designer (SPD). SolutionIn SharePoint Designer (SPD) open view page (AllItems.aspx) in Designer Mode. Select list item in List View that have to be customized (Name column) and then click Customize Item as shown on picture below
Switch to Code Mode and find template code for rendering
Inside template replace the line for rendering FileLeafRef value:
with the following one:
After you save your changes your page should look like this one:
|
|||
|
|
