+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Last_Modified_By empty in pageNode / pageData

Last_Modified_By empty in pageNode / pageData

4 posts, 1 answered
  1. Richard
    Richard avatar
    103 posts
    Registered:
    04 Apr 2013
    28 Aug 2014
    Link to this post

    Sf 6.3.5000 

    I'm attempting to update some old 3.7 code. The last modified field used to provide a date and a username. It's nice that this is a Guid I suppose, but for some reason I have empty guids in all the page data. I'm also checking the table sf_page_data -> last_modified_by but this is empty for every row... yet the date is updated. Is this correct? 

    If so, what is the best method to get the last_modified_by info through the API? 

  2. Richard
    Richard avatar
    103 posts
    Registered:
    04 Apr 2013
    28 Aug 2014 in reply to Richard
    Link to this post

    var vm = new VersionManager();
    var versionList = vm.GetItemVersionHistory(new Guid("C771A6C3-E334-6E0D-8112-F00008FDA96"));

    works,... but it would be nice not to have to load this separately... or to some how have it combined in the page data..... columns there but it's all empty.... I'm trying to avoid making more calls then necessary. 


  3. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    Registered:
    07 Dec 2016
    02 Sep 2014
    Link to this post
    Hello Richard,

    The 'last modified by' field is not filled by default and is exposed for future or custom implementation.

    The solution proposed by you is ok for version 6.3. Last modified user functionality is available out-of-the-box in version 7.1 by newly implemented Audit Trail logs.

    Regards,
    Svetoslav Manchev
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
    Answered
  4. Richard
    Richard avatar
    103 posts
    Registered:
    04 Apr 2013
    27 Sep 2014 in reply to Svetoslav Manchev
    Link to this post

    Good to know. I'll follow up once I'm ready to take that step. Can't wait!

4 posts, 1 answered