Andrew Korinda Posted June 20, 2019 Share Posted June 20, 2019 I have a series of data functions that are executed in order by a Python script. I use the code below to set the inputs dynamically. For speed I sometimes want set the input handler to "none." Is this possible I couldn't find anything about the data function parameter input handler in any posted examples or documentation including the API. Code: for df in Document.Data.DataFunctions: if df.Name == funcName: for x in range(len(inList)): for inputs in df.DataFunctionDefinition.InputParameters: if inputs.DisplayName == inList[x][0]: df.Inputs.SetInput(inputs, inList[x][1]) Link to comment Share on other sites More sharing options...
Khushboo Rabadia Posted September 13, 2019 Share Posted September 13, 2019 Unfortunately, you cannot change the input handler for data function from API. Only Input values can be set for defined input parameters/handlers. You can try passing empty value to the defined input i.e. ' ' but I am not sure if that would work because you have already defined say "Column/Table" for the input parameter and if you pass empty value it may error out with message "missing column/table". Link to comment Share on other sites More sharing options...
Andrew Korinda Posted September 16, 2019 Author Share Posted September 16, 2019 It doesn't work an it is currently not possible as confirmed by TIBCO support. This is logged within TIBCO as a defect report (60545). 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