Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Xmlport in BC365

(0) ShareShare
ReportReport
Posted on by 231

Hello there.

I need to create an xmlport that will accept some user input such as begin and end dates.

I created this in BC and I found that there is a limitation where the request page can not be displayed on an xmlport.

So I went around it and created a report that will capture the user input values and pass to the xmlport.

My code is as follows in the report.

trigger OnAfterGetRecord()
begin
   xmlfile50000.getdates(begindate,enddate);    //sending user input values to the XMLport.
   xmlfile50000.run();
end;
The XMLfile50000.run produces an error .
How do I get around this ? I realize there are limitations to BC365, but I should be able to do this simple task.
Any ideas/suggestions ??

*This post is locked for comments

  • Armela Kamenica Profile Picture
    231 on at
    RE: Xmlport in BC365

    That did it.

    Set the following property on the xmlport

    UseRequestPage = false;

    Thank you very much.

  • Verified answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    13,637 Moderator on at
    RE: Xmlport in BC365

    Did you disable the request page ?

  • Armela Kamenica Profile Picture
    231 on at
    RE: Xmlport in BC365

    I get a blank browser page that says:

    Something went wrong.

    An error has occurred

    Date and time: Fri, 31 May 2019 15:09:14 GMT

    Azure AD tenant ID: common

    Go back home

  • Teddy Herryanto (That NAV Guy) Profile Picture
    13,637 Moderator on at
    RE: Xmlport in BC365

    What error did you get ?

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans