PromptService Prompt Method TIBCO Spotfire 6.0 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(AddIn ViewRegistrar).

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

public PromptResult Prompt(
	Object promptModel
)

Parameters

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

Return Value

Type: PromptResult
Exceptions

ExceptionCondition
System InvalidOperationExceptionIf prompting is not allowed or if the ViewRegistry does not have a registered view for the specified promptModel.
See Also