In this tutorial, Brian Knight from Pragmatic Works walks through how to attach files to a record in a Power Pages basic form. This feature is essential when users need to upload supporting documents such as proposals, images, or other files directly within a form.
The video builds on previous lessons and introduces both configuration steps and common challenges, particularly around permissions, which are critical for making file uploads work properly.
The primary objective is to allow users to upload files (such as a proposal document) when creating a new record in a Power Pages portal. This involves configuring the form, enabling attachments, and ensuring proper permissions are in place.
Brian begins by navigating to the Power Pages environment and locating the form where the file upload feature will be added.
Once enabled, several configuration options become available:
After saving these settings, the form is ready for preview. However, the upload button may still not appear.
Brian explains that if the upload button does not appear, the issue is almost always related to permissions. In Power Pages, users must have proper access to the underlying tables—in this case, the Notes (Annotation) table.
This is a common “gotcha” that developers encounter when working with file attachments.
To resolve the issue, Brian demonstrates how to create the necessary permissions using a child permission approach.
The child permission ensures that if a user has access to a parent record (like a proposal), they automatically gain access to its related notes or attachments.
Brian emphasizes that at a minimum, users need the following permissions:
Additional permissions can be granted depending on the use case.
After configuring permissions, the form is previewed again. This time, the upload button appears as expected.
The testing process includes:
Once submitted, the file is successfully stored and linked to the record.
The uploaded file is stored in the Notes (Annotation) table with a prefix (such as “web”) to indicate its origin from the portal.
Brian demonstrates how to:
This confirms that the attachment is properly saved and accessible.
Brian Knight provides a clear and practical walkthrough of attaching files in a Power Pages basic form. By combining proper configuration with the correct permissions setup, users can seamlessly upload and manage files within their applications.
This feature enhances user experience and enables more robust data collection, making it a valuable addition to any Power Pages solution.
Don't forget to check out the Pragmatic Works' on-demand learning platform for more insightful content and training sessions on Power Pages and other Microsoft applications. Be sure to subscribe to the Pragmatic Works YouTube channel to stay up-to-date on the latest tips and tricks.