I have setup a foreach loop container to go through a set of files in a specific folder. On the dev machine I have set the 'Folder' property to C:\Temp\ however this will be different on the production server. I therefore created a variable, loaded a value from the database for the folder property, assigning it BUT on looping, it's still looking at the C:\Temp folder. I have no idea what I'm doing wrong? I'm pretty sure that the container's lookup folder can be changed dynamically through a variable.
Asked
Active
Viewed 608 times
1 Answers
0
In order to change the directory the foreach is using, proceed as follows:
- open the Foreach Loop Editor
- navigate to "Collection" on the left hand side
- navigate to "Expressions" on the right hand side (directly beneath "Enumerator")
- select "Directory" from the available properties and put your variable as Value

Tyron78
- 4,117
- 2
- 17
- 32