- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2023 12:42 AM
Hello guys I am trying to download the pdf format but unknowingly I get this error as Uncaught ReferenceError:
did anyone face this issue while working on UI pages?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2023 04:23 AM
HI @sadiq ,
I tried this code as is and it is working fine for me, no issue with code in my PDI. Please try this once in your PDI, if it is working in PDI, may be your organization instance is blocking some external scripts.
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2023 01:32 AM
Hi @sadiq
In the UI Page have you defined the function downloadIncident() in client script, as per the error message there is no such function available.
Please let me know if you need more help!
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2023 02:22 AM - edited 09-21-2023 02:28 AM
<?xml version="1.0" encoding="utf-8" ?>
this is the client script:
this is the script include :
Could you please help. I dont understand why I am getting the error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2023 04:23 AM
HI @sadiq ,
I tried this code as is and it is working fine for me, no issue with code in my PDI. Please try this once in your PDI, if it is working in PDI, may be your organization instance is blocking some external scripts.
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2023 06:41 AM - edited 09-21-2023 06:41 AM
Hey anveshkumar M thank you so much for this! will definitely try in a different browser or different instance! thank you once again!