M-Files UI Extensibility Framework
ICommonFunctions Interface
Members 
Description
ICommonFunctions interface provides helper methods for M-Files API object creation, error handling and data persistency. This interface is accessible directly through the MFiles variable.
Public Methods

Creates a new M-Files API object.

This method is no longer needed. New applications should create objects with the new keyword. See remarks for more details.

Creates a managed object from a class in managed assembly.
Deletes the M-Files registry key.
Deletes the M-Files registry value.
Enables exception propagation to the caller process. After calling this method the exception must be rethrown. The method is meant to be used in dashboards. It suppresses the browser's default error dialog and propagates the error to M-Files that can show it together with a proper callstack.
Executes the given URL.
Extracts the error description from the error exception object.
Extracts the long (detailed) error description from the error exception object.
Checks whether the flagged feature is enabled in the client.
Checks whether a flagged feature is available in M-Files Admin.
Kills a timer that was previously created with the "SetTimer" method.
Opens the M-Files user guide and shows a topic in the guide.
Persists string data to the Windows registry.
Reads the registry value from registry.
Read a text file and returns the contents as a string.
Reports an exception. The exception can be displayed to the user or written to the event log.
Retrieves string data from the Windows registry.
Creates a timer for triggering an asynchronous method call after a specified time interval.
Throws an error with a description. Interrupts the application execution.
Writes a new value to the registry.
Public Properties
Gets the current application path (full path). The path is meant to be used with custom solutions, paths used with application interface do not need to use this method because they are always relative to the application path.
Returns the ExtApplicationPlatform type.
See Also

ICommonFunctions Members