How to store Related Item Data
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 ?
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
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.