Is there any way we can sort the displayed categories on Knowledge base home alphabetically?
Current Code to display categories:
Is there any way we can sort the displayed categories on Knowledge base home alphabetically?
Current Code to display categories:
Hi Partner,
Has the problem been solved? Any updates?
Please click Yes under "Did this answer your question?" to close this thread.
Thanks.
Hi Pratiksha,
You can use order_by liquid filter:
Returns the elements of an array ordered by a given attribute of the elements of the array.
Optionally, you can provide desc as a second parameter to sort the elements in descending order, rather than ascending.
https://docs.microsoft.com/en-us/powerapps/maker/portals/liquid/liquid-filters#order_by
Go portal Management > Web Template > Knowledge Base - Home to add following code:
Test Result:
André Arnaud de Cal... 291,431 Super User 2024 Season 2
Martin Dráb 230,503 Most Valuable Professional
nmaenpaa 101,156