Adding scoped field to global table

jeremy_gardner
Tera Expert

Is there a way to add a scoped field to a global table?   I'd like to add a custom field to cmdb_ci so that our scoped app can leverage customer's data/relationships in the CMDB, and I see an option for "Allow new fields" option on the form, but it's hidden from everybody but maint.  

Alternatively, is there another way to accomplish something similar?

Thanks,

Jeremy

20 REPLIES 20

Pradeep, I just tried to create a DB View and you can not do it for global tables! This is really strange. Same with UI views.


Do you have any solution for this?


Hi Alexey Klimenko rfedoruk Jeremy Gardner



Here are the steps to create new fields on the global scope tables. In this example, I have created an example on incident table to add the custom field "call count".




Step 1 : Go to Incident table


Step 1.JPG



Step 2: Configure->Form Layout


Step 2.JPG



Step 3: Now create the new view by selecting new option from the view name.


Step 3.JPG



Step 4 : I have created the new view(Expense view) and created the new field "Call Count"


Step 4.JPG



Step 5: Save the form


Step 5.JPG



Step 6: Now change the view to the created view i.e Scoped view in this case. If the field is not present on form then configure->form layout and add the fields in your own view again.


Step 6.JPG




Please let me know if you have any questions.



That works on Incident because "Allow new fields" is checked for that table.   However, it's not checked for cmdb_ci and sys_user, for example, and according to the client script this field is hidden for all but 'maint'.



Is there plans to either allow non-maint to check this box, or enable it by default on other system tables?



Thanks!


Hi Jeremy,



You have to go to the table(sys_user) and then go to the Application Access and check the "Allow configuration" to true. Please find the screenshot attached for your reference.


Application Access.JPG


http://wiki.servicenow.com/index.php?title=Application_Access_Settings


I set for the user to allow do all but following your steps I can't seem to create a new field from my scope:


Screen Shot 2015-03-17 at 12.06.50 AM.png