Showing results for 
Search instead for 
Did you mean: 
Super User
Super User

Property-set inside different data-sets must be unique?

I have a PCF with two data-sets, each of them has a property-set inside. Actually, from the use-case point of view, I would have wanted to name both property-set parameters the same, like



<data-set name="dataset1" display-name-key="Dataset_Display_Key1">
   <property-set name="name" ... />      
<data-set name="dataset2" display-name-key="Dataset_Display_Key2">
   <property-set name="name" ... />



 I understand that the property-set must have a unique name, but I thought it should be unique inside a data-set.

Unfortunately, I could work inside the test-harness and build the solution, but I couldn't import the solution after that. The error was about duplicate key


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.'."'."
and after renaming one of the property-sets it worked.
Is it a bug in the schema right now, or it's really designed to work only this way?
Kind regards,
Kind regards,
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

I'm not entirely convinced that multiple datasets are ready for prime-time yet!

I don't use them at all in production.

Helpful resources

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (1,793)