Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Remove an option from My lists widget on CSM portal

Luke James
Tera Contributor

Hi All, 

 

I have a requirement to remove an option from the "My lists" widget on the My lists page on the CSM portal. Does anybody know how to do this? 

 

Kind Regards, 

 

Luke

1 ACCEPTED SOLUTION

@Luke James I'm jumping in here in the middle but there's technically no reason you couldn't create your script include at global. Just make sure that it's accessible from all scopes and you might have to add a cross-scope permission for it, but it should work.

CSM also has multiple scopes related to it. There's the standard Customer Service scope, but some of the utilities and base OOB configs have their own scope. Before going to global I'd just double check to make sure all the scopes are lining up.

View solution in original post

11 REPLIES 11

Thanks very much @Sid_Takali . I have done as suggested, but now I get this error message when I click on my lists "ErrorIllegal access to private script include CSMServiceManagementCopyUtil in scope sn_customerservice being called from scope global". Any thoughts? 

 

Thanks, 

 

Luke

Hi @Luke James The cloned widget and copied Script Include should be in same Application Scope as original. CSMServiceManagementBoeingUtil is in Customer Service scope but it is calling from Global scope.

 

Regards,

Sid

Hi @Sid_Takali, I've double checked both the cloned widget, and script include are in the same application scope as the original. The package of the cloned widget is different to the OOTB package, but don't think that should make a difference? 

 

Any thoughts on what else it could be? 

 

Regards, 

 

Luke

Hi @Luke James In "My List Filters" widget see which Script Include you are calling because CSMServiceManagementBoeingUtil is not related to your context. 

If possible share some screenshots

You need to create a new script include from CSMServiceManagementUtil, Sys-Id : 61f86bca875723003c1c8467a7cb0bb0 this script Include and use it in Newly cloned "from My list filters" widget  Sys-Id: dbc4afa2876723003c1c8467a7cb0be5