PAC CLI v1.7.2 Known Issue

Most probably you might have reached this blog as part of some issues with building, testing and debugging PCF controls which you are working on. I was also getting the same issues but all of a sudden. To be very specific, I started getting this the very moment I started to do a build for my control today morning and seems to be an issue with the pac version of cli (1.7.2) which we are using. the error messages which you might be getting could be something similar to
“Package subpath ‘./v4” is not defined by “exports” in <<your component path>>” along with “pcf-start exited with code 1” with type error “Cannot read property “compileTime” of undefined”. From my experience out of the suggestions by experts it seems to be an issue with the pcf cli v1.7.2 which is installed in our machines and the later version. We have to wait for a newer version for a complete fix. Until then there is a work around for the same which we will discuss in today’s blog. Hope this will help you.

Continue reading “PAC CLI v1.7.2 Known Issue”
Advertisement

Azure Maps in PCF Controls

In this blog, we will bring in an Azure map to the PCF control framework. If you want to understand how to create a PCF control check the blog, Step by Step process to create PCF Controls which has details on how to create a PCF control in general. This is a blog to just introduction of Azure Maps APIs and how we can bring in the same to our PCF control and we are not diving deep into different other available APIs. Hope you will enjoy this blog.

Continue reading “Azure Maps in PCF Controls”

Deploying PCF Control to D365 Environment

This is a follow up blog on creation of PCF controls to use in our D365 environment. If you have not seen that and you want to know more about creation of PCF controls, you can refer the blog Step by Step process to create PCF Controls. In this blog, we will talk about connecting to our D365 environment and deploying the code using Power Apps CLI commands. This is not required in normal scenario as most of us will be using D365 for CE web portal to import our solution which we created as part of our previous blog. Still if anyone interested or anyone wants to get this automated, we can use these commands.

Continue reading “Deploying PCF Control to D365 Environment”