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

Forums / Developing with Sitefinity / How to store Related Item Data

How to store Related Item Data

3 posts, 0 answered
  1. Aseven7
    Aseven7 avatar
    15 posts
    Registered:
    16 Mar 2014
    05 Aug 2014
    Link to this post

    Hi, may anyone have some issue like this. I need help how to store related item data on dynamic content particular related item.

    i try use function 

     

    myDynamicModuleVariable.Organizer.DataItem.CreateRelation(MyGuid, String.Empty, "Telerik.Sitefinity.DynamicTypes.Model.MyContentRelatedSample", "FieldName");

     

    it works and data appear on dynamic content sitefinity administration, but can't delete or editable also cant retrieve data when i binding to DataGrid. Is something missing or error with my way to store related items value ?

  2. Ivan D. Dimitrov
    Ivan D. Dimitrov avatar
    310 posts
    Registered:
    26 Mar 2015
    08 Aug 2014
    Link to this post
    Hello Antony,

    The proper way of adding a related data field to your module is presented in our Documentation. For further reference, please refer to the full RelatedData API.

    Regards,
    Ivan D. Dimitrov
    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
     
  3. Aseven7
    Aseven7 avatar
    15 posts
    Registered:
    16 Mar 2014
    08 Aug 2014 in reply to Ivan D. Dimitrov
    Link to this post

    Hi ivan thank you for your reply..

     

    i'm already solved issue.. My mistake retrieve related content using status "live" thats why the content not synchronize although stored. it must be using status "master" to retrieve content.

3 posts, 0 answered