The CreatorCon Call for Content is officially open! Get started here.

Activity Log not editable in scoped application. Says record is in Global application when trying to edit fields.

Shane J
Tera Guru

This is my first foray into scoped applications and so far it's been nothing but a PITA.

I am trying to add an Activity Log to some new tables in my new Application.   I have gone through the steps in Section 3 here:

Activity Formatter - ServiceNow Wiki

to create a new Activity entry for my app, but I still receive an error when trying to modify/configure the fields that are shown.

"This record is in the Global application, but MY_APPLICATION is selected in your application picker.   Switch to Global."

I don't want to switch to Global, all of this should be held within my App!   I have to be missing a step which I can't find documented anywhere.  

1 ACCEPTED SOLUTION

wcw
Mega Expert

I ran into the same problem and opened INT2601575 / PRB631771.



The workaround is to manually create the sys_property entry while under the application scope. The specific item in the sys_properties table is named "glide.ui.[your app]_table_activity.fields".   The value of the property is just a comma separated list of field names.



I think there were a couple of other application scoping issues that I ran into that didn't have a workaround like this available so I ended up creating an update set to go with the application.   Hopefully things have gotten better; when I did this, it was with an early Fuji release.


View solution in original post

9 REPLIES 9

Hi,


The activity.xml that was used to create is probably a global scopped macro. I couldn't find anything on the wiki specific to scopped applications for creating activity formatter. But found these other threads :


Sara, The activities on the


Can't find the macro activity.xml




There is a filter icon where you can choose the fields for which you want the activities and it still works if you right click and configure ...switch to gobal ..add the fields...switch back to scoped application....but yes switching back and forth is not an option. Sorry couldn't be of much help to you....but if you find anything on this please do post it here..



find_real_file.png


wcw
Mega Expert

I ran into the same problem and opened INT2601575 / PRB631771.



The workaround is to manually create the sys_property entry while under the application scope. The specific item in the sys_properties table is named "glide.ui.[your app]_table_activity.fields".   The value of the property is just a comma separated list of field names.



I think there were a couple of other application scoping issues that I ran into that didn't have a workaround like this available so I ended up creating an update set to go with the application.   Hopefully things have gotten better; when I did this, it was with an early Fuji release.


Well that was unpleasant, but is working.


Hi Walter,



Could you please suggest on this if possible?


I have tried to create a property, but in Scoped application it doesn't allow me to create the property in that format. In scoped application it always comes up with a suffix.



This format only comes up if I am in Global application.



Any suggestion?


Please make it correct or helpful if this solves or help you with your issue for other to make use it.

Thanks & Regards,
Vikrant Sharma

Try this:


  1. First create the system property in scoped application
  2. Use list view and update field Name value manually (remove scoped name prefix from the string)