Crazy colored brackets in InDesign data merge document

I did a data merge on an InDesign document I'm working on and I got all these crazy colored brackets embedded throughout my document. Here's a screenshot:
What the heck is going on?

From Post 4:
//EN_UntagAllXMLElements_ACTIVE_DOCUMENT.jsx
//Authors:
//Hans Haesler
//Gregor Fellenz
//Comments by Uwe Laubender
* @@@BUILDINFO@@@ EN_UntagAllXMLElements_ACTIVE_DOCUMENT.jsx !Version! Sun Dec 01 2013 09:38:21 GMT+0100
//See: http://www.hilfdirselbst.ch/gforum/gforum.cgi?post=506568#506568
//Data for testing: http://www.hilfdirselbst.ch/gforum/gforum.cgi?do=post_attachment;postatt_id=6654;
//Posted the links to this thread in InDesign Scripting forum:
//http://forums.adobe.com/message/4983121#4983121
//Green4ever
//"Untag Frame" menu action is invalid [CS5 Win XP]
//The active document:
var d=app.documents[0];
//Hans Haesler:
//Untag all XML-Tags with exception of the root element:
d.xmlElements[0].xmlElements.everyItem().untag();
//TO GET RID OF THE ROOT ELEMENT:
//Workaround by Gregor Fellenz:
//Add a new rectangle to the document:
var tempRect = d.rectangles.add();
//Tag the rectangle with the "Root" element:
tempRect.markup(d.xmlElements[0]);
//AND HERE IS TRICK:
//Remove the rectangle:
tempRect.remove();

