Need to hide OOTB fields in front end for specific products

I am using One Identity version 9.0, and we have created some request properties for a specific product.
Now while requesting the product I am able to see only the request properties but not the OOTB fields like Valid from/Valid Until, etc.
When we have add the request to cart and click on edit there we could see those OOTB fields. If I want to hide those OOTB box fields(even from the Edit option) for some specific AccProducts, could we do that?

Parents
  • I think you will have to customize the HTML application to accomplish this.

    Non-fancy example: qer\src\lib\shopping-cart\cart-item-edit\cart-item-edit.component.ts

    Line: 94
    } else if (this.shoppingCartItem.CustomProperty10.value !== 'HideColumns') {
    defaultColumns.push(this.shoppingCartItem.ValidFrom.Column, this.shoppingCartItem.ValidUntil.Column);
    }
    
    Value template: ShoppingCartItem.CustomProperty10
    If $FK(UID_AccProduct).IsSpecialProduct:Bool$ Then Value = "HideColumns"

Reply
  • I think you will have to customize the HTML application to accomplish this.

    Non-fancy example: qer\src\lib\shopping-cart\cart-item-edit\cart-item-edit.component.ts

    Line: 94
    } else if (this.shoppingCartItem.CustomProperty10.value !== 'HideColumns') {
    defaultColumns.push(this.shoppingCartItem.ValidFrom.Column, this.shoppingCartItem.ValidUntil.Column);
    }
    
    Value template: ShoppingCartItem.CustomProperty10
    If $FK(UID_AccProduct).IsSpecialProduct:Bool$ Then Value = "HideColumns"

Children
No Data