Timeline for How can I execute JavaScript on a SFDC Standard Detail Page?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 16, 2012 at 6:48 | comment | added | metadaddy | Actually, Rajat's answer of using a sidebar component works a treat. | |
Aug 16, 2012 at 6:15 | comment | added | Phil Rymek | My apologies, while you are able to execute javascript in this manner I see now you can't manipulate the of the rest of the page. In this case I would perhaps suggest not including the "Notes & Attachments" related list and instead building an Attachments related list with visualforce. | |
Aug 16, 2012 at 5:46 | comment | added | jordan.baucke | I think you have to use a static resource file in order to avoid the anti-cross domain script loading security. | |
Aug 16, 2012 at 5:33 | comment | added | metadaddy |
Hmm - I just tried this out, but it fails with a JavaScript error: Unsafe JavaScript attempt to access frame with URL https://superpat-developer-edition.my.salesforce.com/0015000000VALDx from frame with URL https://superpat-developer-edition--superpat.na3.visual.force.com/servlet/servlet.Integration?lid=06650000000PWUi&ic=1. Domains, protocols and ports must match.
|
|
Aug 16, 2012 at 5:08 | history | answered | Phil Rymek | CC BY-SA 3.0 |