This is a brilliantly accessible book, packed with practical examples, that's perfect for business professionals who want to make more of the advanced features of. Extending Microsoft Dynamics AX Cookbook Murray Fife Chapter No. 10 " Web Services and Forms" In this package, you will find: A Biography of the. Microsoft Dynamics AX Development CookbookSolve real-world Microsoft Dynamics AX development problems with over.
|Language:||English, Spanish, Indonesian|
|Genre:||Business & Career|
|ePub File Size:||29.71 MB|
|PDF File Size:||17.29 MB|
|Distribution:||Free* [*Regsitration Required]|
Extending Microsoft Dynamics AX. Cookbook. Dynamics AX is a great application for businesses, but if you are just using it to track customers, sales. Aug 26, Extending Microsoft Dynamics AX Cookbook. This is a brilliantly accessible book, packed with practical examples, that's perfect for. Cookbook, and then in May , its second edition, Microsoft Dynamics AX In , Palle wrote a chapter titled Extending Microsoft Dynamics AX for Inside . Packt offers eBook versions of every book published, with PDF and ePub.
From within the AOT explorer, create a new project for the web service. No; vendTable. No ; mibPosting. The actual record will not be created, as it is out of scope of this example. Now, you should be able to see a new order within Dynamics AX that was created by your new InfoPath form.
Applies To: These guides are published in English only. Provides a summary of new and changed features in Microsoft Dynamics AX It also lists the features that have been removed and those that will be removed from future releases. System Requirements. Implementation Planning Guide. Provides prescriptive and architectural guidance to system architects, consultants, and IT professionals who are involved with planning a Microsoft Dynamics AX implementation.
Installation Guide. Upgrade Guide. Includes resources to help you plan an upgrade, upgrade to Microsoft Dynamics AX , and maintain the new environment. Sales; salesorder. Then, compile your web service.
When you compile your program and run it, you will be taken to the web interface for the new web service showing all of the methods that you've exposed. You can test your web service by fi lling in the parameters and then clicking on Invoke. This will perform the web service and return with the results of the call.
With a little bit of extra code, you can have the web service return back the order number as well. Using a Dynamics AX web service in an InfoPath form InfoPath allows you to quickly create data entry forms that can be saved locally, to SharePoint, and also update data in databases. Additionally, it is able to connect to web services and send and receive data through that channel as well. So once we have a web service wrapper built that links to Dynamics AX, we can create a form that will send information to it in order to add and update data.
In this recipe, we will show how you can create an InfoPath form that uses a Dynamics AX web service wrapper to publish information. Just check that it shows up within the Microsoft Offi ce program group.
To use a web service within an InfoPath form, follow these steps: Within the InfoPath designer, create a new form and select the Web Service template. Select the Submit data option, since our example will be sending information to the web service to update Dynamics AX, and then click on Next. If you don't know how to find the WSDL, just open up the web service that you are calling from InfoPath, and at the top of the page will be a link for Service Description. If you click on that, it will take you to the WSDL page.
If your web service has multiple operations published against it, you will see all of them listed in the next step in the wizard. Select the web service operation that you want your InfoPath form to use when submitting data and click on Next.
Finally, give your data connection a name and click on the Finish button.
Once the data connection is created, the web service parameters will show up as fi elds within the Fields browser.
You can add them to the form individually by dragging and dropping them over, or you can just grab the whole group of fi elds and drag them onto the form.
This will open up the Field or Group Properties window and you can specify the default value in the Value: In our example, we will default the Company: To see the form in action, click on the Preview button on the Home ribbon bar. This will open up the form in edit mode and you can fi ll in the remaining fi elds. Now, you should be able to see a new order within Dynamics AX that was created by your new InfoPath form. This is useful because they can be used as read-only data sources for other programs such as InfoPath.
In this recipe, we will show how you can register your o wn custom query within Dynamics AX, and then access it through the OData Query web service.
To create an OData query, follow these steps: To access a query through the OData Query feature, we open the Document data sources form from the Organization Administration area page within the Document Management folder of the Setup group.
To create a new query, click on the New button in the menu bar. The Document data sources reference the queries that are built within AOT. Usually, you don't have to build a whole new query because you can use one of the existing ones as a basis. Select a module that you would like the data source to be associated with, and then select Custom Query for the data source type.
If you just want to query the table with no fi lter, you could select the Query Reference option, but we want to fi lter the data before it's sent to us. In this recipe we want a list of customers; so the CustTableListPage works for us.
On selecting the data source name, AX will open up a query panel, where we can add whatever fi lters we want, and then we can click on OK to save.
You may want to change the data source name to help you recognize what it is associated with, and then maybe add a description. Finally, to enable the document data source to be used in the queries, select the Activated checkbox. For the following example, we also need to create a second document data source that queries the EcoResProductListPage, to return back all of the products in the database. Now that the query is published as a document data source, you can access it through a URL with this format: It will return back all of the data.
Building InfoPath lookups using OData queries A feature of InfoPath that makes forms even more useful is the ability to allow fi elds to be populated with dynamic data coming from static lists, databases, and also web data sources, so that users do not have to remember fi eld values such as part codes and customer numbers.
Since you are able to query Dynamics AX data through web queries, we can use these queries to create dynamic lookups in our forms. In this recipe, we will show how you can turn text fi elds into drop-down lists that use OData queries as a data source.
To use an OData query as a data source for a fi eld, follow these steps: We need to fi rst defi ne the data source. To store the data source with the form, select the Include option from the data source location section and click on Next. Finally, give your data source a name and click on Finish. To use the data source within a fi eld, fi rst you need to change the fi eld's control type to one that will show the data. Chapter Once the control has been changed, right-click on the fi eld again and select the Drop-Down List Properties option.
Change the List box choice from Enter choice manually to Get choice from an external data source and from the Data source dropdown, you will be able to fi nd the XML data source that you just created. To specify what data is shown in the drop-down box, click on the tree navigation icon to the right of the Entries fi eld.
When the XML tree navigator is displayed, fi nd the content node and select it. Selecting the content node will make our drop-down box fi lter out the metadata information in the XML fi le that is returned from the OData query, so that we can see all the real records. Next, click on the tree navigation icon to the right of the Value: This will open up the XML tree navigator again and you can select any of the fi elds from the query.
Now when you preview the form, all the customer information will be populated for you to pick from. By changing the layout of the InfoPath form to have a little bit of a larger font, adding some formatting columns to the body of the form, changing the drop-down fi elds to list selections, and adding a submit image, we can create a kiosk form that is populated from Dynamics AX, and also create sales orders based on the selections.
When you use it in conjunction with Dynamics AX and just a little bit of coding, it becomes even more useful because you are able to create forms that feed back into the database. In addition to what we showed you in this chapter, you can also: Publish your forms to a SharePoint Forms repository allowing users to access the latest form templates from a centralized location. If you change the template on SharePoint, the users' local copies will also be upgraded ensuring that they always have the latest version.
Host the InfoPath forms on a SharePoint site, allowing users to fi ll in the forms without even having InfoPath installed. This allows you to create forms that customers, vendors, or employees could fi ll out that could update Dynamics AX. These document libraries could be linked to records just like the traditional fi le document libraries that were shown in the earlier chapters. Other ideas on where you may want to capture information through InfoPath forms could include: Sales people using them to capture store survey information.
Pictures from Surface devices could be added to the InfoPath form data as image attachments. Logging of quality issues as Cases within Dynamics AX by mobile users without having to log in to be tethered to a normal PC.
Capturing lead and prospect information through a simple table-based form. Simple inquires such as customer details through web-based forms. Who would have guessed that such an overlooked product could be so useful! For more information, please read our shipping policy. Alternatively, you can buy the book from Amazon, BN.
Sitecore CMS 6. Experience the Microsoft Office System The Microsoft Office system includes programs, servers, services, and solutions designed to work together to help you succeed.
New features in the When you subscribe to an RSS feed also known as a news feed. A Biography of the author of the book A preview chapter.
Creating a document type Allowing document types on locked records Creating a document data source. Microsoft Office Portal Once you logon, you are placed in the Admin page if you are an adminstrator. SQL Server Report Builder Learn how to create web enabled browser forms in InfoPath and publish them in SharePoint A Biography of the author of the book A preview chapter from the book,.
This is intended as a light introduction to some of the. Earlier versions of Sohodox created and used a MS Access based database for storing indexing data and other. ProperSync 1. Microsoft Lync Contents Installing Lync Rackspace Hosting Author. Introduction TeamDirection IntelliGantt solutions allows you and the rest of your project team to collaborate on your projects together.
Using Decomposition Trees to drill into the analytical charts. Chapter 4: Communication and Collaboration. Using Lync to collaborate with other users directly from Dynamics AX. Chapter 5: Using Cases to Manage Incidents and Requests.
Chapter 6: Organizing Your Workflows. Chapter 7: Reporting in Office. Chapter 8: Talking to the Outside World. Adding login accounts for customers in Active Directory. Adding images and presentation information to product catalogs.
Chapter 9: Creating Help. Chapter Web Services and Forms. Role Center Personalization and Customization. What You Will Learn Easily create attractive dashboards and reports using Performance Point, PowerView and Excel Improve and maximize the potential of user communication and collaboration with Outlook and Lync Create and configure roles centers for your users Build personal portals and document libraries within SharePoint Create a streamlined organization through workflows Build new help files specific to your business Develop personalized and customized screens.
Authors Murray Fife. Like most people he has paid his dues as a developer, as an implementation consultant, and a trainer. He has a hard-to-find blend of technical and interpersonal skills and spends his days working with companies solving their problems with the Microsoft suite of products, specializing in Dynamics AX solutions. Read More. Read More Reviews.
Recommended for You. All Rights Reserved.
This structured approach enables you to select the pathway which best suits your knowledge level, learning style and task objectives. As a new user, these step-by-step tutorial guides will give you all the practical skills necessary to become competent and efficient.
Beginner's Guide. Friendly, informal tutorials that provide a practical introduction using examples, activities, and challenges. Fast paced, concentrated introductions showing the quickest way to put the tool to work in the real world.