PromptServicePrompt Method

Spotfire 14.3 API Reference
Prompts the user for input by showing a modal dialog operating on the specified promptModel. A view of type Form must previously have been registered for the type of the specified promptModel by overriding RegisterViews(AddInViewRegistrar).

Namespace:  Spotfire.Dxp.Framework.ApplicationModel
Assembly:  Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
public PromptResult Prompt(
	Object promptModel
)

Parameters

promptModel
Type: SystemObject
The model object that shall operated on by the dialog that interacts with the user.

Return Value

Type: PromptResult
Exceptions

ExceptionCondition
InvalidOperationExceptionIf prompting is not allowed or if the ViewRegistry does not have a registered view for the specified promptModel.
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference