Attachment Screen Field for Mobile Agent

Narek
Kilo Contributor

Hello all,

 

I am trying to add an Attachments List using System Mobile -> Applets -> my_applet_name -> Details -> New. I set the Type of the Screen field to "Attachments list" and the Record Id Field to a field of type "Reference", that references to a record in sys_attachment table. And even though there are attachments for this record, in the app it says "No attachments" (seethe attachments).

However, I also have Screen Fields of type "Image", with their Form Field set to a field of type "Reference", again, referencing to a field in sys_attachment table. It works perfectly, showing the image(s).

By the way, I am using a server-side script to map my reference field to its corresponding sys_attachment record.

What is the correct way to use Attachment List Screen fields? 

 

Any help would be greatly appreciated. 

Thanks in advance!

1 ACCEPTED SOLUTION

David Ha
ServiceNow Employee
ServiceNow Employee

Hi Narek,

 

Did you follow the steps here on how to configure attachment lists on mobile in New York?


https://developer.servicenow.com/app.do#!/event/devdays19/NY_MOBILE_LAB_DEMODAYS/lab_NY_MOBILE_LAB_D...

 

Best,

David

View solution in original post

7 REPLIES 7

Aniket15
ServiceNow Employee
ServiceNow Employee

Hi Narek,

 

Have you selected the Show attachment list check box on the Form Screen tab of your applet? you can verify this and refer to this link for more help , 

 

https://docs.servicenow.com/bundle/orlando-mobile/page/administer/tablet-mobile-ui/concept/sg-mobile...

 

Thanks

Aniket

Narek
Kilo Contributor

Hi Aniket,

 

Thanks for your quick response!

 

I just checked the Form Screen -> Body -> Details, but there is no "Show Attachment List" checkbox. 

 

Here is a screenshot of how it looks like on my instance.

find_real_file.png

 

In the link you provided, however, I saw the "Show Attachment List", which does not appear in my applet.

 

This applet is of type "List", but it seems it has to be of type form for the "Show Attachment List" to show on the bottom. 

Any ideas?

Narek
Kilo Contributor

I am using the New York Release for ServiceNow Mobile. The link you sent me, however, is from the Orlando Release. Does the New York Release provide any feature to handle attachment lists?

Thank you.

Narek
Kilo Contributor

I am using the New York Release for ServiceNow Mobile. The link you sent me, however, is from the Orlando Release. Does the New York Release provide any feature to handle attachment lists?

Thank you.