
Hi,
I have a field Product with some drop-down values A, B, C, and the Same field with values X, y, Z for the Account form.
I want product with values A, B, C should be visible only to Business unit A users, and Product with values x, y, z values should be visible to BU B users.
So, how can I do this kinda customization?
Thanks
Hi Shivii,
You can add JavaScript on form Onload event to retrieve current user to get bu name and hide fields based on it.
You can refer following links:
Retrieve record:
Show or hide field:
Regards,
Leah Ju
Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.