Skip to main content
Nintex Community Menu Bar
Question

Skuid button opens popup window

  • July 11, 2024
  • 2 replies
  • 38 views

Forum|alt.badge.img+7

In regular HTML and Javascript I can get a button to pop up a window and redirect to a page.

We’v updated our Account page in skuid, but I want to view the Salesforce Classic page by clicking a button that would popup a window or go to a new page using this syntax:

https://domain.my.salesforce.com/{{{$Model.Account.data.0.Id}}}?nooverride=1&sfdc.override=1 

What is the js syntax for my button in skuid that would popup my Salesfoce Classic account page?

Here’s a code pen showing the button function in standard HTML code:

https://codepen.io/nickfs000/pen/QQXapY

The js script used was:

<script> function myFunction() { window.open("https://www.skuid.com"); } </script>

I’m guessing I would replace .“https://www.skuid.com”; with this code?

https://domain.my.salesforce.com/{{{$Model.Account.data.0.Id}}}?nooveride=1 

Thank you!

2 replies

Forum|alt.badge.img+17

Forum|alt.badge.img+7
  • Author
  • July 11, 2024

I was able to create the JS popup button with a regular URL as shown, but how do I go about rendering the Salesforce Classic page that I’m trying to view via the popup button? Thanks!