Show ID on Display Form

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
User avatar
Adam Reyes
Posts: 35
Joined: Tue Mar 04, 2014

01 Dec 2014

I can't seem to find any posts related to showing the ID of a submitted item on the Display form. I use a simple Rich Text control for the form and display something like Ticket # [ID] but that doesn't seem to work as when I go to the display form it's just blank. Is there another internal name I should be using to reference the ID field?

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

02 Dec 2014

Hi Adam,

Please, place HTML-control onto your form, switch its CDATA property to False and put the following code into the Content property:

Code: Select all

<xsl:value-of select="@ID" />

User avatar
Adam Reyes
Posts: 35
Joined: Tue Mar 04, 2014

02 Dec 2014

That worked! Thanks so much!

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests