![]() |
VOOZH | about |
The CData Excel Add-In for Dynamics NAV provides formulas that can edit, save, and delete Dynamics NAV data. The following three steps show how you can automate the following task: Search Dynamics NAV data for a user-specified value and then organize the results into an Excel spreadsheet.
The syntax of the CDATAQUERY formula is the following:
=CDATAQUERY(Query, [Connection], [Parameters], [ResultLocation]);
This formula requires three inputs:
Connection: Either the connection name, such as DynamicsNAVConnection1, or a connection string. The connection string consists of the required properties for connecting to Dynamics NAV data, separated by semicolons.
Before you can connect, OData Services will need to be enabled on the server. Once OData Services are enabled, you will be able to query any Services that are published on the server.
The User and Password properties, under the Authentication section, must be set to valid Dynamics NAV user credentials. In addition, specify a URL to a valid Dynamics NAV server organization root and a ServerInstance. If there is not a Service Default Company for the server, set the Company as well.
The procedure below results in a spreadsheet that organizes all the formula inputs in the first column.
=CDATAQUERY("SELECT * FROM Customer WHERE Name = '"&B4&"'","http://myserver:7048="&B1&";User="&B2&";Password="&B3&";ServerInstance="&B4&";Provider=DynamicsNAV",B5)
👁 Formula inputs used in this example. (Google Apps is shown.)Download a free trial of the Excel Add-In for Dynamics NAV to get started:
Download NowLearn more:
👁 Dynamics NAV IconThe Dynamics NAV Excel Add-In is a powerful tool that allows you to connect with live Dynamics NAV data, directly from Microsoft Excel.
Use Excel to read, write, and update Items, Sales Orders, Purchase Orders, etc. Perfect for mass imports / exports / updates, data cleansing & de-duplication, Excel based data analysis, and more!