Navision not accepting special characters like & < an

blumenhause
Member Posts: 3
Hi,
I'm in a project where I want to update details from an xml file in to Navision Employee Table using an XML Port. This XML file is generated from a third party application, and in that user can enter any character in the address field. So I try to encode the data and create xml file. Still Navision is not decoding data properly. < is changed to < and greater than is changed to > XML file will not handle &, so I dont know what to do.
What should I do to change this behavior of Navision?
Regards,
Blumen
I'm in a project where I want to update details from an xml file in to Navision Employee Table using an XML Port. This XML file is generated from a third party application, and in that user can enter any character in the address field. So I try to encode the data and create xml file. Still Navision is not decoding data properly. < is changed to < and greater than is changed to > XML file will not handle &, so I dont know what to do.
What should I do to change this behavior of Navision?
Regards,
Blumen
Regards,
Blumen
Blumen
0
Comments
-
The characters must be encoded - because theyhave special meaning in XML and thus cannot be used directly. But I assume that importing this XML will lead to correctly decoded characters.
I do not understand what you wrote: you mean that in the file from 3rd party app the data are encoded but NAV is not decoding them back during import? Is it true? If yes, you will need to add some decode function which will replace the strings with the corresponding character.0 -
kine wrote:I do not understand what you wrote: you mean that in the file from 3rd party app the data are encoded but NAV is not decoding them back during import? Is it true? If yes, you will need to add some decode function which will replace the strings with the corresponding character.
I have a web application which is used to create new Employee, there user enters Employee details, name, age, sex, address etc. That is saved in to a database. I take this data and write an XML file. Navision reads this XML file and updates is EMployee table 5200.
But if Address field contains special characters <, > and & it is not decoding them properly. I'm encoding them and writing XML file.Regards,
Blumen0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions