Show terms and conditions in Dynamics 365 Portals/ PowerApps portals

Follow my blog for more interesting topics on Dynamics 365, Portals and Power Platform. For training and consulting, write to us at info@xrmforyou.com
With the new version of Dynamics 365 Portals, it is now possible to enable General Data Protection Regulations (GDPR) in portals.
You can throw up company terms and conditions page when a user is authenticated to the portal. Let’s follow the below steps
To start with Navigate to Portals –>  Content Snippets
Check for the below content snippets. If its already there, don’t create. Duplicate records may lead to improper functioning.


Snippet 1:  Account/Signin/TermsAndConditionsHeading
This is the header of your terms and conditions page. I Set the value – “Custom Terms and Conditions”.
image
Snippet 2: Account/Signin/TermsAndConditionsCopy
This is the body of your terms and conditions  and you can place your HTML stuff in here.
image
Snippet 3: Account/Signin/TermsAndConditionsAgreementText
This is the text which is usually displayed beside the checkbox in the terms and condition page, usually at the bottom of the page.
image


Snippet 4: Account/Signin/TermsAndConditionsButtonText
The text of the button in the terms and conditions page.
image
Now we are done with four basic settings. However just putting in these settings won’t enable the terms and conditions for your portal. There is another site setting that you need to create if not already created.
Go to Portals –> Site Settings and create the below setting. In most of the cases it will be there already and you may just need to switch the flag from false to true. Don’t create duplicate settings
Authentication/Registration/TermsAgreementEnabled. It is a Boolean flag which indicates whether terms and conditions are enabled for your portal. Set it a value of true.
There is another site setting that you need to lookout for. Authentication/Registration/TermsPublicationDate. It’s a date value which determines from which date is the terms and conditions applicable. If any user who has logged in to the portal and he/ she has not accepted the terms and conditions after the date specified, the user would be asked to Agree the moment they sign in.
image
To identify when a contact has accepted the terms and conditions, there is a field in contact which captures this value. It’s called Portal Terms Agreement Date.
image
Hope this helps! Happy CRMing.
Debajit Dutta
(Dynamics MVP)
For training/ consulting/ utilities – please visit our website – www.xrmforyou.com or write to us at info@xrmforyou.com


Discover more from Debajit's Power Apps & Dynamics 365 Blog

Subscribe to get the latest posts sent to your email.

4 thoughts on “Show terms and conditions in Dynamics 365 Portals/ PowerApps portals”

  1. Hi there, Does all these setting work for you when enabled for ESS portal? as these are not working as expected. Do I need to put these content snippet in any of the page template. wondering how these content snippet will be rendered on portal? Appreciate your response. Thanks!

    1. Hi Shweta, Not sure about ESS portal but it should work I guess. I can spin up a trial of ESS and check and let you know. The snippets mentioned and the site settings mentioned here are kind of pre-determined and the framework checks for these snippets to show GDPR.

  2. I’ve followed the instrustions above and they work a treat, however I keep getting prompted for the terms every time I sign into the proral. Any ideas?

    1. Hi Eamonn
      Thanks for reading my blog. Could you check whether Portal Terms Agreement date of the contact is getting populated?
      Best Regards
      Debajit

Comments are closed.

Discover more from Debajit's Power Apps & Dynamics 365 Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading