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.

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

  • 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

  • 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).

  • Export Excel Data only causes blank line between 2 lines of records

    Hi,
    I wrote a complete winform application using CR2008.
    For information :
    C# Framework 3.5
    Windows XP SP2 or Windows Server 2003 SP1
    CR2008 SP1
    Application allow to preview report. In the preview window (CR activx) there is a "letter icon" to export report in several format.
    -RPT
    -PDF
    -DOC
    -XSL
    -XSL Data only
    When I export with "Excel Data only" format, I always have a blank line between 2 lines of records in Excel.
    Is there a way to supress them from VS2008 ?
    Thanks a lot for your reply,

    Hello, Jonik;
    Do you see the same blank lines when you export to Excel Data only in the Crystal Reports designer?
    Elaine

  • SQL Data Modeler adds blank line to UK Constraints

    Oracle SQL Developer Data Modeler Version: 2.0.0 Build: 584
    I'm migrating my schema designs from Oracle Designer to SQL Developer Data Modeler. When I get to the point of generating SQL files I consistently get an extra blank line added to every unique constraint. My primary key constraints are defined the same way, but they do not have the blank line. See below for an example of the SQL output:
    ALTER TABLE ALIAS
    ADD CONSTRAINT ALIAS_PK PRIMARY KEY ( ALIAS_NO )
    USING INDEX TABLESPACE INDEX1
    NOLOGGING
    NOSORT
    ALTER TABLE ALIAS
    ADD CONSTRAINT ALIAS_UK UNIQUE ( ALIAS_NAME )
    USING INDEX TABLESPACE INDEX1
    NOLOGGING
    NOSORT
    This blank line causes errors when I execute the SQL script so I have to edit it before using. Did I forget to something or is this a bug?
    Thanks,
    Gail Binkley
    Stanford University

    Hi Gail,
    thanks for feedback. I logged bug for that.
    Philip

  • 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

  • Data Merge Window Blank

    I've done merges many times before without trouble and all of a sudden it has stopped working. When I try to merge any .csv file, including files I hae merged successfully in the past, no error comes up, but the data merge window remains blank - no fields no nothing. Have tried copying and pasting the original .csv file into notepad and then into excel again hoping to get rid of any weird formatting errors. Restarted indesign and my computer. Not a techie really...any help would be most appreciated!

    Thanks for your advice. I tried recreating the frame and even tried to merge in an entirely new document and nothing shows. Also tried exporting as idml and nothing. Seems this function is not working for any docs in indesign. And just to be clear, I am selecting a .csv data source, that is not the issue. Thanks!

  • Linking Data Merge Field with JavaScript for PDF link

    Hello everyone,
    I am using the data merge in InDesign to generate a PDF with data from a data source file. The data merge will populate a Product Number field. I want to write a script that will modify the Product Number field to contain a JavaScript Link in the resulting PDF.
    For example, the product number [1234-567] will launch: app.launchURL("plsddr://localhost/1234-567|*", true); when the Product Number link is clicked on in the resulting PDF.
    Can anyone provide an example on how this could be done, or point me in the right direction? If there is a better way to go about this, please let me know.
    Thanks!

    What findText returns is a list of Text, but that's totally interchangeable with Word. It appears InDesign can switch at will between Characters, Words, Lines, Paragraphs, and Stories.
    Text can consist of one single SpecialCharacter (a column break, or a hard return, or any of the SpecialCharacters enumeration), or of a standard JavaScript "String" object -- a simple Unicode string.
    The property that 'holds' the text is "contents" -- so, adding all of this up, to 'get' the text that has been found, you'd typically use
    next = list.pop();
    alert ("The text contents of this one is '"+next.contents+"'");
    and you can build further on that -- using it as a HyperlinkDestination URL, or something like that. The Text item -- 'next' -- still points to the 'live' text it was found at, so be careful not to modify it. Doing something like
    next.contents = 'hey what happened';
    will change the actual text in your document. But it's also useful to add, for example, a hyperlink to the actual position this text was found on.
    (A tip regarding changes: if you are to change your document, the original items findText pointed to will be messed up after you changed the first one! To prevent that, work backwards from the last item found to the first. findText(true) will reverse the order of found items, from last to first -- see the JS Help on that.)
    As for
    (Also, how do you print the contents of a Word object?)
    that depends on what you mean with 'print' . To a printer?

  • Can not input data when removed the value for seleciton condition

    Dear Experts,
    We met a very strange issue for the IP.
    We create a aggregation level and relatd query for user to key in data.
    We have a filter in the aggregation level.
    It will set value for A,B,C,D
    When user opent he report, system will require user to key in the value for A,B,C,D.
    Now we found that if we key in value for B, cell is input ready.
    If we removed the value in for the B in the selection condition (I mean the value of B is empty, this means tha all the value of B will display in the report), we can not key in data.
    Could you kindly let me kow the reason?
    Thanks and best regards
    Alex yang

    Dear Experts,
    Many thanks for your information.
    I know the principle for the IP.
    But I think you may misunderstanding this issue due to my incorrect explaination.
    First, we think the aggreagtion level is ok. This is due to that for the B in my example, we set its as column value in the query.
    This is means for each record in the IP query, it has only one B value to reflect it.
    But strange things is that if we set fixed value for B, IP input is ok.
    If we removed fixed value for B, IP function is error.
    Now, we will test if we key in multi value for B whether IP input function is ok or not.
    Any update, I will inform you.
    Thanks and best regards
    Alex yang

  • In V_V2 the role of Sort Item by date of creation and Sort by delivery date of earliest schedule line for the Sales Orders when Material is out of Stock.

    Hi All,
    Good Morning,
    I am working on once Incident for Re-Scheduling Program V_V2 where the user has requested us to change the criteria for determining the priority of Sales Document based on Sort Item by date of creation. Currently they are using the Sort by delivery date of earliest schedule line in the Variant.
    I would like to know the role these both options play in the Re-Scheduling program V_V2. I would like to know the impact of both of them and the kind of testing I need to perform to study the behaviour of Sales Orders especially when the material is out of stock?
    Please explain with help of examples.
    Thanks
    Farhan.

    This is not that simple that an example would explain how this transaction works but I'll give you some examples.
    Material A has SO1 and SO2 of 10KG each, stock is 20KG so both quantities are confirmed at today. A stock recount determines a reduction to 5KG. This program would change confirmed quantity of SO1 to 5KG and SO2 to 0KG if:
    Creation date of SO1 is older then SO2 in strategy 1
    1st delivery date of SO1 is smaller then SO2 in strategy 2
    Material B has SO1 and SO2 with 10KG each but no quantity confirmed, stock is 0KG. A prodution adds 15KG to stock. The program would change confirmed quantities of SO1 to 10KG and SO2 to 5KG if:
    Creation date of SO1 is older then SO2 in strategy 1
    1st delivery date of SO1 is smaller then SO2 in strategy 2
    I'm assuming a specific configuration, there are many other scenarios possible.
    regards,
    Edgar

  • Can we show blank lines for transient VO?

    I'm a newbie.. Using JDev 11.1.1.2.0.
    I have a requirement like this (simplified): On first page show an editable table with 2 columns: part no and date, and 10 blank rows. On hitting submit, it should go to a second page which has the part number, date, and price (from database API).
    I went thru storefrontdemo example and I see they have used a transient VO for the cart. So I created a transient VO with 3 attributes - part number, date and price. Also created an AM method in the Impl class to get the price for a part/date combination.
    Few questions:
    1. How can I show the first page with blank rows? When i drag and drop the VO from data control palette as an editable table, I get no rows.
    2. Is it wise to invoke the AM method for each row and populate the price on the transient VO attribute? Will the transient VO values display on the second page, assuming both the first and second pages are in a task flow?
    Thanks in advance!
    Kalp
    Edited by: user514831 on Jan 17, 2011 1:56 PM

    Answering my own question - I just added a CreateInsert operation from data control palette and rewired the "Method" to a custom bean that does something like:
    Row row = vo.createRow();
    vo.insertRow(row);

  • 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

  • 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

  • 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

Maybe you are looking for

  • MacBook Pro Connecting to a Samsung TV HDMI trouble. Please help ^^

    Hi, I have been trying to connect my Macbook Pro to my Samsung TV LE32B530P7W (HDTV) with a MINI DISPLAYPORT to HDMI adapter and then the HDMI cable to the TV, but nothing shows up on the TV (it says no signal), what should I do to make it work?? Do

  • HT204085 How can i use iCloud service without providing credit card information on my iphone

    Sir I have no crdit card I want to use iCloud and iTunes service please help me

  • JDev9051 with MS Access

    I have developed an ADF Swing application with ADF BC4J components - only simple editable jTable. I used MS Access database and jdbc-odbc connection. With JDev905Preview everything worked fine. With jDev9051 when trying to edit field in the table fol

  • Alter SHRINK SPACE in oracle 10g

    Hello, My table PRICE_T table gets deleted and inserted almost 50 million records everyday. Now it takes too much time to perform this operation because of TABLE fragmented. i can use "CREATE table as select" option to remove fragmentation from table

  • At Line selection problem

    hi, iam stuck up with AT LINE-SELECTION problem ie i designed a screen where they need month list on clicking F4. i got the month list using month_names_get in the screen but while clicking the relevant month no.it's not entering into the required pa