scoping in a wizard for named selection --> property of named selection

In a wizard I am scoping for a named selection from which I want to export some data



Here a get a list where I can select the desired named selection from a drop down menu.

In a separate function I want to get the name of the selected "named selections" with the following code:

SelectParts=step.Properties["Export_Result/selected_parts"].Value

However I do not get the name.

If I use the term
SelectParts=step.Properties["Export_Result/selected_parts"].Name

I get the "selected_parts" as name but not the actual named selection Name as displayed in the tree.

How can I get the name of the named selection?

Thanks
Wolke

Tagged:

Best Answer

  • Mike.Thompson
    Mike.Thompson Member, Employee Posts: 357
    25 Answers 100 Comments Second Anniversary 25 Likes
    ✭✭✭✭
    Answer ✓

    How about:

    MyNsProp=step.Properties["Export_Result/selected_parts"]
    MyNs=MyProp.Value
    MyNsName=MyNs.Name

Answers