knowledgecenter-breadcrum

Knowledge Center

05 Aug, 2020

Web Resource content size is too big in PCF Control

Posted on 05 Aug, 2020 by Admin, Posted in Power Platform

Web Resource content size is too big in PCF Control Blogs

Web Resource content size is too big in PCF Control

Problem

While developing the PCF Control, we came across a scenario where we encountered below error:

Solution

To resolve this issue, we can have two approaches:

For Development instance with debugging capability

In this, if we want to upload the big control size to debug the code part of PCF control, then we need to follow below steps:

  1. Go to, Advanced Settings -> Settings -> Administration -> System Settings
  2. Select Email tab as shown below:

After increasing the size in above highlighted part. We can upload the Custom Control in CRM with big file size.

Managed Solution for production instance

In this approach, we can use below command to create managed solution:

msbuild /p:configuration=Release

After successful execution of the commant, managed solution will be created in the release folder of Project.

This managed solution will have less file size.

Comment

This is a Required Field

Loading

Recent Updates

Blogs
18 Jul, 2024

How to use Fiddler to debug your PCF while doing development.

Have you ever felt like you're spending too much time debugging your PCF (PowerApps Component Framework) during development, only to…

READ MORE
Blogs
16 Jul, 2024

How to use Solutions with Power Pages

What is Solution in power Pages? A solution is a container for components such as Website Configuration and Dataverse Components.…

READ MORE
Blogs
15 Jul, 2024

Create a Dataverse table with a SharePoint List

In today’s business world, Organization uses SharePoint lists for document management, and data storage. Let's assume a scenario where an organization…

READ MORE