4 Replies Latest reply on Oct 23, 2014 8:47 AM by erodier

    Export Field Contents - Container Field

    erodier

      Title

      Export Field Contents - Container Field

      Post

      I am trying to run a script that exports the contents of a container field to a certain folder and brings a reference link back to a different container field. Below are my script steps. When the scripts runs, I get "container fields cannot be exported" error - but the odd thing is that the script works (other than cancelling a few error messages. Any thoughts on what is wrong with my script?

      Thanks

      Set Variable [ $$name4; Value:GetAsText ( "/P:/" & Jobs::Job Number & "/" & ( GetContainerAttribute ( Jobs::DistroDrop;"filename"))) ]
      Export Field Contents [ Jobs::DistroDrop ; “$$name4” ]
      Pause/Resume Script [ Duration (seconds): 2 ]
      Set Field [ DistroFiles::FileContainer ]
      Go to Portal Row [ Select; Last ]
      Insert File [ DistroFiles::FileContainer ; “$$name4” ]
      [ Storage method: Reference ]
      [ Display icon ]
      [ Compression: Never compress ]
      Clear [ Jobs::DistroDrop ]
      [ Select ]