Don't miss out Virtual Happy Hour today (April 26).

Try our conversational search powered by Generative AI!

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.