The default aspx form used to view an object in a list or library. This form can be customized with software such as InfoPath.

learn more… | top users | synonyms

7
votes
5answers
9k views

How to display lookup additional field in display form?

I have two lists: Projects and Tasks In the Tasks list, I have created a lookup field titled ProjectID which targets ID filed from the Projects list. Also, I have set for this field to display an ...
6
votes
2answers
2k views

Dynamically get default display form url in sharepoint 2013 by REST or JSOM

How can I get default display form url of sharepoint list item via Rest or JSOM. I found the result by link: How to get the Display Form URL, using REST But the XML returns all of the display form ...
5
votes
2answers
6k views

SharePoint Lists' EditForm & DispForm

I haven't been able to find any information regarding this, so I hope you guys can help me out on this. Since all lists in SharePoint all have an EditForm.aspx and a DispForm.aspx I am wondering if ...
4
votes
1answer
2k views

RichHtmlField showing html markup in display mode

I am trying to render html tags with text in RichHtmlField control in SharePoint. Following is html code. <%@ Register TagPrefix="Publishing" Namespace="Microsoft.SharePoint.Publishing....
3
votes
2answers
2k views

Pass ID into URL for newform.aspx?

I have a display form and a list web part just below that. When users click "add new item" on that list web part, I would like for the values to automatically be populated. The url for the diplay ...
3
votes
3answers
4k views

Trying to hide the title column the sharepoint way

I am currently just messing around with defining lists via the elements.xml Content Type <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"&...
3
votes
3answers
619 views

More than 1 Dispform for List

I have 2 groups of people which should have access to different versions of a DispForm of a List. For 1 of these groups all links should be disabled and they should see the content with another ...
3
votes
2answers
1k views

Custom DisplayForm using JSLink

Is there any way to customise the display form of a list using the Client Site Templates e.g. // Register the template overrides. SPClientTemplates.TemplateManager.RegisterTemplateOverrides(...
3
votes
2answers
1k views

SharePoint 2010 how to customize display form using application page or code behind

I am working on a project that requires code behind in the dispform.aspx as well as the edit and new form. The reson being, I am synching to a web service, on view of an item, I want to make a sall ...
3
votes
2answers
2k views

How to restrict access to custom forms

I have created a custom disp-form and custom edit-form in a customized sharepoint list. I'd like to restrict access to those 2 custom forms to a specific security group. Can someone advise how I can ...
3
votes
4answers
1k views

How to show video file in custom display form?

I created a custom display form for a list. This list have a media field column. And in my custom display form I want to be able to play a video that I have uploaded to this list. When I upload a ...
3
votes
3answers
2k views

Sharepoint custom list: Hiding and showing column based on drop down dependancy

I'm trying to add javascript to the dispform.aspx page of my form to hide certain columns/fields based on a dropdown menu. When I add the code to the CEWP it simply adds text above the fields; the ...
3
votes
3answers
1k views

How do I enable/disable a ribbon button in the Display form?

I want to enable/disable a ribbon button in display form of a list based on whether versioning is enabled or not. In the EnabledScript of CommandUIHandler, I am specifying a javascript function which ...
2
votes
4answers
8k views

How to set columns visible only in Display Form on a Column used by a Content Type

I have a column that we will call C. This Column is associated to a Content Type (CT). If I go to the properties of the CT -> Column C I can set the column to be Facoltative or Hidden: If I put it ...
2
votes
2answers
6k views

how do i place custom action in custom group on displayform?

By following the examples in the SP 2010 C# Hands On Lab (SPCHOL308), I've gotten a CustomAction button to show up under the View tab in the Manage group on the DisplayForm. I want to place this ...
2
votes
1answer
29 views

What should I do to restore the calendar when calendar automatically removed?

After removing the display form in the calendar, the calendar automatically removed. What should I do to restore the calendar? I did not create any display form.
2
votes
1answer
2k views

Using javascript/jquery to modify the display form?

