Perfil de Santosh KumarSantosh Kumar Paruvella'...BlogListasLibro de visitasMás ![]() | Ayuda |
|
|
07 octubre Target date not found in work calendar error of Workflow in Dynamics AxWell… My experience on this same thing, I want to share with my blog readers. While working on workflow in Dynamics Ax 2009, I had faced the following error. Error: Target date not found in work calendar error To resolve this error go through the document at the following location. 05 octubre Hide/Show the Dynamics Ax EP web partsIn some scenarios, in a single web page we need to Hide/Show the certain web parts based on the user profile. By using the following code snippets we can Hide the web parts of the page.
This example is for Hiding 1) AxToolbarWebPart 2) AxUserControlWebPart
Hidding the Toolbar
private void hideWebMenuToolBar() { WebPartManager webPartManager = WebPartManager.GetCurrentWebPartManager(this.Page) as WebPartManager; AxToolbarWebPart toolBarWebPart;
for (int i = 0; i < webPartManager.WebParts.Count; i++) { toolBarWebPart = webPartManager.WebParts[i] as AxToolbarWebPart;
if (toolBarWebPart != null && toolBarWebPart.WebMenuName == "TmCustomers") { toolBarWebPart.Hidden = true; break; }
} }
Hidding the User control webpart
private void hideWebPart() { WebPartManager webPartManager = WebPartManager.GetCurrentWebPartManager(this.Page) as WebPartManager; AxUserControlWebPart webPart;
for (int i = 0; i < webPartManager.WebParts.Count; i++) { webPart = webPartManager.WebParts[i] as AxUserControlWebPart;
if (webPart != null && webPart.ManagedContentItem == "TmMattersGrid") { webPart.Hidden = true; break; } } }
|
|
|