I am trying to import some order lines with XML-port
It works fine if I choose to user <TAB> as fieldseparator.
But when I try to use <;> as fieldseparator and <"> as Fielddelimeter ("ord123";"1234567";"Item1";"3") I get the following error
The Element was expected by the value Min Occurs: Once
0
Answers
The Error Occurs When Suppose you want to Import Like 3 Fields= Field1,Field2,Field3
And the File that you are importing having Records like -
1,2,3
1,,3
1,,2
1,2,4
If you go the XmlPort Nodes you can specify Min Occurrence to Zero, that means if its not there even then it will import records.
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page
I have tryed to make a video of the problem :-)
http://www.screencast.com/users/JoergenSkakLund/folders/Snagit/media/ef1de324-7126-43f5-aa16-63565e1fe963
It looks like your fielddelimiter is shown in bold in your video. Bold means changed and NAV will look for '<,>' and '<">' (3 characters) when looking for fieldseparator and delimiter
/Juha
I found the problem.
When i removed the <> and just enterede " and ; it works ?!