locked
Guid type field always has null value RRS feed

  • Question

  • Hi,

    I have a custom page library with Guid type field Vacancy_UniqueIdent in my SP2013 portal. ItemAdded event receiver set value to this field by InternalName. But when I try to get value from this field by Update receiver I get always null value although in DispForm it has normal guid value. But by powershell I can get value of this field.

    Is it specific behaviour of Guid type field or I made somewhere mistakes in receivers? 


    • Edited by Ivan.T Friday, August 4, 2017 5:21 PM
    Friday, August 4, 2017 2:32 PM

Answers

  • I tested this situation a lot of and at lastconcluded: elevated privilegies is need to access Guid Type SharePoint field. May bet that's why this field is not dispay in DispForm.
    • Marked as answer by Ivan.T Wednesday, August 9, 2017 11:45 AM
    Wednesday, August 9, 2017 11:45 AM

All replies

  • Hi,

    Is the guid type field Vacancy_UniqueIdent a custom field or a SharePoint built-in field?
    If possible, could you provide screenshots of two event receivers (ItemAdded and Update), or how they works otherwise?

    Best Regards,
    John Han


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Tuesday, August 8, 2017 10:28 AM
  • I tested this situation a lot of and at lastconcluded: elevated privilegies is need to access Guid Type SharePoint field. May bet that's why this field is not dispay in DispForm.
    • Marked as answer by Ivan.T Wednesday, August 9, 2017 11:45 AM
    Wednesday, August 9, 2017 11:45 AM