web
You’re offline. This is a read only version of the page.
close
Skip to main content
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

I have the same question (0)
  • 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
    14,008 Super User 2025 Season 2 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
    14,008 Super User 2025 Season 2 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

Responsible AI policies

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

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans