Adding FileSet patterns from XML

I'm still evaluating finalbuilder. I'm making some test projects, and have some difficulties now.

I have a XML file, which have this:

![](upload://6I6PuuEmauXO02up6hgyYXrei26.jpeg)

Now i need to make a project which reads those variables out of xml. Then it needs to make a fileset which selects the files in the directory which statisfies on the filters.

The reading of XML isn't any problem. But i don't find how i can add those multiple exclude filters to the fileset.

Can somebody help me to make this work?

And it can't be done on the design part. When the xml change, the flow needs to be dynamic.



Thx already!

Hi Frederick

I have attached an example project that shows how to programattically alter the fileset include and exclude patterns.

You will need to use a recent test build as programattic changes to filesets were only added in recently.

https://www.finalbuilder.com/downloads/finalbuilder/620/FB620_1362.exe

 

filesetexample.fbp6 (20.894 KB)

Hi vincent,

This is just what i needed! It's perfect.

 

Thank you for your help!