Notifications
Announcements
Hi,
I have a date column in Dataverse and would like to set its default value to today if a different column has a specific value.
Flow is not really an option as its too slow.
Thanks
Todd
Hi @Tango
Not Business Rules as a business rule, but you can use Javascript or a WorkFlow to do it
function formOnload(executionContext) { // Get a reference to the form context var formContext = executionContext.getFormContext(); // Create a new Date object to get today's date var today = new Date(); // Set the value of the date field formContext.getAttribute("nombre_del_campo_fecha").setValue(today); }
Another way is to use Power Fx,
Use this
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 721 Most Valuable Professional
Michael E. Gernaey 320 Super User 2025 Season 2
Power Platform 1919 268