Is it possible to set up a parameter for a custom transformer so it allows selection of a list, not just a single element of the list?
So if I create a parameter by finding an existing transformer that takes a list as a parameter and create a user parameter that way rather than in the navigator I can create a parameter for a single list selection, but multiple list selection doesn't appear to be possible?
Depending on which transformer you use to publish the list parameter, the behaviour is different.
Given a feature with
_list1{}
_list2{}.a
_list2{}.b
If you use a listIndexer you will have a choice of _list1{} or _list2{}.
If you use a listDuplicateRemover your choices will be _list1{}, _list2{}.a, _list2{}.b
If you use a listConcatenator your choices are _list1{}, list2{}, _list2{}.a, _list2{}.b
The only one I know that let's you chose multiple lists is the attributeRemover (Lists to Remove).
Depending on which transformer you use to publish the list parameter, the behaviour is different.
Given a feature with
_list1{}
_list2{}.a
_list2{}.b
If you use a listIndexer you will have a choice of _list1{} or _list2{}.
If you use a listDuplicateRemover your choices will be _list1{}, _list2{}.a, _list2{}.b
If you use a listConcatenator your choices are _list1{}, list2{}, _list2{}.a, _list2{}.b
The only one I know that let's you chose multiple lists is the attributeRemover (Lists to Remove).
A ha, creating the Parameter from the attributeRemover is the answer. Thanks
A ha, creating the Parameter from the attributeRemover is the answer. Thanks
Just be careful if your list attribute names have spaces.