Sometimes you want to access a website directly from your Process Map. You may also want to parameterize this call, so that it reacts dynamically to metadata changes. Other examples would be the integration of a web service via an URL such as Skype calls, your own maps on Google Maps, direct calls or text messages via telephone services that are connected e.g. via a TAPI interface. Many in-house applications already have web interfaces that can be accessed directly via your process map using this function.
Set a new command on your shape to call a custom uniform resource locator (URL), such as http requests or uniform resource identifiers (URI) as the Mailto schema in your process map (see also Create New Commands):
Properties
tab on the right-hand side. Commands
section by clicking on the plus button. Add New Command
dialog opens. After choosing an icon and trigger, select an URL as target (see Target). You will notice that the Action
list automatically changes to Show.In the lower window, you can now define any URL or URI, which can be converted into hyperlinks. The internal M-Files links can also be used (they typically start with an m-files followed by colon and two slashes). If you are particularly interested in creating URLs, URIs, or M-Files links, you will find plenty of information on the Internet or in the M-Files URL properties user guide.
In many cases, it makes sense to work with dynamic URLs so that web services or M-Files object can be called with matching metadata or option parameters. For this purpose, you can also create dynamic hyperlinks in the commands window by integrating placeholders and metadata properties.
If you select URL as target, you can use this command to jump to a selected static or dynamic URL, e.g. to call a link in another application or a http-request. You can choose:
Typically you will use the M-Files internal placeholders, which are marked with percent signs and in capital letters. As an example, the properties of an object could be referenced using the placeholder “PROPERTY” followed by the internal property ID.
If you select Placeholder from the list (see also Using Placeholders), you can enter text combinations in the text formatting area: