London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Can't get a reference to a Block

Vote:
 

Hi,

If you have the following setup on the Episerver CMS: Variation Content -> Content Area -> Block.

When you're trying to publish the Block (or even delete it) there's aparently no way Episerver to know if that Block is being referenced anywhere.

The following options were tested:
- Getting a SoftLink to that Block using the method Load from the IContentSoftLinkRepository.
- Getting the References to that Block using the method GetReferencesToContent from the IContentRepository.

Is this a bug or am I doing something wrong?

Thanks

#194467
Edited, Jun 21, 2018 17:55
Vote:
 

Bump.

Anyone can help me with this please?

#194543
Jun 25, 2018 10:40
Vote:
 

I guess that Variation Content is a commerce item? If so then you could try to ask the same question in the commerce forum.

#194556
Jun 25, 2018 13:31
Vote:
 

Will do, thanks.

#194561
Jun 25, 2018 15:05
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.