Skip to main content

Open ideas have been reviewed by our Product Management and are open for commenting and voting.

Filter by idea status

Filter by product area

4628 Ideas

New/modified GUI type for nested list parametersArchived

Probably no one is going to vote for this, but I need the user to be able to select only the deepest nested list in a published parameter. For example, consider these list attributes:_list{0}.sublist{0}_list{0}.sublist{0}.attribute1_list{0}.sublist{0}.attribute2_list{0}.sublist{1}_list{0}.sublist{1}.attribute1_list{0}.sublist{1}.attribute2_list{1}.sublist{0}_list{1}.sublist{0}.attribute1_list{1}.sublist{0}.attribute2_list{1}.sublist{1}_list{1}.sublist{1}.attribute1_list{1}.sublist{1}.attribute2Currently, in FME, a user can only select the whole nested list above (e.g. _list{}.sublist{}) or a single item in the list by specifying all list keys (e.g. _list{1}.sublist{0}.attribute1).What I would like, is to return a specific set of "children" as a list, e.g. _list{1}.sublist{} (notice the 1!!). When I'd call feature.getAttribute('_list{1}.sublist{}') in a PythonCaller, it will fetch the following list attributes:_list{1}.sublist{0}_list{1}.sublist{1}Those are the "root children" of the second "parent".Specifying _list{0}.sublist{}.attribute1 will fetch:_list{0}.sublist{0}.attribute1_list{0}.sublist{1}.attribute1Those are "named children" of the first "parent".I already have 2 situations (the ListKeyValuePairExtractor and the ListAppender I'm currently working on) for which a new/modified GUI type for a published parameter would be very helpful.

Improve XMLXQueryUpdaterArchived

I recognized that the XMLXQueryUpdater can be used to update not only an XML document but also the schema of the input feature.Example from Extract attributes from XML attribute:Assuming that the source XML is:<SHD> <feature datadefinitie="Sleutels" code="SLEUTELS"> <attribuut naam="gisobjectnummeer">105963</attribuut> </feature> <feature datadefinitie="IMG" code="SHDV"> <attribuut naam="type">muur</attribuut> <attribuut naam="IMGEO status">bestaand</attribuut> <attribuut naam="In onderzoek">Nee</attribuut> <attribuut naam="relatieveHoogteligging">0</attribuut> <attribuut naam="identificatie">P0027.cdffbb11ae7c4f56a96a</attribuut> <attribuut naam="tijadstipRegistratie">20170626172844000</attribuut> </feature> <feature datadefinitie="GBK_LKI" code="C"></feature> </SHD> An XMLXQueryUpdater with this small XQuery expression extracts pairs of attribute name and value from the source XML and adds the attributes to the input feature.for $a in //attribuut return fme:set-attribute($a/@naam, $a/text()) I think the XMLXQueryUpdater (XQuery expressions) would be a powerful and elegant solution in some scenarios such as the example above. However, depending on the situation, you have to add some other transformers e.g. AttributeExposer, AttributeRemover to clean up the feature.It might be nice if these improvements would be done on the XMLXQueryUpdater.Add some new XQuery functions to process feature attributes. e.g. "fme:remove-attribute" and "fme:remove-list-attribute".Add "Attributes to Expose", "Attributes to Hide", and "Lists to Hide" parameters.Make the "Result Attribute" parameter optional.Rename the output ports (QueryResults -> Output, Invalid -> <Rejected>).