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

Announcements

No record found.

News and Announcements icon
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,172 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,012 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 986 Super User 2026 Season 1

#3
Teagen Boll Profile Picture

Teagen Boll 659 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans