this is a suggested approach using dictionary override, however a before business rule approach could also be used. the end goal is to hide the standard change RPs from service portal, but show them in classic UI only
before insert BRs should be minimised and since we only need to set a default value, the dictionary override is cleaner approach.
something like this:
- The hide_sp field on the sc_cat_item table can be set to true so it hides the item in the portal but still allows it to be used in the platform view.
- Use a dictionary override to set the sc_cat_item.hide_sp value to true with the following details:
- Base table = sc_cat_item
- Table = std_change_record_producer
- Column name = hide_sp
- Override default value = true
- Default value = true