
Announcements
Hello,
I have a PCF with 2 dataset. In each of them I've defined a property-set: "name".
I can build the PCF, but when I try to import it, using "pac pcf push", I get an error.
If I rename one of the property-sets, I can import the control in my environment.
I expect the property-set name to be unique per dataset, but not necessarily for the whole manifest.
I would like to know if the property-set unique contraint per manifest is by design. Or maybe it's only an issue with the XSD schema used for import.
Here is the manifest (part) I cannot import:
<data-set name="mainDataset" display-name-key="Dataset_Display_Key">
<property-set name="name" display-name-key="Property_Display_Key" description-key="Property_Desc_Key" of-type="SingleLine.Text" usage="bound" required="true" />
</data-set>
<data-set name="childDataset" display-name-key="Dataset_Display_Key">
<property-set name="name" display-name-key="Property_Display_Key1" description-key="Property_Desc_Key1" of-type="SingleLine.Text" usage="bound" required="true" />
</data-set>
It works like this
<data-set name="mainDataset" display-name-key="Dataset_Display_Key">
<property-set name="mainName" .... />
</data-set>
<data-set name="childDataset" display-name-key="Dataset_Display_Key">
<property-set name="childName" .../>
</data-set>
Error message during "pac pcf push"
Error: Import Solution Failed: CustomControl with name failed to import with error: The import manifest file is invalid. XSD validation failed with the following error: 'The import manifest file is invalid. XSD validation failed with the following error: 'There is a duplicate key sequence 'name' for the 'uniqueProperty' key or unique identity constraint.'."'."
Import Solution Failed: CustomControl with name failed to import with error: The import manifest file is invalid. XSD validation failed with the following error: 'The import manifest file is invalid. XSD validation failed with the following error: 'There is a duplicate key sequence 'name' for the 'uniqueProperty' key or unique identity constraint.'."'."
Thanks,
Diana