In my custom Application, I am unable to select the Categories from the "Global" application?

wengkin
Mega Contributor

I created a service catalog item using the Application Studio in the application "Testing". When I tried to select a category, I was not able to find any available categories. However when i switch to the "Global" application, the categories appeared.

Is there a restriction that does not allow me to select categories that are created from different applications?

The error i received "The 'Catalog Item Category' record is in application 'Global', but its 'Catalog Item' parent record is in application 'APAC Testing'. The record and its parent must be in the same application."

Edit: I do find it strange that only Catalog Item Category has this restriction, but we don't face this issue with Catalogs, and/or other fields.

17 REPLIES 17

Hi Peter,

I ended up doing the same and running a background script to get the category populated.  It all seemed to work, but came across an issue.  If any other change needs to be made to that catalog item when saving, the validation on category runs, I get the issue and the save aborts.

Wondering if you encountered the same and got around it at all?

Thanks

Sam

I ran into the same problem. In my case I left the Category field on the catalog item blank, and as long as there is a record in the sc_cat_item_category table, it still worked as I expected. That table should be visible via a related list on the item called Categories.

Hi Brian

Thanks for this.  If I leave the category field blank, then add a category to the related list 'sc_cat_item_category' on refresh of the page it is entering that item into the category field on the form

Thanks

Sam