3 Replies Latest reply on Apr 8, 2015 4:10 AM by Loic.Aigon

    Querying EasyCatalog Data Using ExtendScript

    szahnje

      Has anyone had experience with EasyCatalog (EasyCatalog | InDesign Plug-Ins | 65bit Software)? Using ExtendScript, We're trying to query all page elements that were tagged with a hidden field by EasyCatalog after importing a flat-file. The field we're trying to query is commonly known as the StockCode or ProductCode. Apparently lets you import tabular data from a flat file and then creates hidden text fields for each page element containing metadata, such as the product id. I'm very new to InDesign programming, so I was wondering if there is a way to query the InDesign document using InDesign's Javascript API to determine the stock code that was placed by EasyCatalog for each tagged item programmatically? If this is possible, what is the best way to query the InDesign "DOM" for "hidden" text fields?