Executes a preview action
public JsonElement? ExecutePreviewAction(string actionName, IDictionary<string, string> parameters)| parameter | description |
|---|---|
| actionName | Name of the action. Must start with with "preview_". |
| parameters | Parameter keys and values. |
The JSON that the preview action returned.
| exception | condition |
|---|---|
| ArgumentException | Thrown when actionName does not start with "preview_". |
| InvalidOperationException | When the current app is not running locally. |
- interface IRuntimeService
- namespace Mendix.StudioPro.ExtensionsAPI.UI.Services