- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2016 07:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2016 09:34 PM
Hi
while pointing user to external URL page from UI Action client script this will be helpful to redirect.
location.href = ("external page URL");
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2016 09:17 AM
Thank you Mayur,
This has worked perfectly fro me.
My requirement was to redirect to an external URL in a new tab via a UI Action. The URL was being stored within a field on the form.
For others trying to replicate this functionality please see the below:
Client (tick box): true
Onclick: clicked()
Script:
//function must include the value added to the Onclick field as above
function clicked(){
//grab the value of the field containing the url
// ***Note*** current. syntax will not work with Client (tick box) = true
var uplink = g_form.getValue('u_upload_link');
//set the redirect to the variable above
window.open(uplink);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2016 11:01 PM
Hi Manoj,
Can you provide screenshot of the UI action you have written ?
Thanks,
Mihir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2016 11:20 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2016 11:27 PM
Hi Manoj,
Window is blocked for scoped application. Please go through the below blog for more info.
Scoped Applications and Client Scripts: A Primer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2016 11:34 PM
Hi Manoj,
Instead of writing window.open(URL);
use
window.location=URL;
Please mark correct/Helpful if it helps.
Thanks,
Mihir