More in this section
Forums / Developing with Sitefinity / How to update related data programmatically

How to update related data programmatically

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
1 posts, 0 answered
  1. Alan
    Alan avatar
    2 posts
    Registered:
    18 Nov 2014
    31 Aug 2015
    Link to this post

    Hi guys,

    I've problem in updating related data field programmatically?
    Anybody faced the same problem before?
    I was able to create and delete relation by using CreateRelation() and DeleteRelation() methods but no luck in editing.
    There are 2 content types Eg: content type A and content type B.
    content A has related data field which reference content type B.
    What I'm trying to achieve is to change the relation in dynamic item in our customized Edit page.

    Would be really appreciate for any help.

    Thank you.

1 posts, 0 answered