Public role gets added automatically after publishing the record.

biraj1
Mega Expert

Hi,

When I assign the report to specific custom role using "sharing" ->"visible to"-> select role name option and then save and publish the report, public role is getting automatically added, but that should not happen. Could you please help me fix this problem?

Thanks in advance !!!

Regards,

Biraj

 

1 ACCEPTED SOLUTION

Thanks Mike for the reply. The above URL displays whole page including filter criteria, header and left navigation as well. I am just looking for read only view of report/chart through URL. Instead, if I try with report_viewer it works well what I am looking for.

https://XXXX.service-now.com/report_viewer.do?jvar_report_id=report_sys_id

Thanks,

Biraj

View solution in original post

5 REPLIES 5

Mike Patel
Tera Sage

instead of save and publish you need to select save. When you publish report it will ad public role since it will be accessible using url without login into SN.

Hi Mike,

I want it to be accessed through URL for selective roles defined in ServiceNow and report can not be accessed through URL without publishing. When I publish it adds public role automatically.

 Thanks,

Biraj

Publish basically means you can send url to anyone who doesn't have access to SN and they can see the report. In order that to work report needs to have public role.

If report doesn't have public role than opening url will not work.

If you want users to login to SN and see the report than unpublish it and send them url like

bold is sysid of report.

https://XXX.service-now.com/nav_to.do?uri=%2Fsys_report_template.do%3Fjvar_report_id%3D6d89ff5edbc2sdfsdf0ebf9b61d9619c0

Thanks Mike for the reply. The above URL displays whole page including filter criteria, header and left navigation as well. I am just looking for read only view of report/chart through URL. Instead, if I try with report_viewer it works well what I am looking for.

https://XXXX.service-now.com/report_viewer.do?jvar_report_id=report_sys_id

Thanks,

Biraj