AlteryxAllowDesktopInteraction
AlteryxAllowDesktopInteraction is used to tell Alteryx whether or not to display dialog boxes and choices to the user. Default: false.
Some Alteryx tools display dialog boxes to obtain user feedback. For example, the Street Geocoder tool displays a dialog box so users can choose between multiple matches.
Method declaration
void AlteryxAllowDesktopInteraction(int bAllow);
bAllow values:
- True: Allow dialog boxes and choices to display
- False: Prevent dialog boxes and choices from displaying. If running in an environment that does not allow desktop interaction, such as a web process, pass a false value to AlteryxAllowDesktopInteraction to prevent an error.
Example
if (allowDesktopInteraction)
{
AlteryxAllowDesktopInteraction(true);
}
else
{
AlteryxAllowDesktopInteraction(false);
}