Alpesh
Alpesh

Reputation: 656

Sitefinity 7.0 multisite dynamic module related media (Image) not working for second site

I have converted a single site to a multisite in Sitefinity 7.0.

I have got a dynamic module with a related media (image) field called "Thumbnail."

I have selected images for the Thumbnail field in the content for both of the sites, but I am getting the image only on the original site (i.e. only on Site A and not on Site B).

I am using obj.GetValue<Image>("Thumbnail") to get the value from the dynamic object.

I am getting null for Site B.

enter image description here

I am having the same issue for the SmallThumbnail field as well.

How can I solve this problem?

Upvotes: 0

Views: 188

Answers (1)

Veselin Vasilev
Veselin Vasilev

Reputation: 3793

You should use the GetRelatedItems extension method for any related data/media.

Also, you've probably hit this RELATED MEDIA FIELD NOT SHARED IN MULTISITE

Upvotes: 0

Related Questions