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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

AIF Document Services... Field not included in Document Schema

(0) ShareShare
ReportReport
Posted on by 2

Hi there,

I have created a document service based on a query which includes the table, DirPartyLocation.

When I generate the document service using the AIF wizard, the field 'IsPostalAddress' is not included in the document schema and the subsequent data contract class doesn't not contain the parameter method for this field.

Does anyone know what would cause this field to be missing? All the other fields are included in the schema. I noticed that in the foundation model, the visibility property of this fields is set to 'No', however I updated this to 'yes' but still got the same behaviour.

The query is using dynamics fields, therefore the 'IsPostalAddress' field is included in the query.

Any ideas anyone?

Thanks in advance,

Nick

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi Nick,

    Have you been able to find a solution to this issue. I am facing the exact same problem.

    Thanks,

    Jed

  • Suggested answer
    Community Member Profile Picture
    on at

    Nick and Jed, try adding a parm method for IsPostalAddress in the AxDirPartyLocation class.

    I faced a similar problem and blogged it at janeteblake.wordpress.com/.../using-the-excel-add-in-to-update-custom-fields

    Good luck

    Janet

  • Suggested answer
    Dick Wenning Profile Picture
    8,705 Moderator on at

    the field property on the table is set to visible non, so it will disappear.

    Perhaps you can override the initFieldAccessOverrides on the axdclass.

    it is normally used for overrule allowedit only on create to overrule

  • Community Member Profile Picture
    on at

    Thanks,

    In my case the solution turned out to be simply refreshing the services. The second note on this MSDN page was my first clue:

    msdn.microsoft.com/.../aa873749.aspx

    Jed

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 3

#3
Scott_itD Profile Picture

Scott_itD 2 Community Manager

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans