Skip to content

Instantly share code, notes, and snippets.

@ztirom

ztirom/dialog Secret

Last active April 22, 2016 17:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ztirom/64b2dc2169f9898b57607b0d63763f20 to your computer and use it in GitHub Desktop.
Save ztirom/64b2dc2169f9898b57607b0d63763f20 to your computer and use it in GitHub Desktop.
Delete WHS Mobile Device Portal User Session in AX2012
protected Object dialog()
{
Dialog dialog;
FormStringControl control;
dialog = super();
dialog.caption("WHS: Reset user session");
  fieldWHSUserId = dialog.addField(extendedTypeStr(WHSUserId), "Select User");
control = fieldWHSUserId.control();
control.registerOverrideMethod(methodStr(FormStringControl, lookup),
methodStr(WHSUserSession, lookup), this);
return dialog;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment