SetupUDDInputParams

This optional method displays a customized dialog and returns the user choices for the input params.

UI Access NA
Parameters
Name Type Description
<uddInputs> List<UDDInputParams> .NET list of UDDInputParams objects with values for each of them. These can be the user choice for each input obtained through a custom dialog or some other non-graphical assignment. This method cannot process trace and solution types of input with a custom dialog because there is no way of assigning solution data to the input without the invocation of the reporter dialog.
Return Value Boolean. If true, the event was handled successfully. If false, it was not.

 

Python Syntax SetupUDDInputParams(<uddInputs>)
Python Example
def SetupUDDInputParams(self, uddInputs)
    udddialog = BaseExampleUDDDialog()
    if udddialog.ShowDialog() == Forms.DialogResult.OK:
        # Boolean input
        param1 = udddialog.GetInput("Summary")
        uddInputs.Add(param1)
     
        # Text input
        param2 = udddialog.GetInput("Name")
        uddInputs.Add(param2)
     
        # Number input
        param3 = udddialog.GetInput("Version")
        uddInputs.Add(param3)