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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Does property-set name...
Power Apps
Unanswered

Does property-set names has to be unique in the manifest?

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

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

I have the same question (0)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard