How to restrict Attachment Sharing or Downloading on NOW Mobile APP.

venkatesh28
Tera Contributor

In NOW Mobile APP, under My Requests when i open any Incident, will have two tabs - 'Details' and 'Updates'. 

If i add attachments to the incident and click on the same in Updates Tab, attachment is getting previewed in a new screen and able to share the attachment also as "Send" icon is available and able to share it via all forms (WhatsApp, gmail etc..).

How to restrict this behavior and any user cannot share or download attachments via NOW Mobile.

Please, provide a solution.

 

Thanks,

Venkatesh.

15 REPLIES 15

Ruhi Jibhyenka1
Mega Guru

Hi Venkatesh,

Try gs.isMobile() which returns true if the device is mobile (tablet), and false if it is not. Then hide or disable the attachments.

Also refer : https://community.servicenow.com/community?id=community_question&sys_id=b8c013a9dbdcdbc01dcaf3231f96197a

https://community.servicenow.com/community?id=community_question&sys_id=277443a9dbd8dbc01dcaf3231f9619b8

Mark correct if my answer has solved your issue and/ or helpful if my response is worthy.

Thanks,

Ruhi.

Hi Ruhi,

Thanks for the update.

But, it does not worked for me. I have used the same code in ACL's which are written on sys_attachment table for READ.

I don't want users to open the attachments in Mobile.

 

Thanks,

Venkatesh.

What do you mean by you don't want user to open the attachment? Do you mean to hide the attachment icon or disable it?

If the user open any existing ticket, and it contains the attachments. He can see the list of Attachments in "Details" page. 

But, if the user clicks on the image - it will re-direct to a new screen for Preview. I do not want this capability for the user's because on this preview screen, "Sharing" icon is also available. Please find below screenshots.

 

find_real_file.png         

 

      find_real_file.png

 

Thanks,

Venkatesh.