cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
EduardoSantos
Frequent Visitor

Showing no data after Edit second time

Hi,

 

I'm new one at PA. I'm building an app that controls my projects.

 

First screen I listed my projects (based on sharepoint list):

EduardoSantos_0-1596566133345.png

after clicking at the project, goes to 2nd screen:

EduardoSantos_1-1596566200062.png

in that screen i have some buttons on top (Novo = New; Editar = Edit). my question is about de button "Editar" or Edit.

If I click on it, my form goes to Display Mode edit and I can change whatever I want.

EduardoSantos_2-1596566464034.png

two buttons are shown on the botton of screen (Save and Cancel). So if I click on Save, it saves my edited form perfectly.

EduardoSantos_3-1596566676022.png

If I click again on Edit button, it doesn't show the data anymore.

EduardoSantos_4-1596566863480.png

here are some of my properties:

OnSelect in my gallery:

EduardoSantos_5-1596566982805.png

OnSelect in my Edit button:

EduardoSantos_6-1596567059584.png

OnSelect in my Save button:

EduardoSantos_7-1596567140896.png

 

 

What Am I doing wrong?

 

thaks.

10 REPLIES 10

thanks a lot @v-yutliu-msft it works perfectly. i just had to adjust this code:

If(mode="edit",Gallery1.Selected,mode="view"&&!IsBlank(Form1.LastSubmit),Form1.LastSubmit,mode="view"&&IsBlank(Form1.LastSubmit),item)

to:

If(mode="edit",Gallery1.Selected,IF(mode="view"&&!IsBlank(Form1.LastSubmit),Form1.LastSubmit,IF(mode="view"&&IsBlank(Form1.LastSubmit),item)))

 thanks

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

Top Solution Authors
Top Kudoed Authors
Users online (97,218)