Maybe someone know how add item name with link in EditForm, like it is in DispForm?
Image of what I need to do:

(if the image isn't visible: http://i.stack.imgur.com/CqxQU.jpg)
|
Maybe someone know how add item name with link in EditForm, like it is in DispForm? Image of what I need to do:
(if the image isn't visible: http://i.stack.imgur.com/CqxQU.jpg) |
||||
|
|
I normally hate "Why" answers, but here goes: WHY? The Edit Form is for modifying the properties of a list item, or a library item (document). The Display Form is for showing (read-only) the properties of a list/library item. If a user is looking at the item properties in read mode, they can click the link and get the document. If the user is in edit mode, they are changing the properties of the item. It would be counter-intuitive to expect to open the document while you are editing the properties. Why is the link from the display form insufficient? I am sincerely curious as to the reason for this requirement. |
|||
|
|
The Title field is single line text field and it does not allow HTML. Even if you try to add, SharePoint will display it as-is (html encoded). It cannot be done. |
|||||
|
|
Two things come to mind, neither of which is ideal or pleasant
|
|||
|
|
|
Please refer to this link, may be this might help: |
|||
|
|
|
I see a link in the field of DispForm
only when this field is lookup field to another one.
and if it has only one value there then it is like on you screenshot. Meanwhile I do not see any sense in having a link in EditForm... it is just a rendering feature, generated dynamically through XSLT transformation by Sharepoint server, not the content. You can observe it Title URL textbox under Advanced section in Web Part Properties of DispForm
but copy-pasting the same link manually into corresponding textbox of webpart properties of EditForm will not change the existing rendering of lookup field in EditForm |
|||
|
|
|
In SharePoint designer open the form Edit.aspx form and Display.aspx forms. From Display.aspx copy the textfield(Variable name) id, I mean to say the way it is getting displayed and paste inside the edit.aspx form text box of the respective field. For example: in Disp.aspx find "Name" field and the value in next , copy that variable and paste it in editform. I have implemented the same thing in past and it was worked with this kind of trick. Hope this helps. |
|||
|
|