Priyank Dwivedi Posted March 25 Share Posted March 25 Hi, I have a data table that has 'prompts' defined on a couple of columns. When the project is launched via the library, it works fine. The dialog pops up and asks the user to filter data based on the selection on the prompt screen. When I run the script from within Spotfire on the "web", it gives the following error: Could not perform action 'Reload Master Well Filter Selection'. (2) Could not execute script 'Refresh.Master.Well.Filter.Selection': Exception has been thrown by the target of an invocation. at Spotfire.Dxp.Application.Scripting.ScriptService.Execute(ScriptDefinition script, Dictionary`2 scope, InternalLibraryManager internalLibraryManager, NotificationService notificationService) at Spotfire.Dxp.Application.Scripting.ScriptManager.<>c__DisplayClass8_0.<ExecuteScript>b__0() at Spotfire.Dxp.Application.Scripting.ManagedScript.Execute(Dictionary`2 environment) at Spotfire.Dxp.Application.HtmlTextAreaControls.ActionControl.ModifyCore(Object value) at Spotfire.Dxp.Application.Visuals.HtmlTextArea.InteractWithControl(String id, Action`1 interaction) The IronPython script is defined as : from Spotfire.Dxp.Framework.ApplicationModel import * def Refresh(): table.Refresh() ps = Application.GetService[ProgressService]() ps.ExecuteWithProgress("refresh title", "refresh description", Refresh) Link to comment Share on other sites More sharing options...
Priyank Dwivedi Posted March 25 Author Share Posted March 25 Note that 'Execute in Transaction' is unchecked. Link to comment Share on other sites More sharing options...
David Boot-Olazabal Posted March 27 Share Posted March 27 Hi Priyank, In previous versions, this was not possible. It works only in the Analyst client. I'm currently looking into this if this still applies in the latest version. Kind regards, David Link to comment Share on other sites More sharing options...
David Boot-Olazabal Posted March 28 Share Posted March 28 Hi Priyank, I have consulted my colleagues about your request. There is actually a very recent Support ticket with the very same question. That is how I found out that it is currently not possible to reload data from the data connector or information link with prompts, as it is not supported though the API in the web player. There is an enhancement request for it though and would like you to request to please vote on the idea in our ideas portal: ideas.spotfire.com/ideas/TS-I-7930. The only way around the automated triggering of reloading the data, and see the prompts, is the 'manual' way: in the web player you can use the menu Data>>Reload all data to reload your data and invoke the prompt screen. Kind regards, David Link to comment Share on other sites More sharing options...
Priyank Dwivedi Posted April 2 Author Share Posted April 2 That's a bummer. Thanks for checking. I voted on the idea. When does the development team decide on the final enhancement list? This should be easy to implement. Priyank Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now