How to add an attachment in a Annotation ?

Shwetha Shenoy
Tera Expert

I am given a use case to add an attachment (which is a sheet) in an annotation so that when the user clicks on the word given in the annotation (ex link) it should open the attachment.

 

Is it something to do with sys_properties.LIST table?

3 REPLIES 3

Peter Bodelier
Giga Sage

Hi @Shwetha Shenoy,

 

You will need to have some record to which the attachment can be added. I wouldn't use sys_properties for this.

 

After you added the attachment to the record, you first have to make sure that attachment is accessible for everyone who may see the announcement. So that will probably mean, you'll need to edit acl's for this.

 

Then last you can add a hyperlink in the announcement to the attachment.


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

Ankur Bawiskar
Tera Patron
Tera Patron

@Shwetha Shenoy 

As mentioned by Peter the file has to be present on some record since that's how attachments work within ServiceNow.

Why not use the OOB paper-clip icon and add the file to the record? Users having read access to the record can see the file as well using document viewer capability which is OOB

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Sandeep Rajput
Tera Patron
Tera Patron

@Shwetha Shenoy Are you referring to a variable annotation here?