episerver / episerver-labs-content-manager-docs

Documentation for EPiServer.Labs.ContentManager
1 stars 0 forks source link

Documentation should be updated #18

Closed tomahg closed 3 years ago

tomahg commented 3 years ago

Generic type can't be used without type parameter image

image

barteksekula commented 3 years ago

@tomahg Can you try SearchContentViewContentData.ViewKey?

barteksekula commented 3 years ago

btw. you should not have to set that DefaultView yourself. if you want to replace the default UIDescriptor for content folders you should just register this UIDescriptor in the container like this:

[UIDescriptorRegistration]
[ServiceConfiguration(typeof(ContentFolderUIDescriptor))]
public class ContentFolderUIEditorDescriptor : ContentFolderUIDescriptor
{ ...  }
tomahg commented 3 years ago

@tomahg Can you try SearchContentViewContentData.ViewKey? Thanks, it worked!

Could you update here? image

btw. you should not have to set that DefaultView yourself. if you want to replace the default UIDescriptor for content folders you should just register this UIDescriptor in the container like this: I would like to set DefaultView for list pages. Then I need to set DefaultView, right?

Ideally I would like to set DefaultView = GridView for list pages that are converted to container pages only. List pages that are not converted to container pages, should have default behavior for DefaultView. Is that possible?

Thanks :-)

barteksekula commented 3 years ago

Updated the docs about defaul view & content folders. https://github.com/episerver/episerver-labs-content-manager-docs/commit/9f6fb596fe8d4869194d511ef2f993ee894c3a33