How do you keep your apps manageable and ensure they perform well in Power Apps? Our SharePoint Technology Consultant Ward sums up 3 best practices to get you started.
Set up naming conventions for your apps, screens, controls, data sources, variables and collections. Standardised names make life easier when you need to look up certain content later – if something needs to be modified, for instance.
Example: Make ‘<Purpose> Screen’ your naming convention for screens. The first part of the name reflects the purpose of your screens, making it easier to navigate through complex apps in Power App Studio. The second part, ‘Screen’, clarifies the context.
Use groups to organise your controls, so that you can easily recognise their purpose. Move them around in one screen or between screens, or collapse them to simplify your view. Gallery, Form and Canvas controls are grouped already, but you can also make them part of another group to improve your organisation.
The location where you store your code can impact the way it behaves. For example: code that’s put in the OnStart property runs only once (while the app is starting, but before the first screen appears), but code in the OnVisible property runs every time a user goes to that screen. Therefore, if you need your code to run only once, it belongs in the OnStart property.
There are many more best practices that can help you improve your PowerApps skills, so stay tuned for more blog posts! Do you have any questions about PowerApps? Contact my colleagues from Xylos Learning for more information.
Your email address will not be published. Required fields are marked.