Announcements
Hi,
Is it possible to create a business rule which show/hide controls based on today date?
I have a field "alert date", when this date is reached, I want to display some controls, else these controls can be hidden.
so I want a IF new_alertdate <= today then ....
is it possible?
thanks.
Thanks !
a little complicated, but interesting solution.
I'm testing a custom control for now, because I need to display my text in specific colors too.
so displayed only when a date is reached + change the color based on the number of days (date in the future: hide the text, first week = no color, after 1 week in red)
Hi Jerome,
You could try by creating a calculated date "now" field and using this in your business rule :
If new_alertdate<="calculatedfield*"
community.dynamics.com/.../store-today-s-date-in-a-field-to-use-in-workflow-conditions-in-d365-ce
Let me know if It works,
Hope It helps
Marco
If you found the answer helpful for you or other readers, please mark as Verified.
André Arnaud de Cal...
294,217
Super User 2025 Season 1
Martin Dráb
232,978
Most Valuable Professional
nmaenpaa
101,158
Moderator