Accounting for varying values in Data merging

Hi everyone,
I've been asked to create a template for a degree certificate. So far I've created an InDesign document and used data merge to import the data from a .csv file. I've also used GREP styles to resize the name of the degree when it's longer than a certain number of characters. So far so good.
My question has to do with how to account for different categories of certificates. Let me explain. In my spreadsheet I have thre types of certificates A, B, and C. Each category triggers two specific bits of text. So for example:
When Cat = A
the following blurb appears at the top of the certificate:
WHEREAS THE UNIVERSITY OF NOWHERE HAS BEEN EMPOWERED BY ACTS OF THE LEGISLATURE OF MARS TO CONFER DEGREES AND AWARD DIPLOMAS OF THE UNIVERSITY
and the following text appears just before the name of the degree:
HAS BEEN ADMITTED BY THE UNIVERSITY TO THE DEGREE OF
When Cat = B
the following blurb appears at the top of the certificate:
WHEREAS THE UNIVERSITY OF NOWHERE HAS BEEN EMPOWERED BY ACTS OF THE LEGISLATURE OF MARS TO CONFER DEGREES AND AWARD DIPLOMAS OF THE UNIVERSITY
and the following text appears just before the name of the degree:
HAS BEEN AWARDED THE
When Cat = C
there is no blurb at the top of the certificate.
but the following text appears just before the name of the degree:
HAS BEEN AWARDED THE
I first thought of creating IF formulas in Excel but it doesn't work because I don't want the result to appear in the data, I want it to only appear once merged in the InDesign template.
SO THE QUESTION IS:
Is there any way to specify IF THEN values directly in the InDesign document? If not, does anyone have any idea if what I'm being asked to do here is even possible?
Any help or nudge in the right direction would be greatly appreciated,
Chris

Hi Christine,
I'll need to work through the example, but it would be that the blurbs are on thier own separate layers of page 1. And the data fields are simply on their own layer, still on that page.
That's as far as I got in a quick perusal of his example. I plan on recreating the example tonight when I have a bit of my own time to spend. I suspect it will be a lot more clear following the example, bit for bit. If it does work out as it seems it should, I can think of a. coupon job I merged that would have (maybe) been easier than the 5 merge files I ended up with.
I do want to mention, pointing back to my earlier comments, if there is anyway you can work with the IT people to produce a clean file ready for you, I would do so. Colin mentioned XML, and that is what I would strive for in this situation. But XML is a bit like being thrown into the deep end of the pool and learning to swim at the same time.

