cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Masino
Super User
Super User

Select an object and change propriety

Udklip.JPGHi,

I have a collection called "BRG" with some users .

There are 3 columns, "name", "admin_status","choosen".

So in a gallery with this collection there is a Checkbox with the propriety ThisItem.isselected.

I am trying to select some users and change their propriety. Do you know how to do? Or have suggestions?

Right now i am trying with the update function, but without results -.-

 

i tried with f.example:

UpdateIf(

                  Value(Gallery.Selected.Admin);

                  Checkbox3.Value=true;

                  Value(Gallery.Admin) = true)

 

 

Thanks for help!!!!!!

1 ACCEPTED SOLUTION

Accepted Solutions
Masino
Super User
Super User

adn well.... i did it!

Hope that it helps someone.

 

Patch(
medarbejdernesdata;
LookUp(medarbejdernesdata;
Navn_excel = ThisItem.Navn_excel);
{Admin:true}
);;
Refresh(
medarbejdernesdata
);;
ClearCollect(
coMedarbejderne;medarbejdernesdata
);;

View solution in original post

1 REPLY 1
Masino
Super User
Super User

adn well.... i did it!

Hope that it helps someone.

 

Patch(
medarbejdernesdata;
LookUp(medarbejdernesdata;
Navn_excel = ThisItem.Navn_excel);
{Admin:true}
);;
Refresh(
medarbejdernesdata
);;
ClearCollect(
coMedarbejderne;medarbejdernesdata
);;

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

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