The post Behavior Properties in Canvas Power App appeared first on Microsoft Dynamics 365 Blog.
]]>To enable please follow the steps given below:
Once you enable the “Enhanced component properties”, we will be able to see the Behavior property when we add new custom property from the customer properties section as shown below:
As to achieve our requirement to show message to sale rep when they select appointment date to reconfirm appointment date; we have added a custom property with name changeDate of type as Behavior.
To send the selected appointment date, we added parameter to behavior custom property.
After clicking on New parameter, the below window opened where we mentioned name and data type.
Next, select the date control from a component that we created and pass custom behavior property with parameter in onChange event to appointment date control.
Finally when we select the component, we will see the “changeDate” along with “OnReset” event. To show the message then select “changeDate” and define notify function as shown below:
When the sales rep opens the Canvas App and tries to book an appointment and select the appointment date then the message will be shown that you have selected an appointment date. For example “06/21/2021”.
Conclusion:
With help of Behavior property, we can create custom properties to achieve more functionalities.
Reference Source – https://powerapps.microsoft.com/es-es/blog/enhanced-component-properties/
Please visit the Source and support them
The post Behavior Properties in Canvas Power App appeared first on Microsoft Dynamics 365 Blog.
]]>