I have a js file which retrieves a value stored in a date field and then calculates the remaining time in weeks/days. My issue is that this works on the edit form because I send the value in with ...
2
votes
0answers
78 views

DispForm does not show prior version

My question is the same as Version history(display form) shows only the latest version data, except that the accepted answer in that question does not solve my problem. More details below the question....
2
votes
0answers
42 views

Content type selector for custom forms

I am working on a list where we have three content types (Client self-service, Service, and Intake). When a user comes to the site the default content type is Client self-service (Item1). After they ...
2
votes
0answers
180 views

Can't create Custom Action in Display Form Ribbon when using InfoPath form?

I have a SharePoint list which uses InfoPath forms. I've created a Custom Action on SharePoint Designer for that list, located on the Display Form Ribbon, but when I go to view an item there is no ...
2
votes
0answers
143 views

How to Add External xsl Stylesheet to DispForm.aspx

It isn't too difficult to use xsl to modify the display of items in a list (via a custom fldtypes.xsl file), but can the fldtypes.xsl file also be used to change the display on the `dispform.aspx' ? ...
2
votes
0answers
271 views

Are Display Form FieldControls used in 2013 Custom Field Types?

When using a Custom Field Type that has a Field Control (provided by FieldRenderingControl), it seems that the Field Control isn't used when rendering data on the Display Form if the SPField.JSLink is ...
2
votes
2answers
2k views

Any way to only include a particular page (such as DispForm.aspx) in Search Results?

I'm trying to create a search scope in SharePoint 2007 that searches all lists in a given site. But I want the results to only include the actual list item itself, not the all items form or anything ...
2
votes
1answer
1k views

DispForm.aspx taking 5+ minutes to load on SP2010 Server, high CPU utilization

We have one list that has about 55 columns. Most of these are very simple columns (number, text, choice), though there are four that are Lookups to another list. All four lookups columns lookup ...
2
votes
1answer
434 views

Custom State Machine Workflow with navigation based on user input

Here's what I have to do: I have a list of items called Projects, and for this I have developed a custom display form called DisplayProject.aspx, and a custom State Machine Workflow. I have to put a ...
1
vote
2answers
732 views

Extracting text from a lookup field in a SharePoint 2013

I switched from InfoPath to the Designer forms. In the list i have a Lookupfield that Points to another list. In the Control modes Edit and New the select boxes are created automatically using the ...
1
vote
2answers
2k views

Display form containing lookup field opens new window, how to change this?

On any list in SharePoint 2010, when you open the details view for a list item, you get presented with the display form. If the details view for a list item contains a lookup field, it is displayed ...
1
vote
3answers
1k views

jQuery EditForm redirect to DispForm

