cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Daniele_001
Level: Powered On

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 Team
Community Support Team

Re: ModelDrivenFormIntegration for Data Only field

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.
Daniele_001
Level: Powered On

Re: ModelDrivenFormIntegration for Data Only field

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

 

Community Support Team
Community Support Team

Re: ModelDrivenFormIntegration for Data Only field

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
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,758)