cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Daniele_001
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

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
Frequent Visitor

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

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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (7,693)