File Sharing Problems

How to Make an InfoPath Upload Required and Copy Files to a Shared Drive

Algirdas JasaitisAlgirdas Jasaitis Oct 10, 2026 870 views

Question details

The user needs to enforce a mandatory file-upload field in an InfoPath form and automatically save the uploaded documents to both a SharePoint site and a shared network drive.

How to Make an InfoPath Upload Required and Copy Files to a Shared Drive
Product
Microsoft InfoPath, SharePoint, Power Automate
Device & OS
not provided
Scenario
Designing a data collection form where file attachments are required, and routing those attachments to specific shared network locations for team access.
Observed behavior
The user is looking for the exact configuration steps to validate the upload field in InfoPath and set up an automated file-routing workflow to a shared drive.
Before you start

Ensure you have access to Microsoft InfoPath Designer, edit permissions for your target SharePoint site, and an active Power Automate environment connected to your on-premises data gateway if your shared drive is local.

Solution 1Recommended

Make the InfoPath Upload Field Mandatory

Configure field properties within InfoPath Designer to ensure users cannot submit the form without uploading a file.

By enforcing data validation at the form level, you guarantee that incomplete submissions are blocked before reaching your SharePoint list or triggering any workflows.

1
Open Form in Design Mode

Launch InfoPath Designer and open the specific form template you wish to edit.

2
Access Field Properties

Select the file upload control on your form. Navigate to the Data tab on the ribbon and choose 'Field or Group'.

3
Enable the Required Property

In the Field or Group Properties dialog box, locate the Validation section and check the box labeled 'Cannot be blank'.

4
Publish the Form

Save your changes and publish the updated form template back to your SharePoint site to apply the new mandatory requirement.

Make the InfoPath Upload Field Mandatory
Validation Active: Users will now see a red asterisk next to the upload field and receive an error if they attempt to submit without a file.
Free Microsoft Office alternative

Looking for a Modern Alternative to Legacy Office Tools?

While legacy software like InfoPath is deprecated, modern document processing requires reliable and highly compatible solutions. WPS Office is a lightweight, fully-featured suite that seamlessly handles your daily Word, Excel, and PowerPoint formats without the heavy resource usage.

  1. 1. Download the Installer: Visit the official WPS Office website and click the free download button for your operating system.
  2. 2. Install WPS Office: Run the downloaded installation file and follow the quick on-screen instructions to set up the software.
  3. 3. Open and Create Documents: Launch WPS Office to immediately start creating, editing, and sharing your documents with full Microsoft Office compatibility.
Completely free and lightweight Office suiteExcellent compatibility with Microsoft Office formats (DOCX, XLSX, PPTX)Built-in PDF editing, document sharing, and cloud sync featuresFamiliar user interface ensuring zero learning curve and seamless migration
microsoft office alternative - wps office

Frequently Asked Questions

Can InfoPath natively save directly to a shared network drive?

No, InfoPath does not natively support direct form submission to a shared network drive. The standard workaround is to submit the data to a SharePoint library first, then use a workflow tool like Power Automate to copy the file to the shared drive.

Why is my 'Cannot be blank' rule not working on the file attachment control?

Ensure you are applying the validation rule strictly to the field bound to the file attachment control in the Data source pane, rather than a generic grouping. Also, verify that the form has been successfully republished to SharePoint after making the change.

What should I use instead of InfoPath for new forms?

Since InfoPath is deprecated, Microsoft recommends using Power Apps for designing custom forms and Power Automate for handling workflows like routing attachments and automating approvals.

How do I test my Power Automate flow after setting it up?

Submit a test form through your published InfoPath interface with a sample file attached. Then, go to Power Automate, check the flow's Run History to see if it succeeded, and verify that the file appears in your target shared network drive.