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.
Highlighted
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
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 400 members 5,993 guests
Please welcome our newest community members: