How to give Delete button access to corresponding Business Owner of the CI

Bijay Kumar Sha
Giga Guru

Hi, 

I've a Business Application service CI form, where there is related list tab call DNS Mapping and it consists of DNS Mappings those are related to that particular Business Application.

There are 3 buttons Edit, Add, Delete My requirement is corresponding Business Owner should have access to Delete button.

I checked the UI Action 'Delete' where I see the condition was mentioned as below -

current.isValidRecord() && current.canDelete()

 

I've updated it to current.isValidRecord() || current.u_product_owner == gs.getUserID().

 

By doing this, I impersonated the Business Owner and 'Delete' button is visible to the user. But when that user click on the Delete button, it redirects to the same Business Application CI page and the DNS Mapping is not getting deleted. 

 

Can anyone please help me on this, how I can give access to the Delete button visibility and functional access to corresponding Business Owner of the CI.

0 REPLIES 0