Friday, June 22, 2018

D365FO - Execute a job/runnable class outside of visual studio

In AX 2012 you had access to the AOT to run a job in non-prod and in production. However because you can no longer access the server itself nor visual studio which is now the AOT you may need to run a custom job created outside of visual studio. In order to do this we can run the following url

[D365FO main URL]/?cmp=[company]&mi=SysClassRunner&cls=[job/runnable class name]

OneBox Example:
https://usnconeboxax1aos.cloud.onebox.dynamics.com/?cmp=[company]&mi=SysClassRunner&cls=[job/runnable class name]
Example: https://usnconeboxax1aos.cloud.onebox.dynamics.com/?cmp=MyCompany&mi=SysClassRunner&cls=MyCustomJob

No comments:

Post a Comment