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 :
Finance | Project Operations, Human Resources, ...
Unanswered

Extension of AOT Query

(0) ShareShare
ReportReport
Posted on by 5

Hello everyone
Is it possible to create an extension for AOT Query?
At the outset, I would like to point out that I am new to Dynamics 365, previously I had no problems with the code of AX 2012 and earlier versions.
In Dynamics 365 I have XDS and I would like to disable XDS for eg HcmWorkerListPage_PastWorkers, I don't know if it is possible, and if it is, how should I do it?

I have the same question (0)
  • Modrzycki Profile Picture
    5 on at
    RE: Extension of AOT Query

    No! These aren't many questions, just one!

    I have XDS that runs on the HcmWorker table, limiting data access by employee position to the department where he was hired.

    We also have workers who have been made redundant, they don't have a department because they don't have a position. Or employees who have not been assigned a position.

    An example would be Query HcmWorkerListPage_PastWorkers, this query was built in AOT and is called from menuitem.

    In 2012, I would have walked it differently, but these is my first steps in Dynamics 365, so I have no idea what to do to make the user see such an old employee without an assigned department.

  • André Arnaud de Calavon Profile Picture
    297,389 Super User 2025 Season 2 on at
    RE: Extension of AOT Query

    Hi Modrzycki,

    It looks like you have multiple questions. Please create a post per question in future.

    1) There are options for query extensions. You can add fields, ranges, datasources.

    2) Can you tell more about the XDS policy you are using on the HcmWorkerLstPage_PastWorkers? Are you using a default one or is it part of a customization? In fact an XDS policy is not for a specific form, but is constraining data for tables and views.

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 775 User Group Leader

#2
Martin Dráb Profile Picture

Martin Dráb 634 Most Valuable Professional

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 622 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans