web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Customer Service forum

Portals - Enable/Disable User Access to Pages

(0) ShareShare
ReportReport
Posted on by 180

Hello Experts,

We are trying to build a feature where customers that are accessing the portals are restricted from doing any of their usual functions that they do in portal. Customers have to complete a survey once in every few months. Every time the customer login, there will be a check whether the particular portal user has completed the survey or not, if they have not then we should just show the survey page and restrict all other functionalities. Once they complete the survey, then enable all the functionalities back on to them. Have anyone built something like this? are they any recommendations?

Thanks in advance!

Categories:
I have the same question (0)
  • Verified answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    I have built something similar but that was related to password. So in my case, I have the field "Reset Password", if this field is set to yes then the user has to change the password before using any of the functionality. I achieved this by adding a global JavaScript which checks if that field is yes then redirect to Change Password page. With this, whenever user is clicking on any page, the global js works, checks the value and then redirects to change password.

    You can implement this in similar way.

    Hope this help.

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Customer Service

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans