hljs.configure({cssSelector: "code"}); hljs.highlightAll();

Thursday, October 29, 2020

Hiding General tab in Sysoperation framework in ax 2012

place this code in  your controller class

protected void dialogPostRun()

{

   sysOperationDialog sysOperationDialog;

   DialogTabPage batchTab;

   FormRun formRun;

   super();

   sysOperationDialog = this.dialog() as SysOperationDialog;

   formRun = sysOperationDialog.formRun();

   batchTab = sysOperationDialog.batchDialogTabPage();

   formRun.selectControl(batchTab.control());

}

No comments:

Post a Comment