Document Viewer not working for target instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-03-2022 07:40 PM
Hi
If i sending attachment from source instance to target instance via REST API , then in source instance document viewer are working fine means i am able to view png/jpg/pdf/ppt all without downloading it.
But in target instance if i click on view then
1)for pdf =>it is downloading then i can view but requirement is without downloading it should be view
2) for txt file it is working good
3)for png/jpg after download attachment i can able to view accurate png file but if click on view then it is showing like this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-03-2022 08:05 PM
Hi
Make sure plugin "ServiceNow Document Viewer" is activated. Unfortunately it is not available to admins, so you would need to ask ServiceNow to activate it for you.
Check this thread: https://community.servicenow.com/community?id=community_question&sys_id=39abbcb11bb23c90aefc11751a4bcbb4
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-03-2022 11:03 PM
no no its working fine if i attach anything but if receive any attachment from source instance using rest api then it is showing like this
but if i download that attachment and open then accurate file is opening
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-03-2022 11:18 PM
Hi
my assumption is that some attachment data was not correctly transferred to the target instance.
Could you please use a diff tool and compare the original file with the file that has arrived at the target instance?
Kind regards
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-07-2022 03:43 AM
Hi Maik
can we just view the attached document in the form itself without clicking on view
is there any way to achieve this functionality using any kind of script or any other way.
Thanks