Exporting Container field in multiple records at once
i created a simple script that loops through all the records and exports the container containing a photo of each product into a folder.
the problem is that it overwrites the previous record each time so i end of with one file in the folder.
how do i export the photo, then change the name so it doesnt overwrite the previsous? so first file is "1", second is "2"...
You can specify the name of the file at the time that you export it. And the name of the file can be the original name of the file unless the file names are not unique. (or you can name them 1, 2, 3 if you want...)
See this thread on $Path variables: Exploring the use of a $Path Variable in Scripts