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

Try our conversational search powered by Generative AI!

Navigate to block referenced by ContentReference property

Vote:
 

I have a property that references a global block and I would like to navigate to that block in the editor view. This is possible for blocks inside a content area, where you can click Edit in the dropdown. For some reason blocks referenced in ContentReference properties are not displayed in the same way as when they're referenced inside ContentAreas, which is really what I'd like. Does anyone have an idea of how to achieve this?

#171926
Nov 21, 2016 17:06
Vote:
 

Check out this blog post: https://gregwiechec.com/2015/07/content-selector-property-with-preview/

It will allow you to double click content reference properties in order to navigate to it

#171951
Edited, Nov 22, 2016 11:50
Vote:
 

@Per thanks for the link! Looks way better than the standard behaviour though I still would prefer it to look and behave exactly like blocks do in ContentAreas/Folders

#171963
Nov 22, 2016 15:25
Vote:
 

Yeah, it a nice improvement without too much custom code. Keep in mind that the custom functionality might break when upgrading episerver to later version though.

#171966
Nov 22, 2016 15:34
* 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.