I have 2 dynamic modules that I created in Sitefinity 7 using the dynamic module builder- movies and actors. These dynamic types are related through module builders "RelatedData" field.
A "Movie (Dynamic Type)" has a "Related Data" field to the "Actors (Dynamic Type)". I also have a number of other related data types for a movie.
I am building an MVC widget that needs to display the related "Actor (Dynamic Type)" actors for the specified "Movie" page that the user is on.
How can I retrieve the related "Actors" for the movie? I would like to do this programatically with c# code. I am not familiar with how to use the "RelatedDataService" via the REST services.
A code sample would be helpful. I've already read www.sitefinity.com/documentationarticles/related-data-field.