Display the tree list of CRM pages in a custom view?



I'm currently implementing a new block with a view. I would like to display the list of pages in the CRM on that new view so the user would be able to select some of these page for further processing.

Even better, if I could have a tree list of these crm pages and be able to drag and drop them into another object. To build a list of pages that needs to be processed.

Suggestions, tips?


Jun 20, 2019 5:05

Hi shinavn

Here is a link to related forum thread.


See if that helps you. Drag and drop would not be possible with this but for multiselect you can try IList<ContentReference>.

Let me know if you need more info or help for that.

Thanks, and Regards


Jun 20, 2019 9:42


First, I just need to ask: what do you mean by "further processing"?

Depending on what you're ultimately trying to achieve, you probably want to use a ContentArea or (as Praful suggested) an IList<ContentReference>. These can both be restricted to only accept pages using the AllowedTypes attribute (see the documentation). In code, it'd look something like:

public virtual ContentArea PageContentArea { get; set; }

Editors can then drag and drop pages from the page tree in the navigation pane into this content area.

I'd definitely avoid building a custom property for this use case, especially as it sounds like out-of-the-box functionality could potentially cover your requirements.

Edited, Jun 20, 2019 15:32
* 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.