function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
msimondsmsimonds 

NDA in Salesforce

Is there a way to create a NDA in Salesforce that would require a user to check the box stating that they read the NDA agreement and if they did not, log them out.

 

If they do click the checkbox, then set a custom field on the user table that shows that they already read or checked it?  

 

I doubt it, but wanted to find out if anyone has done something similiar

 

 

Thanks,

 

~Mike 

shillyershillyer

You could create a visualforce page that displays your NDA and requires a checkbox to continue. You can then tie this VF page to a VF tab and make that tab the default landing page. When the user logs in, they'll see that page first. If they don't check the checkbox, you can force a logout.

 

Hope that helps,

Sati

msimondsmsimonds
Thanks for quick reply Shillyer, i appreciate it!!
 Are there any tutorials on how this could be done?  specially the Forced Logout?? 
 I am not new to the platform, but I am new to VF pages, I have only messed around with them
 
Thanks,
 
~Mike 
 
shillyershillyer

Not sure if there's tutorials, but to force the logout, just redirect to this URL:

 

https://XXX.salesforce.com/secur/logout.jsp

 

Where XXX = your instance (NA1, NA2, etc.).

 

Best,

Sati

 

msimondsmsimonds
Thanks Sati, much appreciated