-
-
Save LMG23/83b1df77ba8ccacf6d2d2ec7e5f39381 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page> | |
<script> | |
<!-- Reference a Salesforce User Preferences field to dynamically show/hide the survey widget -> if ({!$User.Disable_Embedded_Surveys__c} == false) { document.head.removeChild(document.getElementById('gf-embed-id')); | |
} | |
</script> | |
</apex:page> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment