MForms Automation / URI generator

Here is a tool that generates Smart Office URI to execute MForms Automation. The tool is interesting to launch M3 programs with parameters from third-party applications. For example, I could have an email message with a link in that launches OIS300/B to list the Orders of a specific Customer number, in one click, without having to type any Customer number or Sorting order; the URI would switch to Smart Office if it’s already open, or it would launch it and ask for user/password otherwise.

MForms Automation URIs have the syntax: mforms://_automation?data=xml where xml is the URI-encoded version of the MForms Automation XML. I call it the internal URI. In addition to MForms Automation, the internal URI could also be a Bookmark URI with a syntax like: mforms://bookmark/?program=MMS081&tablename=MITBAL&keys=MBCONO,100,MBWHLO,AA1,MBITNO,+9D8353.

That internal URI can be launched from a third-party application (i.e. not Smart Office) if it’s embedded in a second URI (the Smart Office installation point) with the syntax: http://server:port/LSO/LawsonClient.application?server=https://server:port/ESM&task=internalUri where internalUri is the internal URI that is also URI-encoded. I call it the external URI.

To access the URI generator, visit: http://ibrix.info/mfa/

 

Published by

thibaudatwork

M3 Technical Consultant

One thought on “MForms Automation / URI generator”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s