Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Answered

Hide knowledge categories in KB portal

Posted on by 55

Hi all,

Does anyone know of a way to hide knowledge categories in the Customer Self Service Portal? 

We would like to organize our KAs by category but some of the KAs and their associated categories are internal and do not need to be displayed in the Power Apps Portal.  The categories in yellow below need to be hidden.  

pastedimage1631303045296v1.png

Thanks in advance!

  • Nami1 Profile Picture
    Nami1 135 on at
    RE: Hide knowledge categories in KB portal

    how to hide categories based on web roles

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Hide knowledge categories in KB portal

    Hi CraigK,

    You can add other liquid filter to OOB categories object, and except filter meet the needs of your scenario

    categories object:

    https://docs.microsoft.com/en-us/powerapps/maker/portals/liquid/liquid-objects#categories-object 

    Array Filter--Except:

    Select all the objects in an array where a given attribute does not have a given value. (This is the inverse ofwhere.)

    https://docs.microsoft.com/en-us/powerapps/maker/portals/liquid/liquid-filters#except 

    Test:

    Go portal Management >  Web Template > Knowledge Base - Home to add followingcode:

    | except: 'title', 'Travel' | except: 'title', 'Support'

    pastedimage1631516986842v1.png

    Result:

    pastedimage1631517116886v2.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans