knowledgecenter-breadcrum

Knowledge Center

15 Mar, 2022

Add Multiple File control on the basic form of PowerApps Portal

Posted on 15 Mar, 2022 by Admin, Posted in Power Platform PowerApps Portal

Add Multiple File control on the basic form of PowerApps Portal Blogs

Add Multiple File control on the basic form of PowerApps Portal

Introduction: In this blog, we will understand how to add multiple file control on the basic form of PowerApps Portal.

Steps to be followed:

Before adding multiple file control you have to enable file attachment on the basic form.

Refer to this blog to enable file attachment on the basic form: https://vblogs.in/file-attachment-on-basicentity-form-in-powerapps-portal/

  1. Go to PowerApps Portal basic form where you have added file control.

2. Inspect the control.

3. Right click on the element and click on “Edit as HTML”

4. Copy HTML.

After copying the HTML go to the Portal Management App.

  1. Go to the basic form
  2. Open the basic form –> Go to the “Additional settings” tab –> Go to the Custom JavaScript section.

3. Paste the JavaScript code in this section.

 

NOTE:
In the after function paste the HTML which we copied in an earlier step, also update the id of the HTML element.

4. After adding the JavaScript Save the basic form, Navigate to Portal to see the changes.

Testing:
Upload the files in each control and save the record. All the files will be created as notes in dynamics successfully.

Comment

This is a Required Field

Loading

Recent Updates

Embed PowerBI Report To Form
Blogs
15 Sep, 2026

Embed a Power BI Report on a Dynamics 365 Form, Filtered to the Record You're Viewing

Most Power BI reports in a Dynamics 365 environment live somewhere the user has to go and find: a dashboard,…

READ MORE
Blogs
08 Sep, 2026

How to Dynamically Retrieve SharePoint Drive IDs and List GUIDs for Power Automate

Introduction Many times, we come across scenarios where we need to populate a Word template in Dynamics 365 using Power…

READ MORE
Blogs
11 Aug, 2026

How to Remove an Unmanaged Layer from a Dataverse Email Template

Overview Email Templates in Microsoft Dataverse make it easy to reuse email content such as subject lines, message bodies, and…

READ MORE