Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Microsoft Dynamics AX 2012 Services

You're reading from   Microsoft Dynamics AX 2012 Services Everything you need to know about implementing services with Microsoft Dynamics AX 2012 is contained in this hands-on guide. Easy to follow and totally practical, it's a must for both new and experienced AX Dynamics developers.

Arrow left icon
Product type Paperback
Published in Dec 2012
Publisher Packt
ISBN-13 9781849687546
Length 196 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Metadata service


The metadata service allows external consumers to obtain information about the AOT objects within Microsoft Dynamics AX, such as tables, queries, forms, and so on. When we take a look at the operations available on the service, we can see the following two types of operations:

  • Operations that return a list of object names, such as the GetQueryNames operation which returns a list of query names available in the system

  • Operations that return metadata of one particular object to the consumer, such as the GetTableMetaData operation which takes a list of table names and returns all of the metadata information available for these tables

    Note

    You can find detailed class diagrams on MSDN describing the metadata classes at http://msdn.microsoft.com/en-us/library/gg845212.

Filling the combobox

Let's start by taking a look at the code that is executed when the form loads.

To fill the combobox, we need to use the GetQueryNames operation on the metadata service and filter the results to show...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime