0

I'm working on SharePoint 2016 OnPremises. I created a view which renders the columns titles, as the _layouts/15/ViewEdit.aspx does.

The result:
enter image description here


The original rendering is slightly different:
enter image description here


Where do the discriptions (linked to item with edit menu), (linked to item) and (link to edit item) come from? I debugged the SPField items but was not able to find any reference.

  • Workaround: all 3 titles has different static/internal name, you can provide mapping accordingly in your script. – Anil Pal Jul 31 '18 at 9:42
  • Thanks, I already thought about it but I'd like to know if there is a 'clean' way, since I need it multilanguage. – Emaborsa Jul 31 '18 at 9:46
  • are you using JSOM or CSOM? – Anil Pal Jul 31 '18 at 10:15
  • I',m using Server Api. As you suggested, I found the AuthoringInfo property in the SPField object. – Emaborsa Jul 31 '18 at 11:43
1

If you fetch SchemaXML for field collection or field,

there is attribute called as AuthoringInfo holds descriptions (linked to item with edit menu), (linked to item) and (link to edit item).

Refer below image for detail: enter image description here

enter image description here enter image description here enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.