0 Replies Latest reply on May 28, 2009 3:27 AM by triveni_dh

    How to set Preview checkbox in Data Merge panel ON /How to get new document object created after Data merge

    triveni_dh

      Hi,

       

      This is following javascript code for Data Merge , creating new document .

       

      var file2 = File("C:\\sample.txt");

      var mydoc = app.documents.item(0);

      var MergeDoc = mydoc.dataMergeProperties;

      MergeDoc.mergeRecords(file2);

       

      Is it possible to do DataMerge in the existing document and not to create a new document?

      Is there a way to set the Preview checkbox in Data Merge Panel ON .How to get the new document object created after DataMerge.

       

       

      Thanks for any Help.