pac solution unpack custom PCF control
I'm using the latest version of pac
Microsoft PowerPlatform CLI
Version: 1.30.7+ge6211cf
and I'm trying to use the solution unpack command with a map file
pac solution unpack --zipfile SolutionZip.zip --map map.xml --processCanvasApps --Folder s
My Solution has both, custom JavaScripts and a custom PCF control.
I'm using the map file to map the JavaScripts Files from my Soltution to a specific path:
<FileToPath map="WebResources\xyz\*.js" to="..\..\..\JavaScript\*js />
So when the Solution is build by pac I have the latest JavaScript Version.
But I'm not able to do the same for the JavaScript file from a custom PCF control. I can't map the bundle.js file from the PCF to a specific location
The tool says
Skipping [...]WebResources\xyz\blabla.js' as it matches a mapping directive
Processing Component: CustomControls
- [...]MyPCF.MyPCF
Processing Component: SolutionPluginAssemblies
Any suggestions what I'm doing wrong?
Have you found any solutions? I have the same problem , only copy ControlManifest.xml , other files are ignored
Have you found any solutions?
No. After a while I also stopped looking for a solution and resigned myself to the fact that PAC simply doesn't work.
What you can do: You can build your own program. This program replaces the files in the unpacked solution before the compress command is executed. This bypasses the map file and you have to adapt your own solution for each PCF component. Don't forget to manually count up the number in the manifest.