Skip to Main Content
Spotfire Ideas Portal

API to change DataFunction's UpdateBehavior from manual to automatic without trigger function execution

I am using API to add data function and execute then do some other stuff(create graph,etc), 

func.Execute((bool done) =>
{
if (done)
{
applicationThread.InvokeAsynchronously(applicationInvocationSuccess);
}
else
{
applicationThread.InvokeAsynchronously(applicationInvocationFailure);

}
});

however, following code

func.UpdateBehavior = DataFunctionUpdateBehavior.Automatic; 

 

with cause function be executed twice, together with the following func.Execute() call.

It would be very useful if SetUpdateBehaviorWithoutExecution() is made public available.

 

  • Attach files
      Drop here to upload