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

Parse HTML TABLE Header and Body

(1) ShareShare
ReportReport
Posted on by 5

Hi Im new to AL programming, I have a string in HTML table format (with table header and body) and I would like to iterate it over the table body and extract data from every row cell.

Any help on it will be appreciated, thank you

for example, I have this html :

<table>
    <thead>
        <tr>
            <th>Age</th>
            <th>Name</th>
            <th>Gender</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>24</td>
            <td>abc</td>
            <td>F</td>
        </tr>
    </tbody>
</table>
I have the same question (0)
  • Suggested answer
    DAnny3211 Profile Picture
    11,417 Super User 2026 Season 1 on at

    Hi

    there is nothing similar that does this in BC

    you should study a solution in A/L code, but in my opinion it is very very inconvenient

    it would be better to have an xml or a json

    DAniele

  • Suggested answer
    YUN ZHU Profile Picture
    99,055 Super User 2026 Season 1 on at

    Hi, You could try the following, but I don't see any practical value for it.

    Dynamics 365 Business Central: Using WebPageViewer Add-in (“Microsoft.Dynamics.Nav.Client.WebPageViewer”)

    https://yzhums.com/16061/

    pastedimage1670285439403v1.png

    Or, you can refer to Erik's video below

    https://www.youtube.com/watch?v=8TurwMAq54c

    pastedimage1670285581214v2.png

    Hope this helps.

    Thanks.

    ZHU

  • Qasim780 Profile Picture
    5 on at

    thanks yzhums   DAnny3211 

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,926 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,158 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 533 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans