locked
MS CRM 2013 am having doubt on the particular statement. RRS feed

  • Question

  •   I need to restrict customer product in customer entity.if i have one customer product Then "add new customer product" button should be disable on customer entity..

      How to achieve this...

     Regards

    Krishna s.

    Wednesday, June 25, 2014 11:28 AM

All replies

  •   I need to restrict customer product in customer entity.if i have one customer product Then "add new customer product" button should be disable on customer entity..

      How to achieve this...

     Regards

    Krishna s.

    Wednesday, June 25, 2014 11:28 AM
  •   I need to restrict customer product in customer entity.if i have one customer product Then "add new customer product" button should be disable on customer entity..

      How to achieve this...

     Regards

    Krishna s.

    Wednesday, June 25, 2014 11:28 AM
  • Hi,

    You can use the Ribbon Workbench to modify your Command Bar to disable the "Add New Customer product" button. Here's an example : http://garethtuckercrm.com/2013/11/25/dynamically-disable-ribbon-buttons-in-dynamics-crm/

    In the function that determines whether the button will be disabled/enabled, you'll need to check if any Customer product is already associated with the Customer (by making a JavaScript REST OData call). If it exists, simply return a false which will disable the button.


    Admin QuikView Solution for CRM 2013

    Wednesday, June 25, 2014 11:33 AM