PCF-CustomControlBuilder icon indicating copy to clipboard operation
PCF-CustomControlBuilder copied to clipboard

[Bug]: "the given solution unique name is not valid"

Open BenjaminChesnel opened this issue 11 months ago • 3 comments

Contact Details

[email protected]

What happened?

We created a dedicated solution (manually) on the CRM. The DisplayName contains some "-" characters example : "CGI - Controls". D365 translate this DisplayName without any spaces or special characters (CGIControls) but not PCF Builder.

In the section "Dataverse Solution Details", when we click on "Use Existing Solutions" and select our solution the readonly field named "Unique Name" is automatically filled as "CGI-Controls" and it's not right name. When we click on "Export and Add Control" the error appears.

Image

What version of the tool are you using?

2.2023.6.162

What version of XrmToolBox are you running?

1.2024.9.69

Relevant log output


BenjaminChesnel avatar Mar 20 '25 16:03 BenjaminChesnel

Thanks for opening your first issue here! Please make sure you have given us as much context as possible. One of the repo maintainer will respond as soon as possible.

power-maverick-bot[bot] avatar Mar 20 '25 16:03 power-maverick-bot[bot]

Thank you for creating your first issue. This will help me improve this tool.

github-actions[bot] avatar Mar 20 '25 16:03 github-actions[bot]

Hi, I found a workaround : When you select "Use existing solution" and select the solution, if you click on "Edit Control" again, the Unique Name and all the Publish section are cleared. Select again the solution targeted in "Friendly name", the information are filled again but the "unique name" isn't in read-only mode anymore : you can delete the specials characters.

BenjaminChesnel avatar Mar 27 '25 10:03 BenjaminChesnel