When building Power Pages, there is a simple method to clear portal cache / config data when something is changed but not synced in. As explained here, you can navigate to <website_path>/_services/about and click the two provided settings that look like this:
To see these buttons you need to sign in to the website with a user that is assigned the administrator webrole.
When deleting/editing Power Pages components, I experience sometimes, still having the Administrator webrole, that the buttons are gone like this:
So how to get them back?
Objects that influence visibility of these buttons
Go to Power Apps -> Your Env -> Apps -> All -> find Power Pages Management app -> click Play -> verify the following object:
Contacts
Select Contacts -> select your user -> select view Portal Contact (Enhanced) on top close to the caption with your user name -> scroll down and find section Web Roles -> make sure that the Administrator role is assigned.
Website Access Permissions
Select Website Access Permissions -> open Administrative permissions for Blank Template (provisioned by the portal) -> check that all 4 permissions are enabled in the Permissions section -> open Web Roles tab here -> make sure that Administrators are added.
Web Roles
Select Web Roles -> Administrators -> check that Authenticated Users Role is No and Anonymous Users Role is No
- If something is Yes, either of the user roles will have access to this page.
Objects that do not influence the buttons visibility
For the SPA, I prefer to clean-up and remove unnecessary objects, so these can be deleted/deactivated as they do not impact visibility of the Clear cache and Clear config buttons.
- Web Page Access Control Rules -> Grant Change to Administrators
 



 
    
Top comments (0)