Ways to run runnable class in d365fo

 A runable class can be run in many methods, one is to attach a menu item and then execute that class from the menu item. Another method is to run from Visual Studio to set up your project as the startup object and your runnable class as the startup object, then execute it from there, You can run directly from the browser.


Run any Runnable class directly from the browser is pretty simple. 

https://URL> /?cmp=USMF&mi=SysClassRunner&cls=test
Parameters:
cmp = Your company name e.g USMF
cls = Your Runnable class name e.g. test

Comments

Popular posts from this blog

JSON-Based HTTP POST Request from X++ to Retrieve an Access Token

Calling an External API from D365FO Using X++ to Retrieve a Token

Restricting Date Selection in Dynamics 365 FO using X++