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 / Search option in reduc...
Power Apps
Answered

Search option in reduction form

(0) ShareShare
ReportReport
Posted on by 127

BlueRSK_0-1692962821880.png

I have a Redaction form, with places for inputs. 

BlueRSK_1-1692962918380.png

Like these ones.   Can i use search option in one of the input form? And how can i realize it? I want to input text in this form, and it extracts relevant information from Share Point list. Like my column in sharepoint is about birds. I start input text like "Bla" and under this form i want to see list with proposals that previously inputed "Black shama", "Black siskin".....

Categories:
I have the same question (0)
  • Verified answer
    madlad Profile Picture
    2,637 Moderator on at

    Hi!

     

    It sounds like perhaps you want to use a combobox control

    First, set the datasource to be your SP List.

    Then, you'll want to enable Searching, and then under fields, set the primary text to be the birds column, and the searchfield to be the birds column.

    This will result in something which looks like this(I used test data):

    madlad_0-1692964368315.png

     

    Hope this helps!

  • BlueRSK Profile Picture
    127 on at

    And if i found my bird, like woodpecker and chose it, will it save in my sharepoin list?

  • madlad Profile Picture
    2,637 Moderator on at

    Once you have a value selected you can use it however you like, using additional formulas.

    For example, to save the value to a Sharepoint list when it's selected, you could use a Patch function in the control's OnChange property.

    However, its worth noting that this combobox will only return values already in your sharepoint list - nothing else, without using a different data source for it.

  • BlueRSK Profile Picture
    127 on at

    Can you write to me an example of patch function using combo box? I have a bit another syntax.No name.png

  • madlad Profile Picture
    2,637 Moderator on at

    Sure! 🙂

    This is very much just a template, but it follows the general pattern you need.

    You'll have to add in your datasource name and columns name(s).

     

    Patch(*YourDataSource*, Defaults(*YourDataSource*), {*BirdsColumn*: Self.Selected})

     

  • BlueRSK Profile Picture
    127 on at

    BlueRSK_0-1692970450254.png

    Here is my formula. Just like at an example. But it is still wrong. i have no idea 

    BlueRSK_1-1692970519556.pngBlueRSK_2-1692970542770.png    Invalid name text not recognized,    the patch function has several invalid values

     

  • madlad Profile Picture
    2,637 Moderator on at

    Comboboxes don't have a .text property - you'll need to use "Combobox2.Selected.FieldName" here. You'll have to replace fieldname(I believe) with the column name for the birds.

  • BlueRSK Profile Picture
    127 on at

    BlueRSK_0-1692972825483.png

    For this moment i have no problems and errors but when i add " .Selected " , i get an error. 

    BlueRSK_1-1692972918385.png   The type of this argument OData__x2116__x0432__x002f__x0447 does not match the expected type "Text". 

     

     

  • BlueRSK Profile Picture
    127 on at

    So, it thinks that ComboBox2   has "Text" type but why?

  • madlad Profile Picture
    2,637 Moderator on at

    I think you need to add a field name after "Combobox2.Selected" 

    perhaps something like "Combobox2.Selected.Value"

     

    However, ".Value" might not be the appropriate field name; See if you can find the right field name for this.

     

    We'll need the items property to find this correctly otherwise.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard