Announcements
Hi All,
I have PCF datasets control. Previously the name of the data-set was sampleDataSet (in the manifest file) and then I renamed it to gridDataSet. So it is working fine in test harness but when I import the control in dashboard it throwing an error as the gridDataSet is undefined and it is not found in the context pare meters object.
Thanks for any insights.
Kind Regards
Hi @KP93 ,
Can you give us some more details, how did you proceed when you uploaded the PCF after you changed the name.
I suppose there is a problem with the version. Maybe only the patch version was changed, but it should have been changed the major versioon, since the parameter changed.
I think it would be best un unregister it and even delete the PCF from your environment, and only after that upload the control again.
Hope this helps!
Kind regards,
Diana
@DianaBirkelbach I did the following steps
I suggest that you at least delete the control from the from, and re-register it, and of course publish.
If you still have problems after that, you could have a look to my blog about pcf versioning : https://dianabirkelbach.wordpress.com/2020/12/23/all-about-pcf-versioning/
@DianaBirkelbach
Hey I am also facing the same issue i have my previous control with datasetname sampledataset and i have changed it to some other name and also increases the major version of the control but somehow the control does not behaves properly after deployment and i am not able to delete the control itself from the form also. See the form screenprint
Hi @Bhuvita ,
About the issue about deleting the control from the form, I think is another issue.
I've seen this case before: there is no control available anymore in the list. This happens when there is some kind of not allowed char in a manifest. In my case was some ampersand (') in one of my display-name-key or description-key. As soon you fix the manifest, you get the list of controls displayed again, and can delete it.
Hey Diana,
Thanks for reply .My manifest file looks like below .I could find any trace of such characters. Also i have deployed the PCF solution build using msbuild /p:configuration=Release
<?xml version="1.0" encoding="utf-8"?><manifest><control namespace="ScoringToolMatrix" constructor="ScoringToolMatrix" version="1.0.5" display-name-key="ScoringToolMatrix" description-key="Use this control to manage the Scoring Tool" control-type="standard"><data-set name="scoringtoolDataSet" display-name-key="Matrix View" cds-data-set-options="displayCommandBar:true;displayViewSelector:true;displayQuickFindSearch:true"></data-set><resources><code path="index.ts" order="1" /><css path="css/ScoringToolMatrix.css" order="1" /><img path="img/scoringtoolstage.png" /><img path="img/snooze.png" /><img path="img/deleteblack.png" /><img path="img/deletered.png" /><img path="img/deletelight.png" /><img path="img/confirmgreen.png" /><img path="img/confirmgrey.png" /></resources><feature-usage><uses-feature name="Device.captureAudio" required="true" /><uses-feature name="Device.captureImage" required="true" /><uses-feature name="Device.captureVideo" required="true" /><uses-feature name="Device.getBarcodeValue" required="true" /><uses-feature name="Device.getCurrentPosition" required="true" /><uses-feature name="Device.pickFile" required="true" /><uses-feature name="Utility" required="true" /><uses-feature name="WebAPI" required="true" /></feature-usage></control></manifest>
This one looks good. But it could be any other PCF that you imported in your environment. I think it must be one of type dataset. I suppose you can still choose controls for the field type PCFs, but you cannot choose any dataset PCF anymore.
Yes i am not able to select any PCF from the list. It throws error. It says
"An error occurred while adding components..."
Although i have tried one trick i have deployed same solution through pac pcf push --publisher-prefix command with earlier dataset name.After that i was able to see the control on the form.Then removed the control from the form and again deployed the production build solution. So not sure this will be generic if you have already deployed the production build and then change the dataset name then you will be stuck on the form with no way to delete it from your environment
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 893
Valantis 571
11manish 482