Skip to main content

Notifications

Power Pages - General Discussions
Suggested answer

Hide/show page link on power pages main page depending on user (contact) web role

(0) ShareShare
ReportReport
Posted on by 20
Hi, 
 
I am trying to show hide webpage link on main page depending on user (contact) web role but its now working. 
 
I have Home Page, Page 1 & Page 2. Ideally if set users is member of set of web roles they should only see Home Page & Page 1 and users member of other web roles they should only see Home Page & Page2.
 
what I have changes the following code on Header.html, [2} is order of my page link in Web Link Sets. 
 
 
 
 
 
Categories:
  • Suggested answer
    Rupinder Profile Picture
    Rupinder 20 on at
    Hide/show page link on power pages main page depending on user (contact) web role
    Hi @Ajlan
     
    I have already tried the following steps. It does not hide the link but display the message "you dont have the appropriate permissions." as show below
     
     
  • Suggested answer
    Ajlan Profile Picture
    Ajlan 66 on at
    Hide/show page link on power pages main page depending on user (contact) web role
    Hello,

    You can Hide/Show Link using Page Permission. Just add the web role under page permission to whom you want the page to be displayed.


    Cheers

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

End of Year Newsletter…

End of Year Community Newsletter…

Tuesday Tip #12 Start your Super User…

Welcome to a brand new series, Tuesday Tips…

Tuesday Tip #11 New Opportunities…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 144,504

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,367

Leaderboard

Featured topics