Hi,
How to customize the the right side intelligence pane same as we are customizing record.js
I need to hide few fields conditionally from right side intelligence pane. I cannot use Roles because this is Product Catalog is a open module where we cannot implement Roles/ Roles not working on Product Catalog out-of-the-box
Any help will be highly appreciable
Regards
What you are looking for is customizing the preview view.
Depending on how you want to conditionally show/hide fields you should be able to do it via the controller:
<sugar_root>/custom/modules/<module>/clients/base/view/preview/preview.js
You can show/hide the field based on the record label:
$('.record-label[data-name="myfield_c"]').show()
$('.record-label[data-name="myfield_c"]').hide()
HTH,
FrancescaS