cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
moshem
Level: Powered On

Edit button- Can't edit

Hi,

 

I want to be able to edit.
I have built a list of protocoles and it is a gallery, but i need the option to edit the gallery if it needs to be edited.

I thoght maybe to do it with an edit button, but the gallery which shows data that was entered in a diffrent app is with labels which can't be edited.
I thoght maybe to put a button and onselect to pop a textbox to the place where i need it to be edited.

But i have a few problems:
1) it won't be save to the database.

2) I don't know how do it...

 

BTW the enduser (which will need to edit) will do it via teams
Please if anyone have an advice i'll be happy

 

3 REPLIES 3
shailendra74
Level 8

Re: Edit button- Can't edit

Hi @moshem 

 

Try the below steps:

 

  1. Place TextInput controls in the gallery and set visible false. Also place a save button and set visible false
  2. OnSelect of Edit make these TextInput controls and save button visible so that you can make changes
  3. OnSelect of save button, you can use patch to update the record and set visible false

Other option is, on click of edit, navigate to different screen - Screen2.

 

On Screen2:

 

  1. Place EditForm set data source to the sharepoint list (same datasource as gallery) and submit button
  2. set items property to the gallery.selected.ID (Lookup('SP List', ID = gallery.selected.ID)
  3. onselect of edit, write the code - EditForm(FormName);Navigate(Screen2, none)
  4. onselect of Submit - SubmitForm(FormName)

 

Thanks.

moshem
Level: Powered On

Re: Edit button- Can't edit

Hi,

I'm trying to do what you have suggseted. 
But when pressing the edit button ("ערוך") nothing happens.

And what is the syntex if i want the visiblety to active for the Savebutton and the text input?

 

After it how can i use a patch to update?

moshem
Level: Powered On

Re: Edit button- Can't edit

About the screen 2 solution, will it work if the end user use it on Teams?

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

Users Online
Currently online: 186 members 5,229 guests
Please welcome our newest community members: