- 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 07:01 AM
can you explain what have you done or which browser are you using?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2023 07:27 AM
@sadiq I Just created a UI Page and copied the HTML and Client Script as is, then created a Client callable Script Include and copied the code as is here too.
Opened the UI page and entered an Incident and clicked on download it downloaded a PDF.
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2023 07:32 AM
Yes it worked for me too. it looks like there is some problem with the UI action I created. Thanks for acknowledging!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2023 07:34 AM
@sadiq Can you please accept my answer as solution and mark it helpful 👍✔️
Anvesh