Similar Messages

  • I bought a new Iphone 4s, gave the older to my wife , made a new account for her, erased all data and now when i sync them they interfere with the other. Eg: if i delete an app ou buy one it appears on her phone, what shoul I do?

    I bought a new Iphone 4s, gave the older to my wife , made a new account for her, erased all data and now when i sync them they interfere with the other. Eg: if i delete an app ou buy one it appears on her phone, what should I do?

    Have a look here...
    Automatic Downloads...
    http://support.apple.com/kb/ht4539
    Turn off Automatic Downloads. Settings > Store

  • Required G?L accounts for Low Value Assets configuration

    Hi Experts,
    Please suggest me, what are the required G/L accounts for    FI-AA integration i.e OAOA for Low Value assets.
    Waiting for the reply.
    Regards,
    Vani.

    Hi Vani,
    You need to assign separate GL accounts for LVA if you intend to create them as a separate class with different account determination,screen layout etc.
    Otherwise the same GL accounts that have been assigned to the regular Asset classes, can be used for the flow of data relating to APC value of LVA and the depreciaiton.
    Hope I have given the required info.
    Regards
    Phani

  • Multiple indesign files for product brochure one data merge file

    I have multiple indesign files for product brochure and there are price changes for various products.
    attached is a screen shot of the folder where all the indesign files are located as you can see each one has been laid out as a spread.
    Rather than opening each individual indesign file to amend prices can i quickly? or is there a way of compliling all documents into one file and quickly updating the price with the data merge file.
    thanks in advance.

    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

  • Best approach to creating a TOC for product catalog using data merge

    What is the best approach for creating a TOC for a product catalog (over 1,000 items) using Data Merge?
    The TOC would contain the product Categories. 
    So for example, Category A items could go from pages 1 - 3, and Category B items would start at pg 4, but if new items were added to Category A, then Category B may start from pg 6. 
    From the Data Source, there are 5 Data Fields I've chosen to be displayed.  If this were a regular digital print document, I could use the Paragraph Style method for creating a TOC, but if I make any one of the Data Fields a certain Paragraph Style and use that for the TOC, it'll populate the TOC with that Data Field for all the items. 
    Any suggestions?

    Peter Spier wrote:
    TOC is not interactive in the ID file, though it can be in a PDF that you export (there's a checkbox to create PDF bookmarks). You might want to think about using Cross-references (rather than hyperlinks, I think) to build the TOC. You have to do it manually, but once done it should maintain itself, whereas a TOC is built automatically, but must be regenerated after you edit the doc.
    One caveat witih TOCs created from cross-references: Although changing the text of an x-ref source paragraph (for example from "Patatas and tamatas" to "Tomatoes and Potatoes,"and/or when the source paragraph flows to the next or previous page) update automatically or when invoking "Update cross-references," MOVING a cross-reference source paragraph to a location before or after another source paragraph, does not change their sequence in the pseudo-TOC. You'll need to manually move the reference in the pseudo-TOC to the correct position in the sequence of cross-refs. So, put the task of checking the order of x-refs in the pseudo-TOC on your before hand-off check list.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Function Module required for getting Value Range data

    I need a function module where in i can get the data from a value range in a domain.
    Message was edited by:
            Gurpreet Singh

    Hi,
    You can use this code to get the Doman's fixed values.
    DATA:  lt_fixed_values     TYPE ddfixvalues,
      CALL METHOD cl_abap_typedescr=>describe_by_name
        EXPORTING
          p_data      = 'Domain_name' " Pass the domain name here
        RECEIVING
          p_descr_ref = lcl_abap_typedescr.
      TRY.
          lcl_abap_elemdescr ?= lcl_abap_typedescr.
        CATCH cx_sy_move_cast_error.
      ENDTRY.
      IF lcl_abap_elemdescr IS BOUND.
        CALL METHOD lcl_abap_elemdescr->get_ddic_fixed_values
          EXPORTING
            p_langu        = sy-langu " Give the language
          RECEIVING
            p_fixed_values = lt_fixed_values " This table will have the fixed values
          EXCEPTIONS
            not_found      = 1
            no_ddic_type   = 2
            OTHERS         = 3.
      ENDIF.
    Regards,
    Sesh

  • Search for a string in Data Merge, then change the font color

    I'm working on a postcard-style invitation with the addresses on the back. So far, I've finished the invitation and the mail-side template with a Data Merge to a CSV file successfully. Now, as part of my design, I want all of the letter "b"s on the mail-side template (Data Merge) to be yellow. Using JavaScript is this possilbe? This is what I have so far, but something is wrong:
         app.findTextPrefences = NothingEnum.NOTHING as FindTextPreference;
         app.changeTextPrefences = NothingEnum.NOTHING as ChangeTextPreference;
         var myColor:Color = myDocument.colors.add();
         myColor.model = ColorModel.PROCESS;
         myColor.space = ColorSpace.CMYK;
         myColor.colorValue = [0, 0, 100, 16];
         app.findChangeTextOptions.caseSensitive = false;
         app.findChangeTextOptions.includeFootnotes = false;
         app.findChangeTextOptions.includeHiddenLayers = false;
         app.findChangeTextOptions.includeLockedLayersForFind = false;
         app.findChangeTextOptions.includeLockedStoriesForFind = false;
         app.findChangeTextOptions.includeMasterPages = false;
         app.findChangeTextOptions.wholeWord = false;
         app.findTextPrefences.findWhat = "b";
         app.changeTextPrefences.fillColor = myColor;
         app.findTextPrefences = NothingEnum.NOTHING as FindTextPreference;
         app.changeTextPrefences = NothingEnum.NOTHING as ChangeTextPreference;

    Hi,
    After setting preferences you need to call changeText() method, like
    myDoc.changeText();
    or
    myStory.changeText();
    But this is a static solution.
    You could use a dinamic solution by define a proper characterStyle and take advantage of nestedGrepStyle in style applied to this part of your design.
    So each character "b" could be applied with your characterStyle automatically, no need to run a script.
    Jarek

  • Display GL Accounts for the Value Fields in Ke30

    How can I make my Value Field ( rows ) to display the amounts by the GL Accounts in KE30 reports ?
    Regards
    KS

    Hi
    If thats the Requirement - You should have chosen Acct Based COPA
    however, if you create a Line item report from KE91 in Costing Based COPA - It would display the Cost element.. But note that, if in the same transaction, more than one Cost element is posting to the same value field - It would contain only the 1st cost element.... Eg: Settlement of Internal Order or prod order to a Value field
    br, Ajay M

  • How to build conditional text from a data merge

    Hi there
    I'm hoping this is not a long shot but I do have a rather large ask (I think). 
    I cannot figure out how to create conditions on values.
    We have two areas that require conditional text. See these areas on the attached image. 
    Features offered - up to 6.  These are identified by defining each feature with a letter, eg 'n' stands for tent site and 'L' stands for seasonal work,  and
    Room type offered - four colour codes with this. These range from "not made up", "made up", "ensuite/madeup" and "ensuite".
    The tab delimited file contains numerous columns for each room type - single, double, twin, share and dorm rooms that offer the 4 room type categories - see point 2 above. 
    I cannot figure out how to clarify the conditions I require for the conditional text.
    Do I start with making 4 conditions for each room type colour and so-on for the rest of the room types ie single not madeup, single madeup, single madeup ensuite and single ensuite? 
    And if so, how do I create these using the correct conditional code?   Does GREP have anything to do with this and do I need to use its metacharacters like \?
    Can someone perhaps start me off?
    The same goes for the features.  The features are displayed in the spreadsheet per column with either a 'yes' or a 'no' displayed.
    I hope I have provided enough information to get some assistance.
    Thanks so much.

    Tag Design wrote:
    Hi there
    I'm hoping this is not a long shot but I do have a rather large ask (I think). 
    I cannot figure out how to create conditions on values.
    We have two areas that require conditional text. See these areas on the attached image. 
    Features offered - up to 6.  These are identified by defining each feature with a letter, eg 'n' stands for tent site and 'L' stands for seasonal work,  and
    Room type offered - four colour codes with this. These range from "not made up", "made up", "ensuite/madeup" and "ensuite".
    The tab delimited file contains numerous columns for each room type - single, double, twin, share and dorm rooms that offer the 4 room type categories - see point 2 above. 
    I cannot figure out how to clarify the conditions I require for the conditional text.
    Do I start with making 4 conditions for each room type colour and so-on for the rest of the room types ie single not madeup, single madeup, single madeup ensuite and single ensuite? 
    And if so, how do I create these using the correct conditional code?   Does GREP have anything to do with this and do I need to use its metacharacters like \?
    Can someone perhaps start me off?
    The same goes for the features.  The features are displayed in the spreadsheet per column with either a 'yes' or a 'no' displayed.
    I hope I have provided enough information to get some assistance.
    Thanks so much.
    Maybe I'm missing something, but I can't see why you need conditional text. I can see that you may want to color each property in each category differently, to stand out for quick visual communication.
    If each feature (attribute) of each property or venue is represented in one spreadsheet row (record,) you can use data merge to create the whole entry for each property. For example, a property may offer two types of rooms - single and double, and the single may be available as "not made up" only, while the double is available as "ensuite/madeup" and "ensuite."
    In the spreadsheet, in the row for the Acme Inn property, which only offers single not-made-up and single ensuite/madeup rooms, and for the Ajax Hotel property which offers single made-up, single ensuite/madeup, and single ensuite rooms, the cells that contain the data for the merge fields would look like this:
    Property ID
    single not-made-up
    single made-up
    single ensuite/madeup
    single ensuite
    Acme Inn
    $50
    empty cell
    $75
    empty cell
    Ajax Hotel
    empty cell
    $65
    $75
    $85
    On the data-merge layout, each room type's label would be followed by all four data-merge field placeholders, with colors applied, so the single would look like:
    Sgle: <<single not-made-up>> (red) <<made-up>> (yellow) <<ensuite/madeup>> (green) <<ensuite>> (blue)
    NOTE: The colors are applied with named character styles to the data-merge layout in InDesign.
    [EDIT] BAH! I applied colors to the text when composing this post, but they were removed when I posted. [/EDIT]
    When you set up the merge with Remove Blank Lines for Empty Fields enabled (checked) so the empty cells are ignored, the result resembles this:
    For the Acme Inn:      Sgl: $50 (red) $75 (green) $85 (blue)
    For the Ajax Hotel:    Sgl: $65 (yellow) $75 (green) $85 (blue)
    The separator character between the prices in your example is a special issue. It could be solved in the spreadsheet by creating calculated columns between the price columns, with "IF" formulas that test for values or empty cells and display the separator or nothing. If you choose this method, you'd need to insert fields between the placeholder fields, to hold the calculated fields' contents.
    Another approach here would be to follow the data-merge process with a GREP script that inserts separators where they're needed.
    Search Google for terms like "InDesign data-merge tutorial," "InDesign data-merge remove blank lines," "InDesign multiple records per page," and similar phrases without quotes.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices
    Message was edited by: peter at knowhowpro

  • Issues with images when using data merge

    Here's the deal. We are converting from CS6 to CC2014. I have a file that opens fine in CS6, the merge works fine.
    If I open that file in CC2014 it works fine with the exact same list. But, if I relink a new list or change and update the current list, the data merge no longer works for the images in data merge. Even though nothing has changed in the file links.
    I get the error that it cannot find the images.
    Is this a know issue?
    Mac OSX 10.10.1

    It could be that the template is some how bunged up, even though it is evidently working in CS6. You might want to try, as a test, setting upa  new document in CC, add the data file, put your placeholders in the document and merging. Then change the merge file, then try to update it.
    All I can really say is that I have not experienced this issue (yet). And as far as I can tell, yours is the first post on the matter that isn't document corruption related, or that Previewing the records hasn't caused some malady. either needs the template remade or brought into a new file to fix. You issue sounds sort of half-way between.
    Mike

  • Data Merge Field is out of position

    I am hoping someone can help me.  I have everything set to default but for some reason my Data Merge preview when turned on selects default as OFF the page (red boxes) and centered.
    Can someone help me figure out how to get them back to the page?
    Thanks.
    CJ

    OK here are my settings along with the template.  It is a label that is setup 6 up on a sheet.
    I did copy everything to a new template/file.

  • Is there a way to name the .indd files created by a data merge with values in the CSV file

    I have a data merge document that is set to single Record per Document page and 1 page per document.  In my CSV file I have a field for Part Number.  If I run a data merge with 10 records I end up with 10 .indd files.  I need a way so that the resulting .indd files are named the same value that is in the Part Number field.

    Loic has provided a link for my original piece, and I've written up some follow-up pieces for indesignsecrets.com:
    http://indesignsecrets.com/data-merging-individual-records-separate-pdfs.php
    http://indesignsecrets.com/data-merging-individual-records-separate-pdfs-part-2-scripting. php
    So there are several ways to get unique name PDFs from an indesign Data Merge. However, none of these 3 articles will truly answer your question of how to get unique indesign filenames using the database. I can see a practical purpose for this as merging business cards directly to PDFs is great, but I can be guaranteed that while on proof, there will be alts to the business cards that need to be done outside the merge, meaning specific records need to be exported to indesign files for further manipulation.

  • How to set the Default values for Info Objects in Data Selection of InfoPac

    Hi All,
    Flat file Extracion:
    How to set the Default values for Info Objects in Data Selection Tab  for Info Package
    ex: Fiscal Year Variant  Info Object having values 'K4' 'Y2' etc  in Flat file
    Initially  default value(not constant)  for this info Object value should be 'K4'  in Info Package
    If I set data selection value for this info object K4 it will retreive records with this selection only? how to handle
    Rgds,
    CV

    Hi,
    suppose as your ex. if you are having fiscalyear variant in the dataselection tab then specify K4 in the from column, again the ficalyearvariant row and click on insert duplicate row at the bottom . you will get another row . In that enter Y2 in the from column. now you can extract K4, y2 values .
    haritha

  • Can I use InDesign's Data Merge for more than just address labels?

    I am a Graphic Designing working on a new science exhibition in Melbourne, Australia.
    I'm trying to streamline the way we import our label content into InDesign (currently cut and paste from Word which is slow and leaves room for error). I've been going down the path of having a macro developed which converts the Word content into a csv file so I can then import this into InDesign through data merge, however the import is falling over.
    Through testing we can conclude that data merge doesn't like paragraph breaks, en-dashes and apostrophies (and possibly more we haven't come across) and will only import data up until one of these items occurs in the data. We've tested a number csv file formats however we can't find a solution.
    Has anyone come up with a solution for this? My macro developer would be keen to get a hold of a working csv file that deals with these issues...
    Thanks!

    I have done what you are describing, with Word & InDesign, on a daily basis, for years. Word is not the best choice for this kind of workflow, of course, but if I had to choose between placing Word & doing a data merge with CSV, I'd be torn. Neither one is really the tool for the job. XML import would suit you better, but if you're already midstream in VBA development, there's no point in trying to describe why placing carefully styled RTFs and clearing overrides is better than writing VBA to clean up Word files and turn them into CSV.
    (Look at style mapping in Import Options when placing a Word file for future projects.)
    (Also: it's not extra codings that you want to apply in VBA, it's purging Word-specific "Symbols" and just using true Unicode values for em dashes and other typographical symbols.)

  • Datasource for plan value in cost center accounting

    Hi
    I would like to create query for plan value that maintain in source system via tcode KP06
    (Controlling > Cost center accounting > Planning > Cost and activity inputs). Can experts please share with me which datasource to turn on in order to send the data to BI for reporting?
    Thanks
    Kang Ring

    Hi,
    Try 0CO_OM_CCA_1.

Maybe you are looking for