With D365fO we have couple of ways to run classes in our environments.
The first one is to make a menu item, attach the class to it and put that on a form to call it then.
Another one is to set the class as startup object for a project in Visual Studio and run this project.
The third is using
SysClassRunner query parameter in the URL of the environment.
The syntax is:
For sure this URL could be saved as a bookmark but then every time we need to wait until the class of the bookmarked URL is run, change the query parameter to the new class we'd like to run and wait again.
This will prompt you for the name of the class and the company. You can set the defaults in the second parameter of the
prompt() function. For example if you test in a specific company most of the time, you'll likely set it as default.
Subscribe to robsCode
Get the latest posts delivered right to your inbox