Skip to main content
9 events
when toggle format what by license comment
S Dec 6, 2016 at 14:29 history suggested Nishant Singh Panwar CC BY-SA 3.0
Final solution added in blockQuote
Dec 6, 2016 at 14:27 review Suggested edits
S Dec 6, 2016 at 14:29
Dec 6, 2016 at 14:23 vote accept Nishant Singh Panwar
Dec 6, 2016 at 14:23 comment added Nishant Singh Panwar Thank You for the great information @umithuckan. Also I added a custom VF page for event adding the detail component and found that the buttons doesn't appear without adding any JS, must be due to the fact that these buttons are specially added by salesforce and are not present with apex:detail
Dec 6, 2016 at 14:04 comment added umithuckan To enable clickjack protection for Visualforce pages that suppress the standard header, select Enable clickjack protection for customer Visualforce pages with headers disabled under Setup | Security Controls | Session Settings. But you will see that checkbox as disabled.You need to open a case to salesforce to be able to enable that. releasenotes.docs.salesforce.com/en-us/summer15/release-notes/…
Dec 6, 2016 at 13:49 comment added Nishant Singh Panwar Is there a way to enable clickjack or any other way to run this JS automatically when page loads.
Dec 6, 2016 at 13:29 comment added umithuckan Salesforce does not allow you to reach parent page from iframe for security reasons since your clickJack setting not enabled for your organization. I think, it's not possible to do it automatically from inline vf page w/o clickjack enabled.
Dec 6, 2016 at 13:16 comment added Nishant Singh Panwar With this you want me to override the standard page but I'm looking for an option where I insert an "Inline VF Page". This inline VF page contains the JS code which should load when the page loads and eventually hiding the buttons. No user interaction.
Dec 6, 2016 at 12:23 history answered umithuckan CC BY-SA 3.0