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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Need more controls tha...
Power Apps
Answered

Need more controls than the 500 limit

(1) ShareShare
ReportReport
Posted on by 8
Hello, 
I need to implement more than 500 controls, in fact, I would need around 2000 of them, most of them being buttons.
The reason why is the following: 
I am designing an app that allows quality control workers select specifically what went wrong with the products, selecting on an image which part, out of a zone of the product failed. Now, there are 18-20 different heating products, each of them with multiple regions (such as main pipes, welding between pipe and collector.etc), there are around 7-10 regions per machine. so 140 buttons are needed to select the GENERAL region, and then some regions have up to 30-40 different parts, needing one button for each, since the workers will need to easily click on the image to select the specific part that went wrong (i.e auxilliary pipe 32) and see that part being "highlighted" on the image: 
Image of a region of a machine. needing 36 different buttons to select each individual component.
As you can see, just for one region of one product (zone H), 36 buttons are needed.
Each machine is different from each other so re-using images or buttons is out of the question.
 
edit: 
I forgot to mention that every machine will have a different number of components (parts) and each region will have a different geometry. needing different button position. For example, this is a different region for the same machine and the number and position of button is different from the previous one.


Which alternatives are there to obtain a similar result? 
If there aren't any ways to obtain similar results, which would be the best way to re-design this app ? 

Thank you all in advance for your attention.
Categories:
I have the same question (0)
  • MichaelFP Profile Picture
    1,847 Super User 2025 Season 2 on at
    For your scenario I would recommend to try the PCF, it will be only one component and will could have many controls as much you needed.
     
  • Mike2500 Profile Picture
    1,247 Super User 2024 Season 1 on at
    I would store all the products and images in a table/list, and then use a gallery to show them. There could be additional controls to filter by machine type and/or region. Or, perhaps three galleries on three pages. There could be a page with a single gallery for products which would list all products, as well as provide filters and such to find the specific product. After clicking on the product, they could be sent to a second page that had a gallery for all regions in the selected product. Etc for parts. This could all be built with a handful of controls. Plus, when a new machine is added, or a part is modified, changing the app only requires data entry in those lists, and the app itself wouldn't need to be updated.
  • Verified answer
    Ryan_B Profile Picture
    446 on at
    I did something similar to what you need to do, only with building floor plans and office spaces.
     
    You essentially want a gallery on top of an image control. To expound on what Mike2500 said below, you will store all the relevant data in a list and bring it into the app. The person would select the product and then the region, in which the image control would display that section. Then you have the painstaking job of taking some sort of shape (I used the rectangle shape for my project since the offices were rectangular in shape) and matching it up to the different parts of the image that you want to be selectable. You then save the X, Y, Width, and Height (if they are all going to be the same size 100% of the time, you can leave off the width and height) of the object in its spot in a SharePoint list (or whatever data source you're using) and continue on until you finish that zone. You will need to rinse and repeat this process for every single image you have - this is rough, trust me, but it does look amazing when you're done.
     
    Once you've done this, you set your gallery to this list, drop in the same shape you used to get the positions of the selectable areas, and set the X, Y, Width, and Height properties to ThisItem.X, ThisItem.Y - ThisItem.ID (this is to offset the template size of 1), ThisItem.Width, and ThisItem.Height respectively. You will then want to set the Gallery's template size to 1 and have its width and height be the same size as your app, typically 1366 x 768. This should give you a replicated selectable area across the image in its associated spot based on the coordinates and dimensions you obtained.
     
    The key thing to know here is that you will never change where the image control is or the gallery, otherwise it will not line up and you will be very sad. After that, you will need to have the image control and gallery filter properly based on the user's selection.
     
    Here is essentially what you working towards:
     
     
    For privacy reasons I hid the floor plan image, but you can still see the general idea with the dots. As you can see in my screenshot, I am hovering over one of the office spaces which shows its office number and availability status. Below that is the gallery that is used to display all these offices. You can see that I only have 4 controls inside it, but I'm actually displaying 60 versions of these 4 controls since they are inside a gallery. This is how you will have your 2000 buttons but with only 1 gallery, 1 image control, and 1 button control.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard