web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Unexpected end tag error in BC15 wave 2

(0) ShareShare
ReportReport
Posted on by 10

Hi all,

I have a simple variable text XMLport which imports data into two fields of a custom table.

err2.jpg

But I get the following error when I pass 'invoice' as transaction type and transaction ID 1.

err1.jpg

This is how I'm testing it:-

Untitled.jpg

I am clueless on what is wrong. Any help would be highly appreciated.

Thanks

I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    From the error it seems that you’ve something wrong in your XML file accordingly to the XMLport mapping schema.

    Please check how you’ve defined fields in your XMLport.

  • Manjusree S Profile Picture
    10 on at

    Hi,

    Thank you for your reply.

    I use the following code to test my import:-

           ITLog.Reset();

           IF ITLog.Get(EntryNo) then

               ITLog.CalcFields(XMLfile);

           ITLog."XMLFile".CREATEINSTREAM(PJInstream);

           testBigtext.Read(PJInstream);

           ImportPJXMLport.SetSource(PJInstream);

           ImportPJXMLport.Import();

    testBigtext.Read(PJInstream);>>> testBigtext variable shows 'Invoice,1'. My XML schema is also in the same order.

    6471.err2.jpg

    Unable to identify where I am wrong.

    Thanks again.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,785

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,007 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 948 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans