How to display attachments in Announcements on Service Portal?

sweetymiriyala
Giga Contributor

Hi All,

Is there any way to display attachments on announcements which are displayed on Service Portal Banner. I am attaching an attachment in Announcement record and I wanna show the same attachment on Announcement in Service Portal. Is there any way to do so?

Thanks in Advance,

Sweety

1 ACCEPTED SOLUTION

Sateesh Kumar 2
Kilo Guru

Sure you can use attachment directly, using document viewer.

Make sure whether document viewer plugin is activated before trying this.

Use the below as URL instead of the earlier url that I usggested in the screenshot.

/sys_attachment.do?view=true&sys_id=d4b349392fc7401046b6e93df699b65e

Note: Sys_id here is the sys_id of the attachment not announcement.

It allows only few attachment type to view online unsupported file type.

Find more details about document viewer in below link

https://docs.servicenow.com/bundle/newyork-platform-user-interface/page/use/using-forms/concept/Docu...

 

Regards,

Sateesh Kumar Devadoss

View solution in original post

8 REPLIES 8

Sateesh Kumar 2
Kilo Guru

Hello,

I would suggest to create a KB article for the attachment (You can attach additional documents to KB) and give that link in announcement record under "Behavior" section as below picture.

find_real_file.png

Regards,

Sateesh Kumar Devadoss.

Thanks for Reply Sateesh, I have already suggested them this way by using Kb article URL. But they wanted to know if there is any possibility to display direct attachements in Announcement on Banner.

Sateesh Kumar 2
Kilo Guru

Sure you can use attachment directly, using document viewer.

Make sure whether document viewer plugin is activated before trying this.

Use the below as URL instead of the earlier url that I usggested in the screenshot.

/sys_attachment.do?view=true&sys_id=d4b349392fc7401046b6e93df699b65e

Note: Sys_id here is the sys_id of the attachment not announcement.

It allows only few attachment type to view online unsupported file type.

Find more details about document viewer in below link

https://docs.servicenow.com/bundle/newyork-platform-user-interface/page/use/using-forms/concept/Docu...

 

Regards,

Sateesh Kumar Devadoss

Sure Sateesh. I will give now work on my personal instance and will let you know. Thank you