Is there a shared content block selector?

Posted by Community Admin on 05-Aug-2018 20:30

Is there a shared content block selector?

All Replies

Posted by Community Admin on 20-Jan-2017 00:00

We are designing widgets and we wish to allow users to select shared content blocks in our designers. Imagine a use case where one content block appears in may widgets. When that content block is changed, the change automatically is reflected in the widgets because in the designer a content editor has selected this block.

We have found this list of selectors. However after going through that list and looking at the provided selectors in the client components, I cannot find a way to allow the user to select shared content blocks from designers. Surely there is a way without us deep diving into writing our own directive.

And if not supported, why? And what is the alternative. 

Thank you

Posted by Community Admin on 22-Jan-2017 00:00

Hi Mikyle,

There is a way how to do that. Here you can see the example, how it's working for built-in "content block" widget https://github.com/Sitefinity/feather-widgets/blob/c4972d97b0b47d2cb2315ef2de120815e24e252d/Telerik.Sitefinity.Frontend.ContentBlock/Mvc/Views/ContentBlock/DesignerView.UseShared.cshtml

Please, let me know, if you still have anyquestions

Posted by Community Admin on 24-Jan-2017 00:00

Hey Victor,

Thanks for the reply.  We might be able to use this source code in our widgets.

It seems as though the code is written, but just not placed in a directive. Does anyone from Progress know if having a shared content block selector is on the road map for a future feather release? Seems like it would be useful.

This thread is closed