web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Property-set inside di...
Power Apps
Unanswered

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

(0) ShareShare
ReportReport
Posted on by 3,072 Most Valuable Professional

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>
 
<data-set name="dataset2" display-name-key="Dataset_Display_Key2">
 <property-set name="name" ... />
</data-set>

 

 

 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,
Diana
  • ScottDurow Profile Picture
    1,039 on at

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

    I don't use them at all in production.

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard