Button to reload prompt on Spotfire

Is there a way to add a button that allows you to bring up the prompt so that you can re-select your parameters? I have tried the below to refresh table and assigned to a button, but that does not necessarily bring up the prompt again.

from Spotfire.Dxp.Data import *
from Spotfire.Dxp.Data.Import import *

# Refresh all tables

for table in Document.Data.Tables:
if table.IsRefreshable:
table.Refresh()

(3) Answers

Login