Data merge not removing blank lines

InDesign 7.0.4  (CS5)
Mac OS 10.7.2
I am merging product data for a simple price list.  Some of the products have images, some do not.  My .csv is formatted to include the image file name and I can create a 20 page, merged document with all of the products.  However, for the products without images, there is a blank image placeholder for records without images.  I want to remove the placeholder and allow the next product to "bump up" and not have so much white space.
Does this make sense?  Any help is greatly appreciated.  I have crawled the forums and seen a lot of discussion around this, but no solution yet.  Thanks.
Chris

Peter,
Thank you.  I was hoping you would respond.  I see your posts all over the forum.  Thanks again.
So, to summarize, there is no way to remove the empty frames in my merged document.  (other than manually)
Is there another way to do this that I may be missing?  Essentially, for the records without an image, I need to remove the white space in the image above (the second record is a good example).
Thanks again,
Chris

Similar Messages

  • Data Merge - Not removing blank lines when more than one in a row

    I am having the same problem as mentioned here: http://forums.adobe.com/message/2109531#2109531  That post is for some reason set as "answered" though the poster said the latest update did not resolve the issue.  Has anyone found a solution to this issue?
    Thanks much,

    I"d suggest you try running the merge WITHOUT removing blank lines, then use  GREP to remove empty paragraphs. There's a pre-written saved query in the list.
    Peter

  • Empty fields in data merge is causing blank lines to show up. CS4

    I had this problem when I was laying out my data merge info I origionally put phone and cell phone on the same line which resaulted in the cell phone number getting split in two since the column wasn't wide enough to show both of them side by side. I then moved the cell phone number down to the next line but the problem I had then was that it would leave a blank line everytime I would come across somebody who didn't have a cell phone number. Does anyone know how I can collapse that empty line when the cell phone line is empty?

    See your other thread where you asked about this.

  • Data Merge Remove Blank Lines for Images?

    I'm trying to use data merge to generate these labels:
    I have a spreadsheet with 20 or so products. Each product can have up to 6 of about 18 icons. The  problem is, the remove blank lines feature doesn't seem to work for image placeholders. Any ideas how to get around this?
    Any suggestions would be greatly appreciated.

    I think I know what the OP wants to do - that is, where no logo is applicable, then all the logos shift to the left... or right... or remain centered.
    I've tackled this before and have an answer... even have a tutorial for it on my blog. Go to http://colecandoo.wordpress.com/2012/02/19/going-beyond-stencil-letters/ and then go to 4: SCRABBLE LETTERS and have a read of that. There is a PDF to download which has attachments inside of the indesign file and assets used to make the tutorial.
    The key to getting the images to disappear is fourfold.
    First, the image frames have to be inline graphics one next to the other, aligned with whichever text feature is appropriate.
    Second, the picture placement options in the merge have to be "fit frame to content"
    Third, there can't be "blank" records in the csv/txt file when there is no picture. instead, create a "blank.pdf", or download the one i've graciously decided to host on my site: http://colecandoo.files.wordpress.com/2012/08/blank.pdf
    Fourth, the PDFs going into the fields must be using the artbox to get it's measurements. I find that this can be accomplished by placing a PDF image with "show placement options" turned on, then selecting the artbox for the measurement, then clicking ok. until it is told not to, any PDF placed in any file from that point will use that artbox as a reference until it is told not to in the "show placement options".
    Again, my blog has a tutorial and sample to play with. Good luck.

  • How to remove blank lines in the end of list .

    hi,
    in a complex report ,when there are only 20 pages,and linecount is 65(2) ,in the last page only 27 lines are filled and data is completed.then blank lines are printing from 27th line to 63 line.then end of page is triggering.
    so plz help me how to remove the blank lines here and immediately print the endof page.

    Hi,
    will this work for you.
    SET BLANK LINES OFF.
    These statements allow you to specify whether you want to output blank lines or not. Use SET BLANK LINES ON to output blank lines or SET BLANK LINES OFF to suppress them.
    Regards
    Viswanath Babu

  • Data Merge Not Displaying Images

    This is my first go using Data Merge and so far so good. I have my master template set up and have successfully merged data from my csv file into a multi-page data merge document.
    For reference I am using ID CC and Windows 7
    My problem is data merging images.
    My csv is set up using '@image as a header, and I am using a relative link in the below field (/image-folder/image.jpg)
    ID recognises the image header and shows 'image' in the data source, but when I assign it to my frame nothing is displayed. I have the fitting set to fit the frame.
    My path seems to be correct, as if I change it, my image does not appear in the layer palette.
    I am not seeing the image when I hit 'preview' in the data merge palette, or when I perform the data merge itself.
    Really in need of some help!

    Try creating a new blank document containing a single graphics frame. Drag the 'image' entry from the Data Merge panel on to the frame. It should now show <<image>> within the frame (see screenshot). See if data merge works now.
    If not, another thing to check is the separators in the file path in your csv file. To get the correct path, place a test image then go to the flyout menu in the Links panel and select Copy Info > Copy Platform Style Path.

  • How do you remove blank lines from an assignment block?.

    I have used the UI enhancement tool to add fields to an assignment block, but I've ended up with a blank line between the fields. How can I remove this?. There's an option to add new lines and fields but not remove them.
    Anyone.
    Jason

    Many thanks, that worked fine. I did not think of doing that, but I can see why there would not be a remove line option.
    Regards
    Jas

  • Regexp_replace to remove blank lines from multi lines in a single field

    Gents. 10g R2.
       with test_tab as
       (select 'x'||chr(10)||'y'||chr(10)||chr(10)||'z' tester from dual)
       select tester from test_tabproduces
    x
    y
    zI require
    x
    y
    zThere's a lot of examples on how to end up with xzy, but I need to maintain the carriage returns, just strip out blank lines.
    I've been trying with posix [:cntrl:] but it doesn't seem to want to work. Question: how to get the desired output?
    If this has been answered on another post, please point me in the right direction and accept my apologies!

    Hi,
    The simplest thing might be to use LTRIM. (or TRIM, if you need to remove them from the end of the string, as well).
    If you want a regular expression:
    SELECT     REGEXP_REPLACE ( tester
                     , '(^|' || CHR (10) || ')' || CHR (10) || '+'
                     , '\1'
    FROM     test_tab
    ;This might be easier to understand if you let x stand for CHR (10):
    SELECT     REGEXP_REPLACE ( tester
                     , '(^|x)x+'
                     , '\1'
    FROM     test_tab
    ;This is easier to understand: \1 is either the beginning of the string or x. When this is followed imeediately by 1 or more extra x's, then replace that whole pattern with \1 (that is, remove the extra x's).

  • Data Merge not picking up all data fields

    Hi,
    I've been having a problem, posted here: http://forums.adobe.com/thread/1217090
    Essentially, I have been using the script 'CSV2Tables' to prepopulate simple 2 column tables with information drawn from a CSV data source.
    The tables consist of a title, and a block of information about that specific subject. Many of the blocks of information I am importing also contain data tags (<<DataTag>>)
    The plan is to use CSV2Tables to populate the tables, then change data source and run a normal ID Data Merge to replace all of the <<tags>> within the tables with information from a second CSV data source.
    The problem is, CSV2Tables is importing the data and prepopulating the tables just fine, but the data tags that are found within each body of text are being picked up as plain text (as Peter Spier has pointed out, they are being drawn from a plain text stream rather than being dragged from the Mail Merge panel) so when I try to run the ID Mail Merge, none of the fields are found within my document.
    My question is - is there a method, or script available out there that can essentially do a Find/Change within a document, and replace plain text that appears like this <<PlainText>> with a Data Tag that is recognised by ID, which will allow me to run a Data Merge?
    I have been told to check out some of the commercial plugins available out there, but registering and setting up demo's would require me to contact our IT provider for each, and that would be an exhaustive process.
    Any help is much appreciated.

    Hi,
    is modyfied
    Array.prototype.find = function (string) {
        for (var s = 0; s < this.length; s++)
            if (this[s] == string) return s;
            return -1;
    var mFrames, mFile, mDoc, mFields, mFieldsNames, mStory,
         mPlainTxt, mNameToCompare, mField_ID;
    // edit this with proper .csv path
    mFile = File(Folder.myDocuments + "/" + "Merge.csv");
    mDoc = app.activeDocument;
    mDoc.dataMergeProperties.selectDataSource(mFile);
    mFields = mDoc.dataMergeProperties.dataMergeFields;
    mFieldsNames = mFields.everyItem().fieldName;
    mFrames = mDoc.textFrames.everyItem().getElements();
    for (var i = 0; i < mFrames.length; i ++) {
        if (!mFrames[i].name.match(/TF\d*$/) ) continue;
        // script assumes a targered text boxes are named like: TF1, TF2...
         // (TF plus any integer) or just TF (no integer)
        // - they could have the same name
        // any other name exludes frame from this loop
        mStory = mFrames[i].parentStory;
        app.findGrepPreferences = null;
        app.findGrepPreferences.findWhat = "<<.+?>>";
        mPlainTxt = mStory.findGrep(true);
        for (var k = 0; k < mPlainTxt.length; k++) {
            mNameToCompare = mPlainTxt[k].contents.slice(2,-2);
            mField_ID = mFieldsNames.find(mNameToCompare);
            if (mField_ID > -1) {
                  mField = mFields[mField_ID];
                mDoc.dataMergeTextPlaceholders.add (
                    mStory,
                    mPlainTxt[k].insertionPoints[0],
                    mField
            mPlainTxt[k].remove();
    script assumes a targered text boxes are named like:
    TF1, TF2... (TF plus any integer) or just TF (no integer) -
    - they could have the same name.
    Jarek

  • Removing blank line in smart from nested loop

    hi,
              I have been using table in the smart forms for printing purchase order (services) material under a single material  and in my table control I have been using two to three loops on different rows according to the requirements. in the last loop I have been getting blank lines after each row is printing. Can someone one tell me how to control that blank line.
    Regards,
    Zahid Hameed.

    HI ,
                  I HAVE TWO LOOPS RUNNING UNDER THE TABLE TOTAL OF THREE UNDER FIRST LOOP I HAVE BEEN PRINTING THE 6 COLS THAT IS "SNO, material description,qty/unit,rate and amount and yes under the material description I HAVE BEEN PRINTING THE LONG TEXT AFTER THIS THE SECOND LOOP STARTS WHICH PRINTS FOR ME THE SUB MATERIAL DESCRIPTION AMOUNT AND UNIT/QTY,AND IN THE THIRD LOOP I HAVE BEEN PRINTING CONDITION NAME UNDER THE MATERIAL DESCRIPTION AND AMOUNT IN THE NEXT FIELD. THIS IS HOW THE WHOLE SCENARIO IS RUNNING THE FIRST TWO LOOPS R WORKING PROPERLY BUT WHEN CONTROL COMES TO THE THIRD LOOP IT PRINT LIKE THIS.
    GROSS PRICE                                                                               
    . 1100.000
    DISCOUNT                                                                               
    . 100.00-
    ABSOLUTE VALUE
                                                                                    . 400.00
    FOR BOTH THE VALUES I HAVE BEEN USING THE DIFFERENT COLOUMNS BUT AND BOTH THE COLOMNS HAVE   ALOT OF SPACE I HAVE IMPLEMENTED UR SAID CONDITIONS ON MY UPPER LOOP START WORK FINE. BUT THE THIRD ONE HAS THE SAME EFFECT AS I HAVE MENTIONED ABOVE.
    REGARDS,
    ZAHID HAMEED.
    Edited by: ZAHID HAMEED on Jul 3, 2010 10:12 PM
    Moderator message: Please do not use all upper case in the future.
    Edited by: Thomas Zloch on Jul 5, 2010 11:30 AM

  • Remove blank line after File Content Conversion

    I have a File>Conversion on PI7.0 (SP10).
    It seems to add a blank line. The XML is:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:EPIWCountFile xmlns:ns0="urn:com.somewhere.overthere.nothere">
      <Personal_Area>LU</Personal_Area>
    - <detail>
      <recordCount>17</recordCount>
      </detail>
      </ns0:EPIWCountFile>
    The conversion is done:
    recordset Structure=detail,
    name=detail.fieldseparator    ,
    The output file is
    17
    Hopefully you can see the blank line before the number!???
    I have changed the contexts while processing, and played with other options, but it always adds a blank line at the begin.
    All this file is a count of the number of records processed.  (The personal_area is for a variable name for file/folder creation)
    How can I remove the blank line, as the target system fails due to this anomaly?

    If you are in a development environment, try this
    Make your target structure
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:EPIWCountFile xmlns:ns0="urn:com.somewhere.overthere.nothere">
    - <detail>
    <b><Personal_Area>LU</Personal_Area></b>
    <recordCount>17</recordCount>
    </detail>
    </ns0:EPIWCountFile>
    Content conversion parameter
    detail.fieldFixedLengths 0,2
    detail.fixedLengthTooShortHandling Cut
    P.S: If you need <Pesonal_Area> tag only for File/Folder Name, then why dont you use Adapter specific Identifiers to achieve the same.
    Regards,
    Jai Shankar

  • Can not delete blank lines

    Hi
    Using FM10
    I have blank lines that do not show up as \P (carriage returns) and I do not see a anchored frame.
    I took a screen snapshot, between the text "In this context" there are all these blank lines. Is there
    some "view" in FM10 that will show what's hidden? You can see there are no paragraphs (carriage returns)
    in the blank section, at the bottom of the image there is a carriage return after mechanism.
    --Ross

    Hi
    Thanks for the help. I opened paragraph designer & pagination sub menu. The keep with radio box Previous Pgf is checked and I modified the value in Window/Orphan Lines: box. I selected the text between \P and changed the value from 3 to 4 and the blank lines disappeared. I looked at other paragraphs and the values in the box changed sometimes it was 3 other places it was 99.
    Maybe when I accidentally did a text paste from a pdf comment block it added esc characters that changed this box value?

  • Preflight Not Removing Blank Pages

    I'm using Adobe Acrobat X Pro on Windows 8 OS.  I frequently scan to PDF on a network printer over which I cannot control the print settings.  When I print 2-sided, there will often be blank pages (where there is no text on the second side).  I've tried to use the Preflight tool to remove empty pages.  The 'fixup' rule will work to remove empty pages, but I have to first go into View/Show-Hide/Navigation Panes/Content then scroll down the pages to find the blanks.  Then expand and right-click the XObject and delete it.  Only then I can go to the Preflight tool, select the 'remove empty pages' fixup.  It asks to resave the file then proceeds with the fix and removes the blank pages.  If I don't remove the XObject, the 'remove empty pages' tool' will resave an identical file and not remove the blank pages.
    You'd think there would be a better way ????
    Steve

    Ok, so I'd like to get rid of the white pages.  Is there a way other than a 3rd party utility?
    Steve

  • Data merge not finalizing

    In-design won't finalize a document when I am creating it in data merge. It works in the preview like this image:
    But then when I hit Create Merged document, it just turns into this as a new document:
    Any idea how I can fix this?

    Actually, the only real justification for putting the merge fields on the master are if you have other master elements you don't want duplicated for each record in a mult-record merge, and more importantly the bilityt to update an already merged file when the data set changes.
    I generally do my merges with a blank master, then apply the correct master after the merge to avoid any issues with master objects, and from reports here updating an existing file that has merged images is a lot less than reliable -- the images reportedly disappear. Given the ease of saving the merge temaplte and just rerunning the merge if the data changes, I don't see any compelling reason to use merge fields on the master page in most cases.

  • Can not remove second line in Jabber for Tablet device on CUCM

    Hi all,
    The functionality we are trying to achieve is that people will have different DNs for their desk phones and Jabber for iPad devices, but when they make a call from the iPad, the desk phone DN will be shown. I have been testing out the Primary extension feature in the CUCM but it doesn't work properly so far. And now, I added two different DNs to a Jabber for Tablet device and can not remove the second one from 'Modify button items'. It gives the following error :
    Update failed. TypeDbErrors.gen25083
    Any ideas on how to fix this? Any ideas on how to use the primary extension feature?
    Regards,
    Fikri
    Enironment :
    CUCM 8.6.2
    Jabber for iPad 9.3.2 / Jabber for iOS 9.6

    I would delete the device and recreate it or delete the DN and then put it back on the device(s) it does belong on. The only real way to fix this would a TAC case so they can open a defect for you.
    Primary Extension isn't used in any of the alerting/connected display states. The only way to achieve this would be a lot of very complicated translation patterns/partitions/CSSes with calling party transformations on them. For example, if your desk phone DN was 2000 but the tablet DN was 3000, the translation pattern that would need to match for every number you dial would have to transform the calling party to 2XXX.
    If you want an opinion, this is bad design. You don't email a person at a separate address for their desktop vs. their smartphone. CUCM is designed to work the same way: you are calling a user, not the device.
    Please remember to rate helpful responses and identify helpful or correct answers.

Maybe you are looking for

  • How to control cancel lot ?

    how to inactive cancel lot function  in qa02??

  • Oracle XE License

    Oracle states XE is free to deploy & distribute. Now supose I have a client server application, that uses oracle 8i personal edition, and I'm being charged for that. Would replacing that database with XE mean that I will no longer be charged? TIA JM

  • Order of migration and initial installation

    I have a Mac Pro (Mid 2010) with four hard drives as my non-server desktop mac. I am about to take delivery of a Retina iMac which will supersede it. As it will have only 1tb storage I have decided to migrate the contents of the prime drive to the ne

  • Registration / Trial issues!

    I purchased a full copy of Adobe Acrobat X Pro back in March and it worked fine for about 7 months. Now suddenly, it acts like it is a trial version with the 30 day limit.  When I choose to register with serial number, it tells my number is not valid

  • Can't see folder structure when PDF folder in Lotus notes

    Hi All, We are using Lotus Notes 8.5 with Adobe Acrobat Professional 9.  In the Lotus Notes client, this one user clicks on the "Convert Selected folders to PDF', and a box comes up asking her to select the folders she wants to convert. The problem w