Hi Guys,
I have a button like "Close as won" on opportunity home page level. If I select the record on home page and selected record field value "amount" contains > 0 and login user have sales person role then I need to show the "Close as won button" on home page otherwise I need to hide.
criteria: 1: Selected record fields value >0 and login user contains sales person role.
Thanks
Good job !!
Please don't forget to verify my answer by ticking YES. It will help others to find the good solution. Thank you !
Yes you can separate your logic into two Enable rules. Take more time analyzing andrew butenko's code. It will be more helpful:
So I need to write two enable rules to achieve my requirement, am i right?
sorry I find this solution(dynamict.eu/.../) but i am not able to understing this logic. I tried update this code but no luck
I understand your problem.
You can only get the Id using SelectedControlSelectedItemReferences CRM Parameter. Then, you need to retrieve your field value using the webApi.
Managing an Async call within an Enable rule is tricky. Please refer to the blogs below for more details about the implementation
Based on the security role I am able to hide the button on home page but here I want selected record field value I need to hide the button on home page.
Based on filed value and login user roles I am able to show and hide the button on form level and now I want to do on home page level
Hi,
You need to implement a custom Enable Rule using some JS Code. Please refer to this blog:
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,524 Super User 2024 Season 2
Martin Dráb 228,469 Most Valuable Professional
nmaenpaa 101,148