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
Sunil_SFSunil_SF 

How to avoid ?isdtp=p1 parameter getting appended to an URL in LEX

Hi there !

I have created a custom button of content source = URL which is poining an URL say http://www.google.com/#q=(!Account.name)

I have added this URL button to the layout at the Salesforce1 and Lightning Experience Actions, but when I click the button , ?isdtp=p1 is appended to the URL hence making my internal resource not accessible..e.g https://www.google.com/?isdtp=p1#q=Account Name

Is there a way to by avoid these parameters ? any workaround to make this work ?

Hoping the custom URL buttons is supported by the Salesforce Lightning Experience per Spring '16
http://docs.releasenotes.salesforce.com/en-us/spring16/release-notes/rn_forcecom_general_url_button_support_lex.htm

Thanks
Amit Chaudhary 8Amit Chaudhary 8
Try below URL
https://www.google.com/#q=Account Name&isdtp=p1
Sunil_SFSunil_SF
Hi Amit,

It works for common links like google, but when I try to point a oracle app URl (Which is long) this parameter seems to break the URL.

Note : This Oracle app URL works fine with Salesforce classic  but LEX seem to add this parameter which sort of creates an issue

Thanks !
juysolutionsjuysolutions
This is probably too late now but I have just encountered the same issue. I've fixed this by executing the Javascript method window.open() instead of using a URL. Example:
window.open('/' + objId);