Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 73760

setXDSContext() in forms?

$
0
0

Hi Ax-perts,

I found out, it's possible to change the XDS Context in a method, e.g. by table.setXDSContext("<new context>"). So the XDS Policy is not in use anymore, and it is possible to access records, which would normally out of scope for the user. So far, so good.

I didn't manage, to do the same in a form - I think, I tried everything, putting the call of .setXDSContext() in every method of the form - but it didn't work for me.

Has anyone an idea, why? Or is there another way, to disable a XDS-policy in a specific form?

Thank you in advance!

Bert


Viewing all articles
Browse latest Browse all 73760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>