Perfil de Santosh KumarSantosh Kumar Paruvella'...BlogListasLibro de visitasMás ![]() | Ayuda |
|
|
21 mayo Dynamics Ax 2009 - Enterprise Portal Development Session by Microsoft TeamWow… Now we have a complete video session for the development of Enterprise Portal in Dynamics Ax 2009. Here we can find that link from channel9 Dynamics AX Enterprise Portal Development Webinar – Recording http://channel9.msdn.com/posts/diwakarb/Dynamics-AX-Enterprise-Portal-Development-Webinar/ Thanks to Microsoft EP Team. 14 mayo AxD Class Development – Security Key IssueAxD class Development – Security Key Issue: If we are developing the new AxD class and that AxD class we want to use through Web Services. Make sure that Service node of that corresponding AxD class has appropriate security key, otherwise the Services from that AxD class will not available for the end user. Dynamics Ax will throw the following error from this place Path: \Classes\AifRequestProcessor\verifyRequestIsAllowed -- Line no.7 Error: The user 'santo' does not have access to the service 'HNDWebLoginElementsService'. My space on Dynamics Ax Community.I am very happy to say all my blog readers, now my space is listed in Microsoft Dynamics Community site. Here we can find my space link in Microsoft Dynamics Community. https://community.dynamics.com/blogs/axsantoshkumar/default.aspx07 mayo Dynamics Ax - Business Connector IssuesIf we have multiple AOS’s, how the business connector works is, Business connector will log on to Microsoft Dynamics using the first available configuration from the registry and use it.
For example if we have AOS-I and AOS-II and in registry the active one is AOS-II.
But we want to work with AOS-I, like using AIF –Web Services and Enterprise Portal. How we can achieve this problem?
Solution is here:
Create the client configuration file for AOS-I and save it in local disk.
For AIF Web Services: Go to the IIS àWeb sites à Default websites àMicrosoft DynamicsAxAif50 Find the web.config file and open for edit and add following lines by finding <appSettings> the tag in that config file.
<appSettings> <add key="BUSINESS_CONNECTOR_CONFIGURATION" value="C:\Standard_BC_USR_2009.axc"/> </appSettings>
For EP: Go to the IIS and select the corresponding virtual folder for the share point portal and select the web.config file for edit and add the following lines to that web config file.
<Microsoft.Dynamics> <Session Timeout="15" Configuration="C:\Standard_BC_USR_2009.axc" /> </Microsoft.Dynamics>
In this way, we can work with selective AOS, even though we have multiple AOS’s. 05 mayo Dynamics Ax in Outlook Part - IIDisplaying Dynamics Ax – EP –Role center pages in Outlook This article is continuation of my previous article in this blog is Dynamics Ax in Outlook Part - I (Creation of Dynamics Ax - Customer from Outlook). http://paruvella.spaces.live.com/blog/cns!F2EC589E221A4DB0!193.entry . Now in this example I am giving the example C# code for displaying the Dynamics –Ax –EP –Role Center pages in MS –Outlook. See the following figure EP –Role center pages displayed in my mail box.
Add the following C# code in this class ThisAddIn.cs private void CreateCustomerFolder() { Outlook.NameSpace session = this.Application.Session;
Outlook.MAPIFolder cust = (Outlook.MAPIFolder)session.GetDefaultFolder(Microsoft.Office.Interop.Outlook.OlDefaultFolders.olFolderInbox).Parent;
Outlook.MAPIFolder custCreate = cust.Folders.Add("Customer", Microsoft.Office.Interop.Outlook.OlDefaultFolders.olFolderInbox);
custCreate.WebViewAllowNavigation = true; //This is our EP site custCreate.WebViewURL = "http://ban-srv-ax:86/sites/DynamicsAx"; custCreate.WebViewOn = true; }
And call this method from the following method private void ThisAddIn_Startup(object sender, System.EventArgs e) { RemoveMenubar(); AddMenuBar(); CreateCustomerFolder(); //See here I am calling that method here. } Compile the entire application and build. Run the application now you will see the new folder called Customer in the mail box hierarchy. Click on the customer now we can see the Role center page in outlook. What a great thing, I had done all these application by referring MSDN. My heart full and great full thanks to MSDN. Dynamics Ax in Outlook Part - ICreation of Dynamics Ax - Customer from Outlook In this article the example of application is, Dynamics Ax is integrated in Outlook. In my example application, can create the customer from Outlook also. This has been done with the help of Dynamics –Ax –AIF –Web Services and VBA code (VSTO applications). May be there is so many ways, but I had done with the following approach. For this application requirement is: a) Dynamics Ax – AIF –Web Services b) Visual Studio -2008 c) Office 2007 Application Development steps: 1) Open Visual Studio – 2008. File à New àProject one window will be opened.
2) In the left pane of the window select Visual C# and under that hierarchy, select Office in that office select office 2007.
3) Then in the right side of the pane select Outlook Add-ins 2007.
4) Give the name of the application as OutlookDynamicsAxMenu.
5) Add the following references to the Solution/Project. A) Microsoft Office 12.0 Object Library B) Microsoft.Office.Interop.Outlook C) Microsoft.Office.Tools.Common.v9.0 D) Microsoft.Office.Tools.Outlook.v9.0 E) Microsoft.Office.Tools.v9.0 F) Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0 G) Microsoft.VisualStudio.Tools.Office.Runtime.v9.0 6) Add our Dynamics –Ax –AIF – AxdCustGroup Web Service and add AxdCustomer Web Service also.
7) Add the new Form to this project. Design and code the form similar to my previous application in this same blog. For quick reference see the following link. http://paruvella.spaces.live.com/blog/cns!F2EC589E221A4DB0!189.entry
8) We have to do the actual integration code in this class ThisAddIn.cs. This class can be find in the solution explorer under the Outlook node. This Outlook node can be after the References node.
9) The form which is developed in step-7 will be called in this class, based on click event of newly created Menu Item (Creation of customer).
10) Now find the actual integration code in the following link.
11) After adding the above code compile the project/solution and run the application.
12) Now we will find the new menu in outlook as shown in following figure.
13) Now click on the Creation of customer menu item under Customer Menu.
14) Form will be opened and provide the required details and click on Create button on the form.
15) New customer will be created in Dynamics Ax and a message will be populated. This is how Dynamics Ax is integrated in Outlook. Watch this blog some more articles are upcoming , for bringing the Dynamics Ax into MS –Outlook............ |
|
|