Similar Messages

  • Crazy long rip times on Data Merge Documents

    Hello Everyone,
    I am digital printer and I am running to a strange problem with Data Merge. I am making a post card for a customer that needs addresses added to them. I do these kinds of orders all the time and usually I can just place the post card in Indesign cs6 and use date merge to apply the addresses. Typically this works easily and without any fuss. However I just created a  new card in Indesign. Exported it as a pdf and then placed it back in indesign for addressing. Now when I try to print my card it is taking an hour and a half to rip the file on my Fiery Command Work Station. Typically a job like this will rip in no more than a minute or two. Does any one know what might be causing this? I have tried flettening the pdf in photoshop to maybe help simplify the file but no luck. I designed the card in Indesign cs6 on a mac running 10.7.5 and I am using Command Work Station 5.5 on Fiery , printing on a Xerox 700 digital press.

    Absolutely not.
    (1)     PDF/VT-1 files must also be PDF/X-4 files. The “create PDF via distillation of PostScript” method precludes this since PostScript supports neither live transparency nor color management.
    (2)     The efficiencies of PDF/VT-1 require use of Forms XOjects and Image XObjects in the PDF file. That requires direct PDF creation that you get from PDF export. This is not available via any route that uses stink'in PostScript as an intermediary.
    (3)     Adobe most strongly endorses PDF creation from InDesign via the export function, not printing to PostScript and distilling. Such PostScript is optimized strictly for printing and not for PDF file creation.
              - Dov

  • InDesign Data Merge w/Multiple Page Document

    I am working to print a multiple-page newsletter, and printing the mailing information using a Data Merge in InDesign CS4 (PC), with the intent of printing this in-house to send to our members. (My office has been doing this successfully for years using Publisher, but I insisted we update to InDesign.)
    I have the document ready, and I have the Data Source information (set up in tab-delimited (.txt) text format).
    After I have selected the Data Source (Window > Automation > Data Merge), inserted the Data Fields, and then Created Merged Document, I wind up with multiple versions of the Document; one for each person we are sending the newsletter to!
    I was working with our printer technician to solve the issue, but his sources told him that the only way to do this was by using one document as the newsletter master and another document as the Data Merge document, and doing a little magic thru the PostScript driver in the printer.
    (Specifically: the document is letter-sized, set to print as a booklet. The work-around involves copying and pasting these pages into a new tabloid-sized document, creating another blank tabloid-sized document that has only the Data Merge info in the proper place, printing the cover with this Data Merge separately, loading that into a drawer, and printing the new document and wrapping it with the pre-printed cover.)
    1 - What am I doing wrong that gives me over 800 InDesign documents for this newsletter?
    2 - Is there a way for me to print this without the work around?

    That is what Indesign does when it does a data merge, it creates copies of the document and there's no way to change this.  Have you tried exporting to PDF (In CS4 you can do this in one step from the original) and printing?  I've never had anyone confirm it definitively but I'm pretty sure that the PDF created will be an 'optimized' one, meaning that when it sends it off to a compatible printer the images will be sent once and cached, with only the text that changes being sent separately.
    Definitely worth comparing it to Publisher for speed anyway, Office programs can merge straight to the printer, but in effect they're doing the same thing.  There are programs out there for doing far fancier stuff than data merge, probably the best is XM Pie, but unless you've got a printer that recognises their language they're a waste of time in this circumstance anyway.

  • Create data merged document with data on every second page?

    Is it possible to create a data merged document with the variable data only on every second page?
    I have set up the pages with the variable data as a master page (on every odd page) with the text box and paragraph style all set up, and I have set 'override master page items' so the data can be placed, but InDesign seems to freeze up when I try to create the merged document?

    There should be no problem doing the merge with a two-page master and a two-page template document with fields only on one page (and off the top of my head there's no reason to move them off the master page if that's where you put them). I think the problem here is that rachrachm already has a file of 500 pages (based on another thread asking how to apply masters to every other page).
    It's potentially possible to simply place the data file (without the header row) as a text file and auto-flow through the master page frames (can't say for sure without seeing the files), or if the pages without the merge fields are the same just, remove all but the first two pages from the template and do the merge.
    As I metioned earlier, though, this is a very inefficient method of producing that sort of document. A true variable data print flow would be better (you'd need to find a commercial printer who can do it with your data file), or the home version would be to make one single page file for the static content, print 250 copies (plus a few extras, just in case), then make a single page merge template, do the merge, and print that on the back of the already printed pages, or as a separate page. It is immeasurably faster to print multiple copies of a document than it is to print a document that has multiple identical pages.

  • Multiple records in Indesign Data merge

    When I select the option for multiple records in InDesign Date Merge, I still only get one record on a page in preview. When I ask it to create a merged document, each item from the excell file is put on a separate page.  Why is this happening, I want 4 items on a page.

    Message was edited by: p_lue
    I figured out the problem.  The margins would have to be smaller for the page to accomodate multiple  records. Thanks for offering to help.

  • Indesign Data Merge Scripts

    I am looking to create a script that will enable me to feed in variable data from a csv to indesign data merge.  I have the components built, with a column for quantity in the csv.  Our printing needs vary day by day, so multiple records don't quite fit w

    Thanks SDesigns; the GREP feature in particular looks like it might work, assuming I can get the data to merge with a separator between each company. That's where I'm having trouble now; I can't seem to be able to merge a particular column from the CSV that has the company names into a paragraph of text within my document, as it only seems to let me merge in the first company name only. Do you know how I can achieve this, and additionally how I can get it to automatically insert any particular separator (as there are hundreds if not thousands of company names, manually typing in the separator could get very tedious)? Attached is a screenshot of what the final text looks like in the document, though it doesn't seem to let me "Update source" on the paragraph, which would make things much easier.Thank you very much for your time and help!
    Best,
    Colton

  • Would installing Cheetah or Raptor drives make inDesign data merge work faster?

    Would installing Cheetah or Raptor drives make inDesign data merge work faster?

    I think SSDs might turn out to be slower. There are some other posts about major slowdowns when the OS and user profile are on SSDs.
    As a 32 bit program, ID can't adress all that extra RAM, so you won't affect the amount of swapping required. I don't really know how efficient an SSD is for constant read and write operations, but my undertanding is they work great for fast loading of things that don't change, but not so much for files that rewrite constantly.

  • Check InDesign data merge template for errors without creating document?

    I've got a big InDesign template with hundreds of rows. Producing a full batch takes over an hour, and sometimes crashes. The deadline is fast approaching, and I'm waiting for the final minor amendments to the content spreadsheet, which could virtually land any minute.
    I want to check for overset text errors on the current sheet without creating a merged document or PDF, so I can get on with fixing any likely major problems before the final sheet arrives - but I don't want to create a full merged doc, because that will take a very long time and will that doc's content will be obsolete, whereas the overall length of the text will change very little.
    When you create a merged document, you have the option to turn "Generate overset text report" off. What I want to do, is ONLY generate the overset text report, without actually storing the merged document in memory.
    Is this possible?
    The closest I can see is click through the "Next" button in the Data Merge palette with Preview turned on, while watching the "No errors" preflight panel notification at the bottom of the screen. This is probably faster than creating a full merge, but still very slow.

    That is what Indesign does when it does a data merge, it creates copies of the document and there's no way to change this.  Have you tried exporting to PDF (In CS4 you can do this in one step from the original) and printing?  I've never had anyone confirm it definitively but I'm pretty sure that the PDF created will be an 'optimized' one, meaning that when it sends it off to a compatible printer the images will be sent once and cached, with only the text that changes being sent separately.
    Definitely worth comparing it to Publisher for speed anyway, Office programs can merge straight to the printer, but in effect they're doing the same thing.  There are programs out there for doing far fancier stuff than data merge, probably the best is XM Pie, but unless you've got a printer that recognises their language they're a waste of time in this circumstance anyway.

  • Page Numbers Not Appearing in Data Merge Document?

    Hello, hopefully someone can help. I am pretty new to InDesign but learning a lot.  I am creating a member directory of about 200 pages (about 2800 records merged from .csv to InDesign 6). Everything is working fine with the merge, except generating the page numbers.  I tried adding page number at the bottom of the page to the master BEFORE merging. But if I do that, it greys out the "multiple records per page" option when trying to perform the Data Merge (using "Create merged Document").  So, I tried adding the page number to the A-master AFTER creating the merged document, but the page number is not appearing on any of the pages.  There must be a way to do this, can anyone help?
    (FYI - to generate the auto page numbers, I am going to the Type-Insert Special Character-Markers-Current Page Number, and placing that within a text field at the bottom of the page.  Thanks in advance. )

    Here is a screen shot.  I have placed it on the A-Master.  See Screenshot#1.  Screenshot #2 shows Page 70 with no page number (and no other pages have page numbers that I can see.  Thanks for your advice on fixing....
    Sorry, here is screenshot #2, (with personal details redacted but the records are there behind the grey boxes):

  • Inconsistent placement of anchored text frame in data merge document

    Just writing up this bug so that anyone else who encounters it can find out what's going on with less head-scratching.
    It seems that InDesign's data merge feature gets confused when there are anchored objects in a text frame that's anchored inside another text frame, which can result in:
    exported PDFs that don't match the InDesign preview when viewed in Acrobat (so, nasty surprises on some pages after exporting)
    InDesign previews that - bizarrely - show differently depending on whether you navigated to the preview by hitting the arrow keys in the Data Merge box or by entering a number.
    (sadly I can't provide a file for confidentiality reasons - but the problem point had multi-line data merge entries, a text frame that was anchored in another text frame of equal width, and anchored images and text frames in this anchored text frame)
    There were certain entires where, if I navigate to them in the preview using the 'next' and 'previous' keys, there was 4mm less space between the nested text frame and the previous line than if I navigate to it by entering the number. Exporting as a PDF through data merge used the variant with more space.
    Re-working the area in question so that the nested text frame wasn't needed seems to have removed the problem (but loses the ability to vertically align these elements in a fixed size frame that is in the text flow).

    You didn't say what version of ID, or whter a single or multiple record per page merge, but the Preview is known to be buggy for multiple records since CS5 and might be for single records as well.
    I have an annual directory that is built by data merge with one section in each listing as an anchored frame, and I've never had a problem, but it's not as complex as your description, nor do I ever merge to PDF (though I've heard here from several users that it's more reliable).
    One thing you might want to try is merging without the preview step, but do it from a "fresh" file by copying and pasting your placeholders into a new document. If the problem is with the preview it seems that it "infects" the file and even merging without touching the preview button may not work.

  • Indesign Data Merge repeating images, mixing up data, etc.

    I'm using ID CC and using data merge for a catalog.
    when i create the merged document it repeats some of the images, uses data for other products and repeats it.
    I've started from scratch, I've avoided the "preview" mode like the plague, I've used CSV and TXT.  I've searched for line breaks in Excel.  What am i doing wrong?

    "Show Import Options". , this will tell you what sort of data file you are uploading
    @Shiv – only to an extend. InDesign cannot see a difference between Unicode UFT-8 or Unicode UTF-16 at this point, it just detects Unicode.
    CSV is an old, can we really say, "file format"?
    It's basically a text file with a csv suffix and some rules, that are or are not implemented. InDesign tries to detect the rules: what character for separating the fields? What character for a line of fields ending?
    InDesign does not verify very much, if there is a orderly grid-like structure in the fields (a row and column structure) with an equal number of "cells" on every row. And a header row that holds the discription. In fact it cannot "see" a header, because the csv-"format" cannot provide a hint…
    CSV is not a file format, see it more as a lose convention and not standardized very much…
    I think Adobe should provide its own format for merging data and a converter tool together with InDesign where you could output to and input from a InDesign table with a header row using whatever formatting is available in InDesign.
    Uwe

  • "ghost" links in altered data-merged document

    I created a catalog using Data Merge. After it was finished, I was asked to remove seveal of the items. I didn't go back to the database and remerge the document, because I'd already done a lot of minor revisions to the finshed document. After collecting for output, I noticed that all the photos that were removed from the finished doument are still showing in the links panel as missing. They show < > for the page, and "go to link" doesn't work.
    I'd like to get these out of the Links panel to avoid confusion when the file is sent to the printer. Any ideas how to delete a link that doesn't seem to really be there?

    Thanks, Peter
    When I tried that, InDesign chocked on the resulting INX file. But that did give me the idea of using the "move pages" feature to move all 68 pages to a new document, and that got rid of the non-existant links.

  • InDesign Data Merge - Data Grouping or Page Breaks

    I'm working on a plant catalog for a landscaper. I want to group the plants in the catalog by their plant type (i.e. Groundcovers, Trees, Shrubs, etc). Each plant name in the data source is assigned a plant type and I've sorted the data so the plant types are grouped together. I'm successfully using data merge to create a document with multiple records and I want to use the "Plant Type" as a header per group of plants that match that type. I'd be very happy if I could also create a page break between plant types. Is there a way to accomplish this with InDesign? I can accomplish this with Word's data merge but I'd much rather use InDesign.
    Additionally, I'm currently using a text variable at the top of the page and thought this would be the solution to my problem but I'm only able to set this up using the "First on Page" option. This doesn't work well because I frequently have items at the bottom of the page that aren't in the same category as the first item on the page. I'm basically running a merge for every plant type then putting the separate documents together in a PDF... its a little time consuming but not impossible.
    I hope I've explained my situation clearly. Any guidance will be appreciated.

    Data Merge is very primitive. It doesn't do anything but put unlinked frames with data on the page.
    That said, there are scripts, such as the text liner at Rorohiko.com that will link the frames in logical sequence, and paragraph styles can be set to start on next page, or you can add anther field to the data file and put a symbol or text sting into it only where you want a page break, then do a find change and repalce with the break after the merge.
    Are you doing a lot of this? There are catlog pugins which might make your life a lot easier, but they're pricey.

  • InDesign Data Merge Question....

    I have a calendar created using the data merge feature within InDesign.  The only question I have thus far is on each day of the week, we currently have a text frame linking to a .txt file that our customers add events to.  How do I link the specific .txt files to the frame?  I cant use the image function in my excel file as it does not reconize it as that.  Is there another way to script/put this in my source file to link and place the text in the .txt files (individual txt files for each day of the year).??  Any help would be appreciated.  Thanks!

    I don't think I really undertand the structure of the data file you have. My sense, though is that this may not really be a data merge project.
    At its heart, Data Merge is is very primitive. It's great for mailing labels, but can get defeated by more complex projects. For the merge to work, all of the data must be structured the same for each record in terms of the number of fields, and the text you want to include needs to be in the fields (as far as I know, you cannot use a pointer to an external text file in a field the same way that you can use a pointer to an image). You have a choice when setting up the merge template, though, of putting the plceholders on the document page or on the master page.
    If you put the placeholders on the master page, the data can be updated AFTER the merge, at least in theory (doesn't seem to work well with images), but it doesn't really sound to me like that's what you need, but it is a possibility if you have a basic documenet and the clients add text later.
    In any case, if you are letting the client add text, you need to add that text directly into your data file, either in Excel and re-export the entire data set, or set up some sort of find/change routine to replace tags in the text file with the text supplied by the client.

  • Indesign data merge and a very arge csv file

    Hello all,
    I have a bit of an issue with data merge. I have about 35 product sell sheets, all with the same categories. I am trying to do this via data merge in indesign (ind cs6). Now the csv file that I am using is very large. It has about 75 columns in it. Some of the columns have a lot of text like the ingredients for each product which can be up to 200 words or more. My problme is that when I create a merged documnet I am only getting the first 6 columns to populate the document.
    I have tried everything: taking out all myspaces in the header rows, eliminating all the empty columns etc. Funny thing is when I delete the first 6 columns and try again, the next 6 will populate just fine.
    Is there some sort of column imit in the csv file?
    I cannot figure this out for the life of me and have read every forum I can get my hands onbut they all seem to talk about business cards, envelopes or building a simple catalog template, nothing that includes this much information to be  merged.
    Any help at all would be greatly appreciated, thank you.
    Mike

    SAUTEED VEGETABLE PUREE MIX (CARROTS, ONIONS, CELERY), SALT, SUGAR, MALTODEXTRIN, CORN OIL, LESS THAN 2% OF AUTOLYZED YEAST EXTRACT, WATER, POTATO STARCH, XANTHAN GUM, NATURAL FLAVORS, CARROT JUICE  CONCENTRATE.
    the text above is what comes through in the ingredients in one of my data rows. It's the last thing that works out of the 6 columns that are getting carried over properly.
    so you're saying to replace all the long text with breaks with something like "ingtxt" then do a find and replace? I'll try that.

Maybe you are looking for

  • Formula list and details of operations

    In an OBIEE analyisis, when you drag a column to the "Selected Columns" section and then from more options edit the Formula and try to add fucntions like SUM() or COUNT() on the column, you fina a host of other formula as well in the new popup window

  • QOS Policy gets Policy hits but doesn't seem to do anything when put to the test

    I have been trying to implement a policy that prioritizes certain types of of traffic over another namyly Lync Voice Traffic, Cisco CAPWAP traffic from controllers to AP's, and Citrix ICA Traffic.  I do recieve policy hits but when I load the connect

  • I have video thumbnails in my video folder on i tunes and....

    How do I delete them.Please help!!!

  • Cash flow related

    Hi all, I need to create a set of interest rate instruments (TM_51), but first I need to display a consolidate report that shows all the flows (cash flow tab of TM_51) that are going to be created in order to validate if there is enough budget to sup

  • AP Check Signature files

    How is the signature file controlled within XML Publisher? Is this any different that other products like Bottom Line or Optio?