I want to redirect user after editing item and pressing save button to item DispForm. I currently have JS code: $( document ).ready(function() { $('input[value=Save]').click(function() { ...
1
vote
2answers
3k views

Hide fields in Display Form

I want to hide some fields in my Display Form... I was using jQuery: $(document).ready(function(){ $("A[name = 'SPBookmark_Start_x0020_date']").closest("tr").hide(); }); But when the page ...
1
vote
3answers
622 views

Change Doctype for one Site

I'm very new to sharepoint development and I would like to know, if it is possible to change the doctype in SharePoint just for one page (or better for a webpart, I think just for a webpart or is it ...
1
vote
2answers
753 views

WSS3 list lost its dispform association

I have customized my DispForm, about 2 years ago, using SPD on my WSS3 site. I recently made an update, and now the association to the list is gone. All I did was modify a web part to include another ...
1
vote
3answers
48 views

My jQuery code is not kicking off in DisplayForm in SharePoint

I have added some jQuery code to the DisplayForm as follow- <asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1....
1
vote
2answers
4k views

How to add grid lines to display form of a list item

I am trying to figure out how to make my display item form look like a table. I am using SharePoint 2013, and currently, the display form can be a bit difficult to read without lines separating fields....
1
vote
2answers
2k views

sp2013: Column with link to the displayform like on the title column?

I'm using SharePoint 2013. I have a custom list and a custom Content Type. I have edited the view and deactivated the title column because I don't use it. I now miss a column with a link to the ...
1
vote
1answer
101 views

WebPart on Top of Displayform for Custom List, ListItem deleted => Server Error

so I have a visual webpart for registering/unregistering for an event on top of a custom lists' ("events"-list) display form (added via &ToolPaneView=2). Now my use-case is this: potential ...
1
vote
1answer
138 views

Add DOCTYPE to mobile page

I am using HTML 5 specific markup () in my modified mobile dispform.aspx page (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\MOBILE\dispform.aspx). In order ...
1
vote
0answers
15 views

GroupString and IsGroupRender in displayform URL

We have migrated MOSS 2007 sites to SP 2010 using db attach detach. As part of that we have deployed the custom solutions wsp on the SP 2010 site. I tried to open the display form of a list, when the ...
1
vote
0answers
75 views

Custom Calendar Display Form Not Showing Recurrence Data Correctly

Can someone please help and provide the details I need to be able to display the Recurrence Data correctly on a custom Display form (dispformcustom.aspx)? The default dispform.aspx shows the ...
1
vote
1answer
52 views

Hide Ribbon Row Overriding Web Part

I have the following lines (using javascript) in my default display form associated with a document library. It works fine, but when I go to add another web part to that display form, it overrides it ...
1
vote
0answers
40 views

Connecting DataView webpart to Listview webpart

For a customer I have to display related data on a CustomDispForm.aspx page. So I started to add a Listview webpart tot the page showing content from the list with the related data. But when I tried ...
1
vote
0answers
50 views

Change href on Title in list view to go to specific custom Display Form

I am working with a Calendar with Recurring Events. I want to have two different display forms for different audiences. I can not create new/modify/customize the Display forms since that breaks the ...
1
vote
0answers
64 views

Secondary lookup columns missing in Display/Edit form view

I have one list that has a lookup column for 4 different lists. Each lookup column also brings in a secondary lookup column which is a Calculated Column. I can bring both the lookup column and the ...
1
vote
1answer
258 views

Version history(display form) shows only the latest version data

I've a custom list with version history enabled in SharePoint 2010. When I open the version history data,all the versions shows only the latest version data. Actually when I click on "Version ...
1
vote
1answer
52 views

Custom DisplayForm not linking to the Custom Content Type's Display Form

I have a Content Type that has been stapled with a feature to SPSERS#2 and BLOG#0. The linkage does not work when i staple the feature to the BlogSiteTemplate. When i checked the content type in ...
1
vote
1answer
111 views

How to get Social Comments Count in a custom PageLayout displayForm

I have a SocialCommentControl in my PageLayout. In my pageload there is a method to get the counts. protected void Page_Load(object sender, EventArgs e) { GetSocialCommentCount(); } ...
1
vote
1answer
265 views

How to get the List item Id in javascript while in the display form

Is there is a way to retrieve the List Item Id (ID) that you are currently viewing (Display.aspx from) in javascript. I have searched through ctx and the _spPageContextInfo but have not found any ...
1
vote
1answer
310 views

Enabling Edit Tab Ribbon Controls for List New/Edit forms in SharePoint 2010

<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ ...
1
vote
1answer
56 views

Create New Form Issue

I created new custom list. I want to add a new form to the list. I'm clicking new, and I'm selecting properties then OK. But I'm getting the follow error. Why get I this error? I tried to create new ...
1
vote
1answer
115 views

Adding several ListFieldIterators in one Page does not work as expected

I tried to display several ListItems, each with a ListFieldIterator, but all the LFIs display the same Item (the first one assigned). Is there a way to have each Iterator Display the Item it got ...
1
vote
1answer
436 views

Custom List Display Form doesn't apply to all users

I created a custom Display Form but only system admin can see this change. I set the disp form as default disp form and checked in. What else should I do? Thank you.