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.

How to make Dictionary Overrides for scoped application

michaelsandonii
Kilo Explorer

I have an application that I am writing, and it extends the task table.   I want to change the behavior of the "assigned_to" field.   In the task table, that field filters to users with the "itil" role, but I would like to use a different criteria.   It seems that a dictionary override is the way to go, but dictionary overrides on task seem to be limited to the "Global" scope.

How does one get around this?   Do I need a different approach, or am I missing a bigger picture?

1 ACCEPTED SOLUTION

coryseering
ServiceNow Employee
ServiceNow Employee

Hi Michael,



You need to add the override in your scope, on your table. I just did this on a demo instance with Fuji. First, I opened the Dictionary entry for that field, while within my scoped app:



Screen Shot 2015-09-08 at 6.41.54 PM.png



Then I scrolled down to the Dictionary Overrides:


Screen Shot 2015-09-08 at 6.42.13 PM.png



I clicked New and filled out my override:


Screen Shot 2015-09-08 at 6.41.10 PM.png


I submitted the record, and verified my override was there:


Screen Shot 2015-09-08 at 6.45.13 PM.png



That is how your override a reference qualifier on a field on Task, from within a scoped app.


View solution in original post

6 REPLIES 6

Michael Fry1
Kilo Patron

Good questions but no answers to your scoped app questions. But on your dictionary override I believe you just make your dictionary override from your app and it will work. I've done it before, so I know it works.


coryseering
ServiceNow Employee
ServiceNow Employee

Hi Michael,



You need to add the override in your scope, on your table. I just did this on a demo instance with Fuji. First, I opened the Dictionary entry for that field, while within my scoped app:



Screen Shot 2015-09-08 at 6.41.54 PM.png



Then I scrolled down to the Dictionary Overrides:


Screen Shot 2015-09-08 at 6.42.13 PM.png



I clicked New and filled out my override:


Screen Shot 2015-09-08 at 6.41.10 PM.png


I submitted the record, and verified my override was there:


Screen Shot 2015-09-08 at 6.45.13 PM.png



That is how your override a reference qualifier on a field on Task, from within a scoped app.


That all makes sense Cory however I do not get the New button when I'm in the scoped app and if I revert to the Global scope I cannot see my new table, any thoughts on how I can get the New button on Dictionary Overrides in my scoped app?



Thanks


I just worked it out based on the content of this article Scoped Applications - Introduction from David.Gatley



Thanks