AnsweredAssumed Answered

Batch insert picture script doesn't work.

Question asked by ultranix on Jan 31, 2011
Latest reply on Jan 31, 2011 by philmodjunk


Batch insert picture script doesn't work.


Hey, I'm managing my contacts database and I tried to make a script, which would insert pictures for all contacts.

Set Error Capture [on]
Go to Record/Request/Page [First]
    Go to Field [CONTACTS::picture_full]
    Insert Picture ["CONTACTS::id_abbrev.jpg"]
    Go to Record/Request/Page [Next; Exit after last]
    Exit Loop If [Get(RecordNumber)=1]
End Loop

Problem is it doesn't recognize filename, when it's set to either variable, or, like in this case, field value.

Whenever I type specific value, it works like a charm.

Is it possible to use variables or field values and execute batch picture import properly?