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
Suman KuchSuman Kuch 

Custom button to call another URL without window

Hi,

I have an intergration API url that passes record name, and I need to create a button which calls that integration URL. I created a button, but see the below but when I click that button the integration couldn't recieve the call. How do I make call from button which should not open a new window?
User-added image
RD@SFRD@SF
Hi Suman,

You can try using the window.open JS function. Please follow the link (https://www.w3schools.com/jsref/met_win_open.asp)to know more of syntax,using the _Parent attribute you can force the page to open in the current window.

Hope it helps
RD