Modify EditForm.aspx and DispForm.aspx on Document/Image Library

Copper Contributor

I've been tasked to make the current out of the box form view for editing or just viewing item properties more user friendly. I'm using SharePoint 2013 On-Prem. We have a content type that has 26 fields, out of the box it just one huge long list and we would like to modify this with Info Path like forms.


From what I can see online, I cant directly modify this form with info path because its not a list (Task list or regular list) which has this option in the ribbon. SharePoint designer no longer gives the preview of the site and ONLY shows the code. the problem I find with this code is that when i edit the EditForm.aspx and DispForm.aspx files in the library I don't see any reference to the columns, so i take a step back and look for reference to the content type, still don't see it.

 

So my question is how can I modify this form?

1 Reply

Hi Jeremy,

 

In attached you can find part of my HTML code, which I used with my list with ~70 questions.

That code helped me make the new and edit form look more friendly.

You can find there, how I refered to the columns in SP Designer.

 

Examples: 

  • <xsl:value-of select="@Title"/>
  • <SharePoint:FormField FieldName="Author" runat="server" ControlMode="Display" DisableInputFieldLabel="true" />
  • <xsl:value-of select="@NewColumn1"/>

 

I hope it is something that you searched :)