cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

ModelDrivenFormIntegration for Data Only field

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

3 REPLIES 3
Community Support
Community Support

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:

https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/embedded-canvas-app-add-classic-d...

 

 

 

Best regards,

Community Support Team _ Phoebe Liu

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Top Solution Authors
Top Kudoed Authors
Users online (59,663)