Force Grid Refresh in Skelta when using Custom ASPX approval pages

issue
Customer would like to force grid refresh in AX Workflow Manager

solution
This code has to be the last line in their buttonsPage.ClientScript.RegisterClientScriptBlock(this.GetType(), "Refresh", ""); In Code behind add this javascript function:    function RefreshGrid()    {        if(typeof(self.opener) != 'undefined')        {            self.opener.RefreshGridfromdetwindow();        }        else        {            top.RefreshGridfromdetwindow();            //window.parent.RefreshGridfromdetwindow();        }                self.close();    } If they get a javascript error after clicking the button. All Custom ASPX pages need to be moved to:C:\Program Files\XtenderSolutions\Content Management\ApplicationXtender Workflow Manager\Web\BPMUITemplates\Default\Repository\Site Anything in your Web.config for your custom pages needs to be added to the web.config here:C:\Program Files\XtenderSolutions\Content Management\ApplicationXtender Workflow Manager\Web\EnterpriseConsole Your DLL from your apporval pages need to be placed here:C:\Program Files\XtenderSolutions\Content Management\ApplicationXtender Workflow Manager\Web\EnterpriseConsole\bin In your Workflow Map.  For all approval activities referencing your custom ASPX pages.  Change from:http:////toPage.aspx

Did you find this article helpful?