cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Surendra345
New Member

Default value for a date field to current date in Cds entity.

Hi I need to set default value for cds entity date field to current date.  But seems like there is no procedure to do it from the Microsoft documents. Can some one advice me for the same?

1 ACCEPTED SOLUTION

Accepted Solutions
jlindstrom
Super User
Super User

Business rules do not have a today function, but you can accomplish this using JavaScript or real time workflow. Using rtw update the field to the workflow execution date

 

more ideas in this forum post https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/148982/set-date-as-today-using-bus...

View solution in original post

1 REPLY 1
jlindstrom
Super User
Super User

Business rules do not have a today function, but you can accomplish this using JavaScript or real time workflow. Using rtw update the field to the workflow execution date

 

more ideas in this forum post https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/148982/set-date-as-today-using-bus...

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (82,118)