Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
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

Running a SysOperation service


When a user has to be able to run a service by starting it in the user interface, the menu item becomes an important part of a SysOperation service. As we have seen earlier, the menu item has the following properties that the SysOperation framework needs:

  • A parameters property that contains a reference to the service and service operation

  • An enum parameter that determines the execution mode

  • An object property where the controller that will be used is specified

  • A label that will be displayed on the dialog

We will look at the first two properties now, and discuss the others later in this chapter.

Service and service operation

The menu item is linked to the service and service operation in the Parameters property. The format in which this parameter should be provided is ServiceClass.ServiceOperation, where ServiceClass is the name of the service class, and ServiceOperation is the name of the service operation, separated by a period.

Execution modes

The SysOperation framework...

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 $19.99/month. Cancel anytime