AX2012/D365FnO – HOW TO EXECUTE THE RUNNABLE CLASS USING URL IN D365FO

D365fno-PostImage

In this blog post, I will show you how to run the runnable class using the URL in D365FnO.

You can execute a Runnable class in different methods.

  • One method is to create a menu item for it and add it to a form. Then you can run it from the Menu item.
  • Another method is configuring your project and Runnable class as the startup objects in Visual Studio and running it from there.
  • Launching it from your web browser using a URL is a third method.

We can directly Run the class using the URL.

https://<d365fo-instance>/?cmp= company>&mi=SysClassRunner &cls=MyRunnableClass

Parameters:

  • d365fo-instance =  https://usnconeboxax1aos.cloud .onebox.dynamics.com
  • cmp = company name where you want to run the class e.g. USMF
  • cls = runnable class name e.g. SalesOrderCount

https://usnconeboxax1aos.cloud. onebox.dynamics.com/?cmp=USMF&mi=SysClassRunner &cls=SalesOrderCount

This is how you can execute the runnable class using the URL in D365FnO. I hope you found this blog post helpful and informative.

This site uses cookies to offer you a better browsing experience. By browsing this website, you agree to our use of cookies.