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)

XDS methods Refresh frequency

(0) ShareShare
ReportReport
Posted on by

Hi all,

When using eXtensible Data Security, sometimes a temporary table is used with an XDS method. In my case, I want to filter the purchase orders based on users who are in a role. For example:

The user who has assigned the role named "XXXX" can only see the purchase orders created by him or by the other users that have assigned the "XXXX" role(and this with all the roles). For that we have a temporaly table where we save the users names than are going to be filtered in the purchase orders, inserting then in a table methos named "XDS". And the return of than table is "return RefreshFrequency::PerInvocation;".(We decided not to use a comma separated range because it was too long).

The problem is that when we try to create a new Purchase Order, Ax gets hangs.


One solution could be putting the refreshFrequency "PerSession", but the same user can access diferent companies, so we can´t do it, because it is going to be filtered with the values of the first company.

Does anyone know if I could enforce a rebuild even if the user has not logged out?
I have read about flushXDSMyConstructs and I'm going to try it, but y don´t where I have to call the method...

If anyone could help me... It will be great!! Thanks everbody!

*This post is locked for comments

I have the same question (0)

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
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans