This section contains the frequently asked questions (FAQ) about the Syncfusion PowerApps code components.
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.
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.
To clear the login credentials in Power Platform CLI, follow the below steps:
- Open the command prompt and run the below command to clear the login credentials.
pac auth clear
- After running the above command, the login credentials will be cleared.
To enable the PAC code component support in the PowerApps environment, follow the below steps:
-
Go to the Power platform environments of your PowerApps account.
-
Select the environment and navigate to the below location
Environment Actions (Three Dots)
->Settings
->Product
->Features
- Enable the
Power Apps component framework for canvas apps
option and click thesave
button at the bottom of the page.
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.
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.
To change the file size limit for email attachments in PowerApps, follow the below steps:
-
Go to the Power portal of your PowerApps account.
-
Navigate to
Settings
->Advanced Settings
location.
-
Now, the Dynamics 365 app will open in new tab. In that navigate to below location.
Settings
->System
->Administration
->System Settings
->Email
-
In
Email
tab, update the set file size limit for attachements as per the required size. After updating the changes clickok
.
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:
-
Install the Power Platform CLI for windows MSI, Linux and macOS according to your operating system.
-
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
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:
-
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.
-
In the PowerApps portal, navigate to the
Tables
section and selectImport
->Import data
from the command bar. -
Click the
Browse
button to locate and select the CSV file from respective code components. After selecting the CSV file, click theNext
button.
- And preview the file data in the next step. After previewing the file data, click the
Next
button.
- Click the
Next
button to proceed to the next step.
- In the next step, enter the table name, table display name and unique primary name columns. After entering the details, click the
Next
button.
-
Click on
Publish
->Publish now
to create or update the table in the Dataverse. -
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.
To create a new Dataverse table, follow these steps:
-
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. -
Click on
Create new tables
and select the option toImport an Excel file or .CSV
.
- 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.
-
Click
Save and exit
to finalize the table creation in Dataverse. -
After the table is created, it will appear in the
Tables
section under thecustom
tag.
- Go to the
Data experiences
tab for the created table, then click onViews
.
- In the default
Public view
, modify the necessary column names. Once the changes are complete, clickSave 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.
Follow these simple steps to create a Dataverse table with a file column, allowing you to securely store files:
-
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.
-
Start Your Table: Click on
Create new tables
and choose theStart from blank
option to start a fresh table. -
Set Up the Basics: Name your new table
SF File
. Add aName
column with a data type ofSingle Line Text
. -
Save the Table: Click
Save and exit
to finalize the setup. You’ll find the table listed under theTables
section in thecustom
category. -
Add the File Column: Now, click the
+
icon to add a new column. Name itFile
, set the data type toFile
, and save your changes. -
Configure the Form: Head to the
Data experiences
tab of your table and selectForms
. Open the Information form (make sure it’s amain
type). -
Add the File Column to the Form: In the form editor, click
Table columns
, chooseFile
from the list, and add it to the form.Save and publish
your changes. -
Update the Views and Forms: In the table page, select
Update forms and views
and clickEdit
to make adjustments if needed. -
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. -
Upload a File: In the form, enter a
Name
, clickSave
, and then selectChoose File
to upload a file to the table.
- Confirm the Upload: Your file is now stored in the Dataverse table. Success!
- All Done! You’ve now created a Dataverse table with a file column ready for secure file storage.