Santosh Kumar's profileSantosh Kumar Paruvella'...BlogListsGuestbookMore Tools Help

Santosh Kumar Paruvella's space

Santosh Kumar Paruvella

Occupation
Location
Interests
Developing the Outlook add-ins for Dynamics Ax features.

Feed

The owner hasn't specified a feed for this module yet.
Public folders
Thanks for visiting!
Please wait...
Sorry, the comment you entered is too long. Please shorten it.
You didn't enter anything. Please try again.
Sorry, we can't add your comment right now. Please try again later.
To add a comment, you need permission from your parent. Ask for permission
Your parent has turned off comments.
Sorry, we can't delete your comment right now. Please try again later.
You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
Complete the security check below to finish leaving your comment.
The characters you type in the security check must match the characters in the picture or audio.
November 10

Using the Ax-Resource nodes as Metadata

In this example, I am storing XML file as Resource under AOT of Dynamics Ax.

Also I am able to get back that resource as xml file, retrieving the file contents and use the same in our Business logic according to our needs.

In the same way we can use Resources as Metadata. Smile

For a quick view of the new Resource node, see the following figure.

Find the related jobs at the following path, this path contains two jobs for

1)      Creation of new resource file.

2)      Reading the same resource as file.

http://cid-f2ec589e221a4db0.skydrive.live.com/self.aspx/.Public/Resource%20nodes%20as%20Metadata/Resource%20nodes%20as%20metadata%20xpos.zip 

For this article I got basic inputs from one of my previous colleague Santosh blog and also from MS employee Dilip (DaxDilip) blog.

Thanks to both of you. Smile

November 02

Different styles (*.css) for our EP pages of Ax 2009

We can apply our custom styles for the newly developed pages or customized pages of EP.

The following link gives in idea about, how to create our own custom css file and deploy the same in to web server.

 
Rainbow..... Auto

Hints on Workflow implementation for EP in Ax 2009

When we are developing the workflow for EP in Dynamics Ax 2009,

We won’t find the workflow related control on the Tool box list, as we are finding other controls like AxGridView etc.

For this explicitly we need to add the Markup tags to the control.

Select the AxUserControl, right click and select the View Markup

Add the following lines in the markup view (change the properties accordingly as your scenarios)

<%@ Register Assembly="Microsoft.Dynamics.Framework.Portal, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

    Namespace="Microsoft.Dynamics.Framework.Portal.UI.WebControls.Workflow" TagPrefix="dynamics" %>

 

<dynamics:AxWorkflowActionBar ID="WorkflowActionBar" runat="server"

    DataMember="ProjProposalJour_Current"

    DataSourceID="dsEPProjProposalInfo"     onworkflowworkitemactioncompleted="WorkflowActionBar_WorkflowWorkItemActionCompleted" />

<dynamics:AxDataSource ID="dsEPProjProposalInfo" runat="server" DataSetName="EPProjProposalInfo" />

 

Observe form the above markup tags AxWorkflowActionBar and AxDataSource are connected using AxDatasource ID. (Properties mentioned in green color)

 

To implement the methods related to workflow control in the code behind sheet (in Actual C# code sheet), add the following line.

 

using Microsoft.Dynamics.Framework.Portal.UI.WebControls.Workflow; 

 

For more details and how to implemnet the worklfow for EP pages, go through the following link. 

http://blogs.msdn.com/solutions/archive/2008/07/30/using-microsoft-dynamics-ax-2009-workflow-controls-in-ep.aspx

Computer.....     E-mail....    Boy

 

October 07

Target date not found in work calendar error of Workflow in Dynamics Ax

Well… Party Now I had got a chance to work on Workflow in Dynamics Ax 2009.

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.

 
Note.... Gift with a bow
October 05

Hide/Show the Dynamics Ax EP web parts

In 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;

            }

        }

    }

Smile