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

DataCard as search field for a Gallery?

Hi,

 

I have an app that is used to submit product related data. One of datacards is called product category. The product category consists of 200 items.

 

The product category is in the app in a Gallery (not visible to users). I want the product category datacard to function as a search field for the product category gallery to avoid input errors. The value from the datacard needs to be submitted to a sharepoint list with the other user inputs. 

I have tried to find a solution that a Powerapp newbie would understand, but have had no luck. Would appreciate detailed guidance on the possible solution.

4 REPLIES 4
RandyHayes
Super User
Super User

@Ja7 

Can you elaborate on the use of the Gallery?  You mention it is not visible. I am trying to understand what you are using that for and why in relation to the datacard.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Hi,

I put the product category listing into a gallery because I wasn’t able to link the product categories list to the app any other way. My aim is to have users type in a product category number into the datacard. The datacard field will act as a search field and suggest the correct product code based on user input. I will be more than happy to start over from scratch. 

RandyHayes
Super User
Super User

@Ja7 

You'll not need a gallery for this to work, but I am unclear then on your final bit of that statement - "The datacard field will act as a search field and suggest the correct product code based on user input."

 

Can you explain that part a little more - either how you have it or how you envision this.

I am getting that you have a product category - assuming the user would be entering this someplace. And then you have a product code.  Are users selecting this or is there some other means of entry that you are anticipating?

 

I believe that if I can get your concept down, i can provide you what you need to make this all work well.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

@ehayes what I am looking to achieve is this: users type in the product category number to the product category datacard. To avoid errors in inputs, the datacard should somehow contain all the possible product categories (200 categories) and suggest the correct category based on what the user is typing into the datacard.

 

Inputs from this product category datacard are then submitted to a sharepoint list along with the other inputs from the form. How can this be achieved?

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Top Solution Authors
Top Kudoed Authors
Users online (1,226)