Announcement

Collapse
No announcement yet.

XML Email rejected by < and > and <unknown-fields>

Collapse
X
 
  • Filter
  • Time
Clear All
new posts

    XML Email rejected by < and > and <unknown-fields>

    Hi Commit,

    I would like to hear, how we are supposed to deal with this situation:

    I am updating an asset via XML E-mail. And we are not always in control of the data collected.
    An example on this is some collected data:

    <IconPath>C:\Program Files (x86)\Hewlett-Packard\HP Connection Manager\hpConnectionManager.exe</IconPath><ID>1</ID><Path>C:\Program Files (x86)\Hewlett-Packard\HP Connection Manager\hpConnectionManager.exe<Path><Parameters>O penMainWindow</Parameters></Toast></hpNotification>"

    The e-mail will be rejected by the CommitCRM with following error:
    *** Errors occurred while processing the attached Email.
    You should process this Email manually.
    Reason: Data import procedure halted due to an error in the field matching file.
    Invalid value in field mapping settings, in field:TITLE Does not exist in the CommitCRM dictionary.
    Invalid value in field mapping settings, in field:TEXT Does not exist in the CommitCRM dictionary.
    Invalid value in field mapping settings, in field:ICONPATH Does not exist in the CommitCRM dictionary.
    Invalid value in field mapping settings, in field:ID Does not exist in the CommitCRM dictionary.
    Invalid value in field mapping settings, in field:PATH Does not exist in the CommitCRM dictionary.
    Invalid value in field mapping settings, in field:PARAMETERS Does not exist in the CommitCRM dictionary.


    Is there a way, to include this or ignore this?

    Re: XML Email rejected by &lt; and &gt; and &lt;unknown-fields&gt;

    The problem is that XML data is included inside the content of a field...

    This should be resolved using the CDATA XML token.

    Wrap the data field content section with it and it should work.

    A CDATA section starts with <![CDATA[ and ends with ]]>

    Hope this helps.

    Comment

    Working...
    X