cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate I
Advocate I

Problem with Form.Unsaved if a Sharepoint Lookup field is contained

Hello,

I use SaveIcon.Visible = MyForm.Unsaved, to show the SaveIcon when MyForm has unsaved chages. This works well, as long as I don't have a Lookup field on the form. As soon as I add a (standard/not-customized) Lookup, MyForm.Unsaved seems to be always true, e.g. the SaveIcon is always shown. Am I doing something wrong, or should I somehow customize the Lookup card, or ... ?

 

Cheers for any suggestions,

Dennis

11 REPLIES 11
Highlighted
Community Support
Community Support

Re: Problem with Form.Unsaved if a Sharepoint Lookup field is contained

Hi @DennisKuhn,

 

Is it an edit form? What is your data source? 

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Advocate I
Advocate I

Re: Problem with Form.Unsaved if a Sharepoint Lookup field is contained

It is an edit form and a SharePoint list with one lookup field is the data source.

Highlighted
Helper I
Helper I

Re: Problem with Form.Unsaved if a Sharepoint Lookup field is contained

I am having a similar issue as well.

 

I have a gallery connected to a sharepoint list.  Next to the gallery, I have an editform (like a properties pallette).  I would like to disable the gallery if there are any changes in the form.

 

Using form.unsaved seems to be unreliable.  Freshly loaded items appear unsaved without any interaction.

 

I am going to try and find another way to determine if the form has changed...

 

Highlighted
Frequent Visitor

Re: Problem with Form.Unsaved if a Sharepoint Lookup field is contained

It's a year later and I'm having the same issue with the  Form.Unsaved property in Visible.  Any updates?

Highlighted
Frequent Visitor

Re: Problem with Form.Unsaved if a Sharepoint Lookup field is contained

Hi am having the same issue has there been any resolution to this or alternative?

Highlighted
Frequent Visitor

Re: Problem with Form.Unsaved if a Sharepoint Lookup field is contained

@jroderick  Did you find anything?


@jroderick wrote:

I am going to try and find another way to determine if the form has changed...

Highlighted
Frequent Visitor

Re: Problem with Form.Unsaved if a Sharepoint Lookup field is contained

I'm having the same issue. Would be nice to find a solution.

Highlighted
Kudo Kingpin
Kudo Kingpin

Re: Problem with Form.Unsaved if a Sharepoint Lookup field is contained

I have the same problem with some forms. I have one form with two textboxes, two person lookup fields and two other lookup fields. The unsaved flag is always true without any interaction.

Highlighted
Helper I
Helper I

Re: Problem with Form.Unsaved if a Sharepoint Lookup field is contained

I have also had this problem on pretty much EVERY PowerApp I have created - it seems that the Form.Unsaved Property is pretty much useless beyond the simplest of forms.

 

In my latest project, I am independently updating the record shown in the Form with a Patch function, and then using ResetForm to ensure the form shows the newly patched value, and guess what - the Form.Unsaved is true. For a newly loaded form/record.... Crazy huh?

 

Is anyone from the Microsoft PowerApps Team looking at this thread?

Is it possible to have an update on the resolution of the buggy Form.Unsaved function?

 

Thanks

James.

Helpful resources

Announcements
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,512)