- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-26-2022 06:56 AM
I want to create List view UI action where the user can download a specific Excel File.
I'm trying to create a function but it seems to be not working or giving any response when the button is clicked.
The same ui action if I've not checked on client and without a function is working but I have to select a record which I don't want.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2022 05:05 AM - edited ‎11-01-2022 05:06 AM
Then use below script in UI Action.
onClick = confirmDownload()
function confirmDownload() {
var URL = '<Link_Of_Attachment>';
var down = confirm('Do you want to download the file?');
alert(down);
if (down) {
g_navigation.openPopup(URL);
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-28-2022 01:21 AM
Just to be clear. I'm trying to download an Attachment with the Attachment Link from this UI action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2022 05:05 AM - edited ‎11-01-2022 05:06 AM
Then use below script in UI Action.
onClick = confirmDownload()
function confirmDownload() {
var URL = '<Link_Of_Attachment>';
var down = confirm('Do you want to download the file?');
alert(down);
if (down) {
g_navigation.openPopup(URL);
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2022 11:10 PM
Hi @Muhammad Khan Thanks a lot for helping me out