Assign Color to a Box with Data Merge ?

Hi. I have a simple question with the Data Merge feature.
I made a template and one of the info in my spreadsheet is a reference to a musical style. But I want to make this reflect dynamically in my layout with a bullet with a color. For example, if the record is about Rock music, it will be labeled RED in my layout.
Is there anyway to make that happen with data merge, or maybe with XML ??
Thanks to help !

there is a way throug xml, yes. but you would have to add extra code (attribute with unique value : the name of the paragraphstyle to be used) into the xml for every instance where you would need different colors.
If you are interested, I could send you an example.
Peter

Similar Messages

  • Assistance with Data Merge for product sell sheets

    Last year I started creating product sell sheets for our sales team. The sell sheet is built containg these elements: A product photo, a data table displaying product numbers, descriptions etc.. Underneath the photo and table is a text box. I have created a lot of these sell sheets for a variety of product categories. The prices are updated fairly often, maybe once every month or two. I created all of these using excel and Illustrator. Other than photoshop, Adobe products were forign to me and never looked into what indesign was capable of until now.
    I am wondering if the data merge feature would be a good fit for what I am doing. I would be more than happy to share my project files. I am asking for a little bit of hand holding here to expedite this process. Anyone out there willing to take a look and help me out??
    Project Files:
    PDF Sell Sheet created in Illustrator (would like to have the same look and feel but have the data automated in Indesign)
    Excel Data (Looking to reformat the way the data is displayed so that it would work well with Data Merge)

    I don' think data merge will lend itself well to that sort of layout. It's just not sophisticated enough. For datamerge, all the data for each module has to be in one row on your excel sheet. Example: The setup on top will yield the example below. The image has a placeholder in the far left.
    For your example, I think your best bet is to set up table styles. (table styles won't hold column widths, but there is a script that you can use for that: it's referenced in this thread. If you make good use of paragraph styles and table styles, it will still go much more quickly in InDesign.
    http://forums.adobe.com/message/4929669

  • Strange Behavior with Data Merge (CS4) - Advice?

    This is the most bizarre behavior and I may have to chalk it up to a full moon or something since I can't reproduce it and I cannot find any hints as why this happened. This is my last attempt at figuring a solution...maybe someone has experienced this??? Anyway, here's what happened...
    I do a data merge for addressing envelopes. Been using the InDesign data merge feature for a couple of years now, no problems.
    My address list is approximately 1200. It's in a .csv file with the following fields: fname, lname, company, address1, address2, city, state, zip
    For my last mailing, approximately 300 addresses were merged wrong. Here's the crazy thing it did: instead of using the address1 field for the current record, it used the address1 field from the NEXT record, and ONLY the address1 field.
    Here's more bizarre-ness. The NEXT record was merged correctly.
    For example:
    Record 1 (address1 should be 555 Cherry Lane, Apt 5)
    John Smith
    Smith Company
    123 Main Street, Apt 5
    Small Town, CA 12345
    Record 2 (John Smith's address used THIS address1, but NOT address2 or any other field! Jane Doe's address is correct)
    Jane Doe
    Doe Company
    123 Main Street, Suite 300
    Big Town, TX 56789
    I've tested. I've looked for commonality in the records, where it's placed, if there was something unusual about it's format. I come up empty. The incorrect data seem randomly interspersed.
    One thing that I have to do is break up the actual merge. Either my computer memory or InDesign can't handle 1200 merge records. So, I merge approximately 200 records at a time (I make 6 print files). I don't know if this has anything to do with it (like I said, the incorrect data is interspersed all through out), but, thought I'd mention it.
    Any advice is appreciated. I'm hesitant to use it again until I can understand why this happened.
    thanks much,
    Kia

    CS was soemtimes flakey in this way with Data Merge.
    Are you updated to the latest patch? Most issues were resolved at some point.
    That said, I recall another user with this problem, and it never resolved with his particular file. I examined the data file and couldn't find any issues, but it behaved identically on my system tot he way it did on his so I can only conclude there was still some bug, or something about the data file that we were unable to detect. I seem to recall that the same data file merged correctly in CS3, but I don't recall if I saved it long enough to test in CS5. I've not had any issues with my own files in any version.
    Open the file in a plain text editor and look for any odd characters (I'd start the search where the merge first fails). Also do a Save As from the text editor to make sure there is no possibility of formatting from your spread sheet having found its way in.

  • Importing CSV file with Data Merge Fails

    Specs
    See pasted text from CSV at http://pastebin.com/mymhugpN
    I am using InDesign CS6 (8.0.1)
    I created the CSV by downloading it from a Google Spreadsheet as a CSV. I confirm with the Terminal that the character encoding is utf-8 usnig the file command.
    Problem detailed
    I am trying to import a CSV file (utf-8) with Data Merge via the Select Data Source... command with Show Import Options checked. When viewing the Data Source Import Options dialog, I set the following options—Delimiter:Comma, Encoding:Unicode, Platform:Macintosh. I leave Preserve Spaces in Data Source unchecked. It fails to import any variables and produces no error message. I have tried other CSV files as well (created TextEdit, Espresso, etc.) and it seems that InDesign will not import any files if Unicode is specified as the encoding, no matter which other options are specified.
    Can anyone else confirm this?
    Importing as ACSII works, but obviously does not display my content correctly.

    Mike is having some trouble posting in this thread (and I am too), but he sent me a PM with what he wanted to say:
    OK. I think I might have a positive answer for you.
    I was getting lost in the upper ASCII characters you showed. In your test file I never could see any--a case of not seeing the trees for the forest.
    Your quote marks are getting dropped in your test file. Now, this may or may not affect other factors but it does in some further testing. I believe ID has an issue with dropping quote marks even in a plain ASCII file if the marks are at the beginning of a sentence and the file is tab delimited. Call it a bug.
    Because of all the commas and quote marks in your simple file, I think you should be exporting from Google Docs' spreadsheet as a tab-delimited file. This exported file has to be opened in a text editor capable of saving it out as a UTF-16 BE (Big Endian) type of file.
    Also, I think you are going to have to use proper quote marks throughout, or change them in the exported tab-delimited file. Best to have a correct source, though.
    Here is your sample ZIPped up. I think it works properly. But then again, I think I might be bleary-eyed by now.
    http://www.wenzloffandsons.com/temp/merge_psalms_utf-16.zip
    Take care, Mike

  • Automatic printing to location, with data merge?

    Hello all,
    I am quite new to this, and i have a question...
    I am using Data Merge with large number of values to fill in fields in indesign...but for each value line, printing has to be done to different folder. Is there any way to set printing location with data merge? 

    Try this:
    Save your file as a UTF-16 BE (Big Endian) file.
    Import showing options in ID. I'm on a PC, choose the below regardless.
    Should look like this in ID.
    Apologies to Farsi-speaking people everywhere. I pulled some text out of a Farsi text file to make up this tab-delimited merge file. I don't speak it, so it is likely servely non-sensical.
    The text editor being used here (first screen shot) is the OpenSource NotePad++. I am also not using the ME version of ID.
    Take care, Mike

  • How to get hebrew characters to work with data merge?

    I'm trying to work with data merge with Hebrew characters and get gibrish on the panel, merging and export.
    I've tried to change the CSV file to Unicode and change the language setting but it still don't work.
    I've worked with data merge before in English and it work perfectly.
    Any Ideas? is this a bug? software constrains?

    Try this:
    Save your file as a UTF-16 BE (Big Endian) file.
    Import showing options in ID. I'm on a PC, choose the below regardless.
    Should look like this in ID.
    Apologies to Farsi-speaking people everywhere. I pulled some text out of a Farsi text file to make up this tab-delimited merge file. I don't speak it, so it is likely servely non-sensical.
    The text editor being used here (first screen shot) is the OpenSource NotePad++. I am also not using the ME version of ID.
    Take care, Mike

  • How to repeat data with Data Merge?

    How can I repeat data in the same text block with Data Merge? I have an Excel file with a class schedule that I need to import but when I use Data Merge, it wants to create a new page for each line. I want to keep the data in one text block per page and use Data Merge so when I get the new Excel file, it will be easy to update. This seems like it would be a simple thing to do, but I can't find the answer. Can anyone help?

    Time for me to sound like a broken record. Data merge could be used for this but I don't think it was ever intended for such recurring publications like you are making. There will always be a lot of repetitive work that always will need to be performed after each update.
    Instead, I think you should read up on using an XML workflow. Now, the XML out of excel needs transformed to be viable inside ID. But that is reasonably easy and can be done in an XML editor or upon importing into ID. Though it has been set aside for a time, I am making an example of a college course catalog for a customer. I'll see if I can finish it off by the weekend. If so, I'll post it to this thread.
    Take care, Mike

  • Pre pouplating selectone list box  with data

    hello friends, im very new to jsf programming
    I have one requrement like this.
    In one jsp page there are many select boxes (jSF components).
    and there is one backing bean corresponding to that jsp page.
    I want to pre populate the select boxes with the data, from the database.
    I dont know howand where to set the values to these select boxes.
    please help me friends.
    Thanks in advance.

    You can pre-propulate the bean anytime before you attempt to build the page (on which the select boxes are on).
    Use an action method, action listener, or even the beans constructor to populate the bean.
    There are a few other times/ways you can pre-populate the bean, but they are more special cases.
    Most people will use the beans constructor. It's the simplest and most straight forward way (plus, that's what a constructor is for... populating your Object with defaults). You can make your DB calls from within the constructor.
    CowKing

  • Conditional fields with Data Merge

    I have, what I believe, would be a common question for people using Data Merge in InDesign for business cards.
    I have multiple phone fields, with a small-caps letter to indicate what type (mobile, direct, fax, etc.), i.e.:
    M <<Phone Mobile>>
    D <<Phone Direct>>
    If an employee has only one phone line, how can I make it so that the entire line will be omitted from the final merged doc?
    In the past, I've just gone through the final set and quickly removed extra lines/characters, but I know there's a way!
    Thanks.

    You could also do a find/replace (or, rather two of them if needed) to remove the leading character.
    So for your "D" phone number example, you would do a F/R after the merge like so:
    D <FEFF>\r
    If I remembered the syntax correctly, anyway. It finds the literal 'D' followed by a space, followed by an empty merge field marker, followed by a return. Replace would be with nothing.
    Else consider using a merge product that has the conditional capabilities. Em Software makes one such plug-in. I use Xdata for QuarkXpress a good bit, their InDesign counterpart is called InData.
    Mike

  • Problems with data merge

    I am trying to do a data merge in InDesign CS5 to make an employee directory. I have placed the employee information into a google docs spreadsheet and downloaded it as a csv file. I was partly successful once in getting the file into the document, but it wasn’t complete. More specifically, not all the titles of the columns loaded into the data merge box. One was missing and it was the photos column. In the spreadsheet I titled the photos column like this: @photos
    I have tried many times since, but now nothing happens at all when I select the data source. I’ve even rebooted my computer, but it didn’t help. Thanks for any help. Merissa

    If Google Docs is like Excel, you may need to title that column as    '@photos  in your spreadsheet. (the apostrophe before the @ prevents the spreadsheet from seeing the @ as an operator.)

  • Merging Spreadsheets as Text With Data Merge

    Can ID6 data merge a whole spreadsheet? I make signs for our store. Most are simple data merge, i.e. price, description, discount, logo and picture. But some products need a sign (label) that would actually need a table imported to each. I don't know of a way to data merge a spreadsheet to each label. From what I can tell, data merge only works for text in a spreadsheet field and an image referenced by path in another spreadsheet field in the same record. Perhaps multiple records could be merged onto one label? In another words. Some items would only need a label with info from one line (record) of the data source spreadsheet while others might need 2-6 records on each label from the data source spreadsheet ....

    You're asking a fairly simple utility to do things it's not designed to do. You should look toward third-party plug-ins for working with data in InDesign.

  • Is there a way of generating Indesign new QR code with Data merge?

    The QR Code Content area will not accept a data merge field. Is there any way of using these for generating variable data QR code?

    No, it is not possible.

  • Problems with data merge (CS4) - puts all fields in one

    Data merge is acting very weird, I have a standard textfile of six columns exported to .csv. When I import it in InDesign it puts all fields in one place (see image) and it becomes totally useless. Has anyone had this problem and if so, how did you solve it?
    Thank you!

    It is a regular textfile (http://www.pixentral.com/show.php?picture=1k0bmos4r2l7lCtegA1CGHIcw98jrM
    ) divided into columns...
    28 apr 2009 kl. 23.00 skrev Peter Spier:
    I took a look at the image, now that it's out of the queue, and the 
    fields seem to be seaparted by semi-colons. How did you make the file?
    >
    ID recognizes comma-sparated (CSV) or tab-delimited text files.
    >
    Peter
    >

  • Applying color to picture boxes with siloed images

    I have picture boxes that contain photos that were siloed in photoshop.
    When I place in InDesign, I want to put a color in back of the image. When I try the color sits on top of the image as well as filling the background
    please advise.
    thanks

    You should be able to colour the picture frame without affecting the silhouette. Select the frame with the Selection tool (black arrow) and pick a fill colour.
    If that's not working for you then perhaps a screen shot showing what you see will help us help you. The image must be hosted online somewhere (not here). I like Photobucket.com, but there's also Flickr and imageshack. once uploaded, enter the HTML to show the image in a new reply.

  • How do I make a PDF form with data-merge capabilities (to use with .xls spreadsheet)?

    I would like to design a form in InDesign (CS2), export it to a PDF, use Adobe LiveCycle to make it into a form, then use data from an excel spreadsheet to populate the form in a repetative fashion so that each person in the spreadsheet gets a populated form with only their applicable data on it. Is this possible?

    You can use LiveCycle Designer's Data Connection to access an SQL data base. Excel can act as an SQL database.

Maybe you are looking for