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

Try our conversational search powered by Generative AI!

Creating new blocks in a Content Area does not allow setting the Display Name

tss
tss
Vote:
 

Hi

Is there some way to tweak the creation dialog for blocks on Content Areas so that its possible to set the Name/Display Name while setting the required properties.

or configure the creation dialog to go to edit mode on the block after it has been created?

#81822
Feb 27, 2014 8:41
Vote:
 

Not quite aware that you are able to control block creation dialog window. But if you need to control which view should open for particular block type immediatelly after its creation you can use UIDescription feature.

 

    [ServiceConfiguration(typeof(IUIDescriptorInitializer))]
    public class ContainerPageUIDescriptorInitializer : IUIDescriptorInitializer
    {
        public void Initialize(UIDescriptorRegistry registry)
        {
            registry.Add(new UIDescriptor(typeof({PUT_YOUR_CONTENT_TYPE_HERE}))
                             {
                                     DefaultView = CmsViewNames.AllPropertiesView
                             });
        }
    }

    

#82239
Mar 08, 2014 18:53
* 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.