Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Microsoft Dynamics AX 2012 Services

You're reading from  Microsoft Dynamics AX 2012 Services

Product type Book
Published in Dec 2012
Publisher Packt
ISBN-13 9781849687546
Pages 196 pages
Edition 1st Edition
Languages

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 €14.99/month. Cancel anytime}