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 :
Microsoft Dynamics AX (Archived)

Customize xml output of a document service in x++ class

(0) ShareShare
ReportReport
Posted on by 330

I had generate a document service on a query over WMSPickingRoute by wizard. I have created an outbound port and selected the service operation that I previously created.

I'd like to add in the field list of the form Document data policy any other "fields" by customize the class X++ generated by the wizard. Is it possible ? What class I have to modify and what operation I have to perform to view the modification ?

Thanks in advance.

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    239,178 Most Valuable Professional on at

    Yes, you can modify it. But I can't tell which name you used.

    But if you want extra tables, shouldn't you add them to the query and regenerate the classes, before jumping into manual changes?

    I'm not sure what you mean by "view the modification". Please elaborate.

  • SaverioT Profile Picture
    330 on at

    I just have the method that retrive the information; I'd like to expose them inside a parm method in a Ax<Table>, but I can't find it.

    With "view the modification" I mean something like refresh the service, after apply the modify in the AX<Table> class.

    I think that the xsd schema of the service drive the form "Document data policy" that show the field that I can check to change the xml output, but I'm not sure when the schema it's recreate.

  • Martin Dráb Profile Picture
    239,178 Most Valuable Professional on at

    The schema can be refreshed from AifService form.

    What you can't find? Your custom Ax<Table> class? Did you generate any?

  • Suggested answer
    SaverioT Profile Picture
    330 on at

    A colleague of mine resolve by relaunch the wizard, checking the flag for create AxBC class.

    I think it was a malfunction of the update tool Update Document service; it was necessary to recreate the document service from scratch.

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 March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 16

#2
GiacomoRovai Profile Picture

GiacomoRovai 4

#3
Douglas Noel Profile Picture

Douglas Noel 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans