cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sdjackson Helper II
Helper II

Editing from the details screen

I have built a basic canvas app using all the normal pages and when I come to edit from the details page I find I can't edit the details.  I have tried from the SharePoint list and that's fine but not from within the app.  My Edit mode is set to New but I changed it to Edit and I get the same error.  Any ideas why I can't edit.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Re: Editing from the details screen

Hi @Sdjackson ,

 

Of course, set Update property of Data card to Text(Now(),DateTimeFormat.ShortDateTime), then whether the title card is visble or not, the title column will save the current time on each submit.

Snipaste_2019-12-09_17-24-58.png

Best regards,

Sik

View solution in original post

7 REPLIES 7
SKH19 Impactful Individual
Impactful Individual

Re: Editing from the details screen

@Sdjackson 

Does your app have a button to navigate from the details screen to the edit screen?

Annotation 2019-12-06 120910.png

If so, what is the formula for the edit button?

Sdjackson Helper II
Helper II

Re: Editing from the details screen

Thank you for responding to my plea for help.

 

Yes, the icon has this formula:

 

EditForm(EditForm1);Navigate(EditScreen1, ScreenTransition.None)

Highlighted
Community Support
Community Support

Re: Editing from the details screen

Hi @Sdjackson ,

 

Could you please share more details with your scenario? What's the situation that you can't edit?  What is the error shown in the PowerApps? Could you pose some screenshots?

Please ensure the form is Edit form, not display form, and set the Items property of editform properly. If you want to edit the record, you have to set it to the Items property.

If this doesn't make sense, please share more details.

Best regards

Sik

 

Sdjackson Helper II
Helper II

Re: Editing from the details screen

Sik,

Thank you for responding.  This is the error I get.  I can edit the detail in the SharePoint list but for some reason I can't edit it in the PowerApp.

I have Gallery, Details and Edit screens.  I click the Edit pencil in the Details screen and it takes me to the Edit screen but when I try to change any fields the message below comes up.

Powerapps Invalid Entry.png

Sdjackson Helper II
Helper II

Re: Editing from the details screen

Sik,

You made me think and I have worked out what it is.  I had the Title field invisible because I can't see a use for it in this form.  Therefore, I had added the default to be Value(Identifier) and when I am editing the form that is left blank?  Is there a better 'thing' I can put in the Title box (perhaps even a date and time modified) so it automatically fills and then I can keep it hidden?

Stuart 

Community Support
Community Support

Re: Editing from the details screen

Hi @Sdjackson ,

 

Of course, set Update property of Data card to Text(Now(),DateTimeFormat.ShortDateTime), then whether the title card is visble or not, the title column will save the current time on each submit.

Snipaste_2019-12-09_17-24-58.png

Best regards,

Sik

View solution in original post

Sdjackson Helper II
Helper II

Re: Editing from the details screen

You're a star.  That works brilliantly.  Thank you.

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!

Power Platform 2020 release wave 1 plan

Power Platform 2020 release wave 1 plan

Features releasing from April 2020 through September 2020

Top Solution Authors
Top Kudoed Authors
Users online (5,857)