carfup / XTBPlugins.PCF2BPF

Add PCF controls to your BPF in few clicks !
GNU General Public License v3.0
4 stars 0 forks source link

Error when importing solution with BPF #16

Open MHI9A opened 2 years ago

MHI9A commented 2 years ago

Hi,

We have modified our BPF with togglecontrols and are now struggling with importing the bpf to another environment. the solution import error looks like this:

Exception type: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]Message: Custom control declaration for form factor(s) 0,1 is missing for control with uniqueid {275c70ab-713a-4fa9-b93c-f6d0115d080a}. More Details:Parent Type:SystemForm;SubType:main;Parent Id:9774341b-aa04-44b8-b7fa-2ad3aadefa62;Associated entity:LeadToOpportunitySalesProcess;Control Description Xml:decisionmakerdecisionmaker;Control Reference Xml:;Error Message:-2146041847;Additional Information:;Detail:<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">

3cedd525-ad5c-4f0b-b83a-961c1924ea5e

Most likely we are missing components in our (managed) solution, but there are no (custom) controls to select. Do you have any idea which part(s) we are missing here?

Thanks in advance

MHI9A commented 2 years ago

Hi, we found out what was wrong. We only set a custom control for the "Web" Formfactor but did not set it for Phone and Tablet. When we copied the control setting to the other formfactors the solution import worked. BPF controls

carfup commented 2 years ago

Hi @MHI9A,

Thanks for reporting the issue. You found a workaround, but this still means that when the 2 other factors are not defined, the import is failing, something to look into! I keep it open for me in order to "debug" and fix since a component normally doesn't need to be defined on all factor to keep the standard behavior if wanted.

MHI9A commented 2 years ago

Hi Olivier,

Yes, hopefully you can find a solutions for that, but if you know that it works like this it’s not a problem. Thanks for letting me know!

Regards, Matthijs

carfup commented 2 years ago

if you don't mind leaving it open so I have your details to investigate :)