Showing results for 
Search instead for 
Did you mean: 

XML Data

I have a simple XML file that I would like to import into the CDS using the New Entity from Data.  I locate the XML file which is on my companies Sharepoint and it loads it and I can see 4 columns (Name, Namespace, Value and Attributes).  Below those headers I have 1 line of information, Detail, nothing in Namespace, then [Table] in Value and [Table] in Attributes.  If i click the Value [Table] link i now see the same column headers as before but I see the word data in the Name column and there are 43 lines (which is the number of employees).  If I click the [Table] in the Value column again i finally get to the data that I need, 3 bits of information showing employee Clock, Name and In-Out.

How do I choose the right primary key, it should be the Clock and all I want is those 3 pieces of data

Helper V
Helper V

can you share your xml file here? Or a similar XML file and remove the sensitive data.

<?xml version="1.0" encoding="utf-8" ?> 
- <detail>
- <data>
  <Name>Alan H</Name> 
- <data>
  <Name>Darshan Brar</Name> 
- <data>
  <Name>Clare M</Name> 
- <data>
  <Name>Stewart B</Name> 
- <data>
  <Name>Jan A</Name> 

This is a few lines of the XML I am looking to import in CDS

Is the XML is the correct format? 

Is there documentation posted on how to use XML's with the import? I get to the first pic and select next and then in the next pic I am not sure what to select to correct the error.  The XML I am trying to import is in Post #3 in this thread


Helpful resources

Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,372)