cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Radoslavov
Skilled Sharer
Skilled Sharer

Categories Tree View

Hi everyone,

 

In Power Apps Portal we have a Customer Self-service portal.

We have a Knowledge Base section that displays Categories and Sub Categories that we've set in Dynamics CRM.

The problem is that for some categories we have too many sub-categories or even sub-sub-categories.

The current way of displaying is not very convenient for our customers, so I was wondering if there is a way that we can set the structure to tree views.

 

This how it looks like now:

current.PNG

And this is how the categories look like in CRM

crm.PNG

And this is how we would like to configure it to display the categories

treeview.png

Every ideal is highly appriciated and welcomed

 

Regards

Kiril

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Radoslavov,

To create a tree view of categories you will need to use liquid object for categories (check official docs here - https://docs.microsoft.com/en-us/powerapps/maker/portals/liquid/liquid-objects#categories-object) and either create tree view behavior yourself (https://www.w3schools.com/howto/howto_js_treeview.asp) or use some third party library like this (https://www.jstree.com/).

----------------------------------------------------
If you find this post helpful consider marking it as a solution to help others find it.

View solution in original post

4 REPLIES 4

Hi @Radoslavov,

To create a tree view of categories you will need to use liquid object for categories (check official docs here - https://docs.microsoft.com/en-us/powerapps/maker/portals/liquid/liquid-objects#categories-object) and either create tree view behavior yourself (https://www.w3schools.com/howto/howto_js_treeview.asp) or use some third party library like this (https://www.jstree.com/).

----------------------------------------------------
If you find this post helpful consider marking it as a solution to help others find it.

Hi, @OOlashyn  thanks for the provide information, this sounds exactly what I'm looking for, with a little help from our web site dev team, will achieve the end goal.

 

Thanks again,

 

regard

Kiril

jgomezacicatech
Frequent Visitor

Hi @Radoslavov ,

Did you get any progress? I am interested in this matter, I would like to develop a page in the portal where you can open the details of a record of a table. That table instead of showing a view of its list, I want it to appear in a tree hierarchy as you showed in your query and once you click on the appropriate branch, the record opens on the same page.

 

Regard,

Jorge

Radoslavov
Skilled Sharer
Skilled Sharer

Hi @jgomezacicatech ,

 

nope, we shut down the project due to convid crysis.

Once i have anything i will share it here as a solution or posted in my community blog. Feel free to reach me if you have any solution in the meantime.

 

regards

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Top Solution Authors
Users online (1,785)