Questions tagged [powerapps-component-framework]

Use this tag for questions related to Microsoft PowerApps Component Framework (PCF) earlier called as Custom Control Framework, for developing reusable controls for both Model-driven and Canvas PowerApps.

  • Replace a field that displays a numeric text value with a dial or slider code component.
  • Transform a list into an entirely different visual experience bound to the data set like a Calendar or Map.

Official documentation

18 questions
2
votes
2 answers

Apply a sort to a dataset in a PowerApps component (PCF)

I’m trying to create a new dataset type Powerapps Component (PCF). For the moment I am using it to display a view of the records that are available in an entity in Microsoft Dynamics CRM. I wish to make the view sort itself when I click on the grid…
Francis Gagnon
  • 2,765
  • 1
  • 12
  • 22
2
votes
1 answer

React rendering new view with filtered Data in Model Driven PowerApps

Currently I am implementing a custom list in a model driven app. I noticed that while filtering the data the init method as well as the updateView method is called, furthermore the updateView method is called 3 times. However, the new view is not…
1
vote
0 answers

npm install node-geocoder issue while running npm run build in type script + PCF (Powerapps Component Framework)

I have created a PCF (Powerapps Component Framework) in which I am using the GEOCODE feature. I have installed the required components using "npm install node-geocoder" and have added the below code : let nodeGeocoder = require('node-geocoder'); …
1
vote
1 answer

PowerApps - How do I create a folder picker

I'm building a canvas PowerApp / Component using React and FluentUI (office-fabric-ui). (if that limits the ways to solve this feel free to ignore the React part) Using context.device.pickFile() (documentation) I can trigger a file picker dialog. I…
1
vote
1 answer

Is there a way to auto load data to a dataset in PowerApps Component Framework (PCF)?

I am using the following DataSet Grid example: https://docs.microsoft.com/en-us/powerapps/developer/component-framework/sample-controls/data-set-grid-control The example allows me to upload a DataSet and then shows it into a grid. I am trying to…
1
vote
1 answer

Calling Dynamics CRM Rest API from PCF component, Embedding in Model-Driven App

We are working on a Canvas app that allows user to perform bulk operations such as assigning roles to users, manage privileges, etc. For this, we created a custom connector at the PowerApp that calls the Dynamics CRM Rest API to perform various…
1
vote
1 answer

How to Fix Azure Maps PCF Component Drawing Tools Offset

I have an Azure Maps PCF Component imported as a solution into a PowerApp. If a pin is dropped in the upper-left corner, it falls directly under the cursor (like it should). As I drop pins down and to the right, the pins fall increasingly further…
SeaDude
  • 1,647
  • 9
  • 31
0
votes
0 answers

Code components not visible after app and environment settings in Powerapps

I want to use ExportToExcel code component in my powerapp. I have already exported solution given at this url https://github.com/yashag2255/exportToExcel As per the documentation, I turned on the PCF feature in my environment settings and component…
0
votes
1 answer

Implement setValue in PCF Custom Control

My custom control does not react to getAttribute("abc").setValue("123") from form js. Do I have implement something in PCF Custom Control code?
0
votes
0 answers

Fetching data from SharePoint list using PnP JS in PowerApps Component Framework

We have created a component using PowerApps Component Framework (PCF). We are trying to use PnP JS to connect to SharePoint list and fetch data from it. But unlike SPFx, in PCF we do not get the context object of type WebPartContext that can be…
Naveen
  • 6,134
  • 10
  • 35
  • 81
0
votes
0 answers

"Problem with dimensions, chart component."

I have a problem with the dimensions when I import the component, could you help me please, Thanks a lot. https://i.stack.imgur.com/SxEKV.png https://i.stack.imgur.com/pW57S.png
0
votes
1 answer

PCF being too heavy

I'm working with custom components from component framework and whenever I try to upload the file into CRM it says it's too heavy. I checked and it takes 7MB which is crazy since it shouldn't. I'm using FluentUI and I checked my imports to see if…
0
votes
0 answers

PCF control extending the native grid

This question is follow up on another SO thread. When I'm trying to use this manifest, getting error.
Arun Vinoth
  • 20,360
  • 14
  • 48
  • 135
0
votes
2 answers

Side by side controls in React DOM using api

I'm fighting with this, wanted to show a row of controls above grid. const lblPG = React.createElement('h3', {}, 'Product Group'); const cboPG = React.createElement(ComboBox, props); const elementPG =…
Arun Vinoth
  • 20,360
  • 14
  • 48
  • 135
0
votes
0 answers

How to track changes in Power Apps Canvas Apps multi line text field (or HTML one)?

Is there any way to track changes in a Power Apps multi-line text field, especially an HTML one? We are considering creating a code component using PCF or Azure Functions connected with app via Power Automate. Is there any existing solution/PCF or…
1
2