How to make changes to core tables when building custom apps?

Suggy
Giga Sage

I am building customer app. but I want to add new custom fields to 'Incident form'. Once everything is done, I want to publish.

Then when I move to QA, I want that custom app + custom field created in INC form also to be available in QA.

 

Issue is - when I am building custom app, I will be in custom scope. when I open Inc form, try to make form changes/create custom fields, I will say you are in different scope and wont allow me to make changes.

 

My goal is, to 'build custom app + create custom field in OOB table (part og global scope) ' and have this as ONE SINGLE repository and publish so that I can easily install it via 'my company application' module 

 

1 ACCEPTED SOLUTION

Suggy
Giga Sage

As per this docs - Allow Configuration | ServiceNow Developer

its possible and thats how developers have done and published in store applications.

so to me, its possible and not a bad practice!!!

OOB table is in scope GLOBAL

You are working in 'ABC' scope. Create a new view, it allows add new fields etc for a table in GLOBAL scope.

View solution in original post

9 REPLIES 9

SumanthDosapati
Mega Sage
Mega Sage

@Suggy 

That is not possible and not recommended also.

 

Regards,

Sumanth

Suggy
Giga Sage

As per this docs - Allow Configuration | ServiceNow Developer

its possible and thats how developers have done and published in store applications.

so to me, its possible and not a bad practice!!!

OOB table is in scope GLOBAL

You are working in 'ABC' scope. Create a new view, it allows add new fields etc for a table in GLOBAL scope.

Ankur Bawiskar
Tera Patron
Tera Patron

@Suggy 

you can create a new view in your custom scope and ensure your new fields are present in it.

That's how OOB views are used when you see there are some views on incident table which is in global scope but those custom views are in other scope

Example: Service Operations Workspace view is "Incident Management for Service Operations Workspace" app scope

AnkurBawiskar_0-1736601407037.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Exactly. I have answered it above. I got it from another source. Thanks for your inputs.

@Suggy 

Thank you for marking my response as helpful.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader