Skip to content

Latest commit

 

History

History
208 lines (108 loc) · 9.57 KB

File metadata and controls

208 lines (108 loc) · 9.57 KB

Frequently Asked Questions (FAQ)

This section contains the frequently asked questions (FAQ) about the Syncfusion PowerApps code components.

Facing license issue while login to PowerApps?

Login Issue due to License

If you are facing a license issue while logging into PowerApps, please ensure that you have a valid PowerApps license. To obtain a PowerApps license, visit the PowerApps website.

Whether personal Microsoft account can be used to login to Power Platform CLI?

Login Issue due to Account Type

No, personal Microsoft accounts cannot be used to login to Power Platform CLI. Only Organizational accounts can be used to login to Power Platform CLI.

How to clear the login credentials in Power Platform CLI?

To clear the login credentials in Power Platform CLI, follow the below steps:

  1. Open the command prompt and run the below command to clear the login credentials.
pac auth clear
  1. After running the above command, the login credentials will be cleared.

How to enable PAC framework support in a PowerApps environment?

To enable the PAC code component support in the PowerApps environment, follow the below steps:

  1. Go to the Power platform environments of your PowerApps account.

  2. Select the environment and navigate to the below location

    Environment Actions (Three Dots) -> Settings -> Product -> Features

FAQ1-1

  1. Enable the Power Apps component framework for canvas apps option and click the save button at the bottom of the page.

FAQ1-2

How to address the missing prvCustomControl privilege for the custom control entity issue?

FAQ1a-1

The "prvCustomControl" privilege error occurs when a user either lacks a valid PowerApps license or does not have the necessary permissions to create custom controls in the selected environment. Please visit the official PowerApps License page to obtain the required license, or contact your administrator to request the appropriate permissions.

How to resolve the webresource content size is too big issue?

The default file size limit for attachments of email in PowerApps is 5MB. If we upload the code components bundle greater than 5mb in powerApps webresource content size is too big issue will occur. To resolve the above mentioned issue, we need to update the file size limit for attachments of email as per the bundle size.

How to set file size limit for email attachments in PowerApps?

To change the file size limit for email attachments in PowerApps, follow the below steps:

  1. Go to the Power portal of your PowerApps account.

  2. Navigate to Settings -> Advanced Settings location.

FAQ3-1

  1. Now, the Dynamics 365 app will open in new tab. In that navigate to below location.

    Settings -> System -> Administration -> System Settings -> Email

  2. In Email tab, update the set file size limit for attachements as per the required size. After updating the changes click ok.

FAQ3-2

How to resolve the pac is not internal or external command issue?

We need to install the Power Platform CLI tool in our local machine to resolve the above mentioned issue. To install the CLI tool, follow the below steps:

  1. Install the Power Platform CLI for windows MSI, Linux and macOS according to your operating system.

  2. After installing the Power Platform CLI, close any existing command prompt windows and open a new command prompt. Then, run the following command to check the CLI tool is installed or not.

pac

How to import data in a Dataverse table?

The following instructions explain how to import data into a Dataverse table if it exists, or else create a new table. Please follow the steps below:

  1. We can import data into a Dataverse table using a CSV file for this example. Use the CSV files from the respective code component projects data folder.

    For example, use the Grid CSV file from the Grid component project data folder.

  2. In the PowerApps portal, navigate to the Tables section and select Import -> Import data from the command bar.

  3. Click the Browse button to locate and select the CSV file from respective code components. After selecting the CSV file, click the Next button.

FAQ5-1

  1. And preview the file data in the next step. After previewing the file data, click the Next button.

FAQ5-2

  1. Click the Next button to proceed to the next step.

FAQ5-3

  1. In the next step, enter the table name, table display name and unique primary name columns. After entering the details, click the Next button.

FAQ5-4

  1. Click on Publish -> Publish now to create or update the table in the Dataverse.

  2. Once the table is created, it will be listed with Custom tag. If the Dataverse table already exists, it will append the data to the table.

How to create a new Dataverse table?

To create a new Dataverse table, follow these steps:

  1. Go to the PowerApps portal and navigate to the Table tab in the left hand menu. This is where you manage and create Dataverse tables.

  2. Click on Create new tables and select the option to Import an Excel file or .CSV.

FAQ6-1

FAQ6-2

  1. Upload the Excel or CSV file that defines the table schema. After uploading, click the created table and select view data to configure its properties. For example, you can use the Grid CSV file from the Grid component project data folder for importing.

Important

Ensure that the column names and data types in the created table match those in the CSV file.

FAQ6-3

FAQ6-4

  1. Click Save and exit to finalize the table creation in Dataverse.

  2. After the table is created, it will appear in the Tables section under the custom tag.

FAQ6-5

  1. Go to the Data experiences tab for the created table, then click on Views.

FAQ6-6

  1. In the default Public view, modify the necessary column names. Once the changes are complete, click Save and publish button to apply the updates.

Important

Ensure whether the table is created with all rows and columns of the CSV file. If not, try importing the data into the table.

FAQ6-7

How to Create a Dataverse Table with a File Column for Storing Files

Follow these simple steps to create a Dataverse table with a file column, allowing you to securely store files:

  1. Access Power Apps: Go to the PowerApps portal and open the Table tab on the left menu. This is your workspace for creating and managing Dataverse tables.

  2. Start Your Table: Click on Create new tables and choose the Start from blank option to start a fresh table.

    FAQ6-1

    FAQ7-1

  3. Set Up the Basics: Name your new table SF File. Add a Name column with a data type of Single Line Text.

    FAQ7-2

  4. Save the Table: Click Save and exit to finalize the setup. You’ll find the table listed under the Tables section in the custom category.

    FAQ7-3

  5. Add the File Column: Now, click the + icon to add a new column. Name it File, set the data type to File, and save your changes.

    FAQ7-4

    FAQ7-5

  6. Configure the Form: Head to the Data experiences tab of your table and select Forms. Open the Information form (make sure it’s a main type).

    FAQ7-6

    FAQ7-7

  7. Add the File Column to the Form: In the form editor, click Table columns, choose File from the list, and add it to the form. Save and publish your changes.

    FAQ7-8

  8. Update the Views and Forms: In the table page, select Update forms and views and click Edit to make adjustments if needed.

    FAQ7-9

  9. Add a New Row: To test the setup, click on New row using form in the edit page. The form will open in a new tab.

    FAQ7-10

  10. Upload a File: In the form, enter a Name, click Save, and then select Choose File to upload a file to the table.

FAQ7-11

FAQ7-12

  1. Confirm the Upload: Your file is now stored in the Dataverse table. Success!

FAQ7-13

  1. All Done! You’ve now created a Dataverse table with a file column ready for secure file storage.

FAQ7-14