Good Morning,
I have a canvas app in a form. I want to see a field ( type data) when I open each record, I try to use First(ModelDrivenFormIntegration.Data).nameProperty (nameProperty is a data only field). Can you help me?
Thanks
Hi @Daniele_001 ,
Do you want to add an embedded canvas app on a model-driven form and diplay a field that is date only type?
Could you tell me the error message of the formula that you wanted to use?
Try this formula:
ModelDrivenFormIntegration.Item.Fieldname
Here's a doc about it for your reference:
Best regards,
Community Support Team _ Phoebe Liu
Hi @v-yutliu-msft ,
I try First(ModelDrivenFormIntegration.Data).new_Fieldname. This is correct for any field, but when I use formula in a data only type field it doesn't return the value. I would like to compare a value with today's date and set a rules as follows:
First(ModelDrivenFormIntegration.Data).new_Fieldname > Now()
Doesn't report errors but I don't see anithing in the form on Dynamics 365 and the action defined in the rule don't apply.
Thanks
Daniele
Hi @Daniele_001 ,
I've found a similar issue, maybe you could try his way.
The workaround he found was to add a Timer with 1 second delay. In the OnTimerEnd event everything is working just fine.
Set the Timer's OnTimeEnd:
Filter(entityname, First(ModelDrivenFormIntegration.Data).new_Fieldname > Now() )
Here's this issue's link for your reference:
https://www.itaintboring.com/2019/01/
Best regards,
Community Support Team _ Phoebe Liu
User | Count |
---|---|
140 | |
136 | |
77 | |
75 | |
69 |
User | Count |
---|---|
224 | |
186 | |
68 | |
64 | |
57 |