Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2021 Release Wave 1Discover the latest updates and new features to Dynamics 365 planned April 2021 through September 2021.
Release overview guides and videos Release Plan | Preview 2021 Release Wave 1 Timeline
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
Can anyone explain how to import/export csv files in the RTC?
Well, first of all I am just trying with a very simple exsample for exercise.
I have created XMLport based on "Post Code" table, and I need I to work both ways(import/export).
The XMLport should export/import data as csv file.
I have changed the Format property to "Variable Text" and when I run the XMLport data is exported in XML format.
I don't know how to make the XMLport to act as dataport.
Do I have to change some other properties or add some code to XMLport?
I was searching the web for an example or an explanation on this, but could find anything.
It works from RTC.
I don't know why in the world I tested xmlport from CC.
For those of you following this topic, Maris has found a solution in another forum: http://dynamicsuser.net/forums/t/27479.aspx
I've an issue with this also. I can export to a .csv file no problem with an XMLPort through the RTC. However, when I try to import the same file, using the same XMLPort, it doesn't work. I get the following message:
The Element <Resource> is expected by Min Occurs value:Once. Element received: <>.
It also clears all of the data out of the .csv file, which is why the above error is occuring I believe?
That message means that your XMLPort has an element called <Resource> defined, and the MinOccurs property is set to 'Once'. This means that the design of your XMLPort specifies that this element MUST at least have one occurrance. If that element doesn't have to be there, you can set the property to 'Zero'.
"]That message means that your XMLPort has an element called <Resource> defined, and the MinOccurs property is set to 'Once'. This means that the design of your XMLPort specifies that this element MUST at least have one occurrance. If that element doesn't have to be there, you can set the property to 'Zero'.
The reason that the error is occuring is that the XMLPort is expecting an element that is not there. I've never seen an XMLPort delete anything from a file, if it indeed does that, there should be code in there, it does not just wipe out the content of a file.
How did you determine that it deletes data?
When I look at the file after the error occurs it's empty. It's 0kb, and when I open it in notepad there is no lines in it. To begin with it had about 50 lines of data.
I'd have to debug that process and see for myself what is going on. Like I said I've never seen an XMLPort just automatically wipe out the content of a file. Did you ask your NAV partner?
Business Applications communities