web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Removing a String Valu...
Power Apps
Answered

Removing a String Value from a String List

(1) ShareShare
ReportReport
Posted on by 66

Good morning all,

 

I have created a variable, where if you press the arrow button it will get the values on the left and add it to a text label. It will then add it to the gallery on the right.

 

My aim is to when clicking the arrow from the gallery on the left, either the value on the left should disappear so it cannot be selected again or it will add it to the variable (text label) but only once and if removed it should remove the value.

 

I hope this makes sense?

 

In short the the list on the left when selected should only be allowed to be selected once to be put in the right gallery and if removed from the right gallery should be made available to be selected again for the right.

 

Any help would be highly appreciated. 

 

TheBest355_1-1708427044937.png

 

 

Categories:
I have the same question (0)
  • Verified answer
    KeithAtherton Profile Picture
    3,709 Most Valuable Professional on at

    Hi @TheBest355,

     

    Before using the text variable, you could use collections to organise values on the left and right, similar to the following, making it easier to display them in the left and right columns:

    ClearCollect(colComboBoxOptions,
     {
     Name:"PRD123",
     Column:0 // Left column.
     },
     {
     Name:"PRD234"
     Column:1 // Right column.
     }
     // etc
    );

     

    After using this approach, you could then save the values to text variables if required.


    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    Connect with me online.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 914

#2
11manish Profile Picture

11manish 627

#3
Valantis Profile Picture

Valantis 598

Last 30 days Overall leaderboard