InDesign data merge true or false to create the list

Hello

I have an Excel spreadsheet of customer data that needs to be transformed into a several doc page impression.

Each participant in an event gets a page each details listed. I can do this with a fusion of database.

However, each client has chosen certain things that they are interested and the customer has created a matrix, as shown, where 1 means that they are interested in the subject in the heading of column and 0 means that they are not.

Is there a way, a script or extension or something that will allow me to data merge these 1s and 0s in a simple list of subjects they have chosen.

Any help greatly appreciated

My next option is to try to do something with the Excel file but I am far from an expert in office.Excelgrab.jpg

You must add one or more columns tot eh spreadsheet and use some kind of logical formula to fill based on zeros and ones, then merge this column.

Tags: InDesign

Similar Questions

  • create the list-range partition table

    Database version: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi

    I am trying to create a partition with beach-LIST table, and I get this error message, is the oracle 10.2.0.4 database supports to create the list range (composite) score


    {
    SQL > CREATE TABLE tbp_list_range
    (
    DATE OF REPORT_DATE,
    member_id_01 varchar2 (2),
    Date of DATE_SERVICE,
    member_id varchar2 (15)
    )
    PARTITION OF LIST (member_id_01)
    SUBPARTITION BY RANGE (DATE_SERVICE)
    (
    PARTITION SPTYR04M01_C VALUES ('AA', 'aa')
    NOLOGGING
    COMPRESS)
    SUBPARTITION PTYR12M011 VALUES LESS THAN (TO_DATE (' 2012-01-01 00:00:00 ',' SYYYY-MM-DD HH24:MI:SS ',' NLS_CALENDAR = GREGORIAN ')),
    SUBPARTITION PTYR12M021 VALUES LESS THAN (TO_DATE (' 2012-02-01 00:00:00 ',' SYYYY-MM-DD HH24:MI:SS ',' NLS_CALENDAR = GREGORIAN ')),
    SUBPARTITION recent1 VALUES LESS THAN (MAXVALUE)
    ),
    PARTITION SPTYR04M01_Yo VALUES ('BJ', 'bj')
    NOLOGGING
    COMPRESS)
    SUBPARTITION PTYR12M01 VALUES LESS THAN (TO_DATE (' 2012-01-01 00:00:00 ',' SYYYY-MM-DD HH24:MI:SS ',' NLS_CALENDAR = GREGORIAN ')),
    SUBPARTITION PTYR12M02 VALUES LESS THAN (TO_DATE (' 2012-02-01 00:00:00 ',' SYYYY-MM-DD HH24:MI:SS ',' NLS_CALENDAR = GREGORIAN ')),
    SUBPARTITION recent2 VALUES LESS THAN (MAXVALUE)
    )
    )
    /
    SUBPARTITION BY RANGE (DATE_SERVICE)
    *
    ERROR on line 9:
    ORA-00922: missing or not valid option


    SQL > select * from v version $;

    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    AMT for Linux: release 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production

    }

    Any help would be greatly appreciated.

    Thank you

    There are no ladders of partitioning in 10g either.

    Have a look here for partitioning methods: http://www.orafaq.com/wiki/Composite_partitioning

  • IDCS6 MACOSX JS: data merge multiple txt files one after the other

    Hello everyone.

    I have a situation where I have to data merge multiple text files to a single file indesign real "base". Databases formats are the same, the point of difference is a code in the second field of the database that refers to a postal box (not a zip/postal code, a code of 'distribution center' that has possibilities of 56 or greater). I would prefer data merge a file and then somehow split the PDF via Acrobat, but the length of postal areas resulting is incompatible and something that cannot be done if the document "split" feature in acrobat.

    The database starts as one massive file but using a one line code, can be divided into postal areas in separate text files.

    My last question: is it possible data merge several files at the same time (for example one after the other) and to give them their names based on the names of the input text file?

    OLE Kvern had a script to merge the data to a file without the user interface. I changed the last line slightly so that it generates a PDF file based on [high quality]:

    if(app.documents.length != 0){
            var myDocument = app.activeDocument;
            app.dataMergeOptions.removeBlankLines = true;
            //Select a source file.
            var myDataFile = File.openDialog("Select a data file")
            var exported = "file location(redacted for the sake of this post)"
            if(myDataFile != ""){
                    myDocument.dataMergeProperties.selectDataSource(myDataFile,);
                    myDocument.dataMergeProperties.exportFile(exported,"[High Quality Print]",);
            }
    
    }
    

    I guess that the answer has to do with the variable "myDataFile" and rather than just being open a dialog box, it could be somehow by selecting a table of text files, but it is where I am out of my depth.

    Ideas or thoughts which may not involve trying to do both the many mergers, but can somehow revolve around a great fusion of PDF?

    Thank you very much

    Colin

    Since writing my last response, I realized there was a better answer. It is a scenario of Peter Kahrel and a modified version of a script by Olav Kvern. Details can be found here: batch of merge data | Adobe Community

    I have since made other mods to the script is easier to understand:

    if(app.documents.length != 0){
    // make sure to use the document that is open
            var myDoc = app.activeDocument;
    // get the name of the document that is open for future naming purposes
            var myName = myDoc.name
    // get the location of the folder that contains both the indesign files and the text files
            var myLocation = "FULL PATH LOCATION OF FOLDER CONTAINING TEXT FILE AND DESTINATION FOR FINAL PDFS"
    // define the names of the data files to use based upon the names of the indesign files
            var myImport = myLocation + myName + ".txt"
    // define the names of the data merged PDFs to be created
            var myExport = myLocation + myName + ".pdf"
    // the actual engine for the merge, including DM instructions such as remove blank lines, object fitting etc.
            var myDataFile = myImport
            app.dataMergeOptions.removeBlankLines = true;
            if(myDataFile != ""){
                    myDoc.dataMergeProperties.selectDataSource(myDataFile,);
                    myDoc.dataMergeProperties.exportFile(myExport, "[PDF/X-1a:2001]", );
            }
    
    }
    

    If this script will automatically merge a file which is open as LONG as the data file is the same name as the indesign file with .txt at the end for example

    Woodward.indd (indesign file)

    Woodward.indd.txt (used for merging text file)

    This script does still not the original memory and who was using an indesign document, to browse for many text files and merging of PDF based on text files.

    HOWEVER, I am sure that the answer to that is based only on the use of the script above (no need to Peter batch convert script) and changing the line 9 to be a loop for... but again, this is where I come to a grinding halt. Any help would be appreciated.

    Colin

  • Data merge do not pick up all the fields of data

    Hello

    I had a problem, posted here: http://forums.adobe.com/thread/1217090

    Essentially, I used the "CSV2Tables" script to pre-populate arrays of simple column 2 with information from a CSV data source.

    The tables consist of a title and a block on this specific topic. Many of the blocks of information that I am importing also contain the tag (< < DataTag > >) data

    The plan is to use CSV2Tables to populate the tables, then change the data source and run an ID data merge to replace all < < flags > > normal in the tables with the information from a second source of CSV data.

    The problem is, CSV2Tables is important data and tables very well pre-load, but data tags that are found in each body text are picked up in plain text (as Peter Spier has pointed out, they are being requested by a plain text stream rather than drag since the merger Panel and direct mail) so when I try to run direct mail ID , none of the fields are in my document.

    My question is - is there a method, or a script available out there that can essentially do a find/replace in a document and replace the text that appears as the < < PlainText > > with a data that is recognized by ID, label that will allow me to run a data merge?

    Told me to check out some of the available commercial plugins out there, but registration and establishment of demo would force me to contact our it supplier for each, and it would be a comprehensive process.

    Any help is very appreciated.

    Hello

    As far as I know it actually takes a script to replace "plain text" with dataMergeTextPlaceholders.

    a small example;

    Array.prototype.find = function (string) {
        for (var s = 0; s < this.length; s++)
            if (this[s] == string) return s;
            return -1;
        }
    
    var 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;
    
    // script assumes a text box with "plain texts" to replace is selected
    mStory = app.selection[0].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();
         }
        }
    

    At this point, you can run a "normal data merge.

    This should work for related managers (the one selected) or a table inside the selected image

    I hope it could be useful for more complex tasks

    Rgds

    Jarek

    Post edited by: Jump_Over ==> added media because if last statement

  • I have created a form in Indesign. Is there a way to create the default text in a text field that displays the interactive pdf "insert text here" in the text field?

    I have created a form for the company, so that I work. It is a form that will be used in several offices and has buttons, drop downs and text fields. One of the text fields has a requirement that when the PDF file is opened, the text field has something written in there already, as an example (and one only) INSERT the TEXT HERE. I created the text field in Indesign and used the text tool to type in the area of the body-copy required. After that I have to export it as an interactive PDF, text in the text field disappeared.

    Drop-down lists give an option for a default choice, but I don't see a way to create default text in the Panel of buttons and forms for text fields. Is there a workaround or a hidden feature?

    Thank you!

    Set it in Acrobat.

  • How to create the list in SDK v5.0

    Hello

    I have SDK 5.0 with me.

    I want to create a list as in the SDK v6.0but sdk v 5.0 software

    for example, for version 6.0

    MainManager Manager = getMainManager();
    SimpleList listField = new SimpleList (mainManager);
    listField.add ("Item 1");
    listField.add ("Item 2").
    listField.add ("Item 3").

    Can someone help me in this creation.

    When I want to go find info according to the selected item in the list.

    Also, please tell me how to select the item.

    Thank you

    Afonso

    Problem solved

    listF.getSelectedIndex () used;

  • create the list of layers in a document

    I'm looking for a script that will allow me to create a list of all the layers (divorced) in a document. I can create a string delimited by commas... but can not create a list of column...

    Help... Please

    Great help!

    Thank you, problem solved.

  • How to create the list of indented bullet points

    Hi all! I understand how to generate a bulleted list in which the balls line up on the left side of the text above/below in the list. However, I would like to create an indented bulleted list. And for some reason I'm not able to understand this! I enclose a sample of what I'm trying to do. Any help would be greatly appreciated. Thank you!

    jexample.jpgulice

    OK, I've found a workaround. Looking at my example:

    I put the left margin of 'éducation'-10.

    The balls I put in:

    Dash:-10

    Left margin: 35

    Who did the trick!

  • create the list item

    Hello
    can you help me with creating a list item?
    I wrote the following
    {DECLARE
    T1 RECORDGROUP;
    A1 NUMBER;
    BEGIN
    Q1: = CREATE_GROUP_FROM_QUERY ("rg_name",
    ' select customer_id in
    (: ctrl_orders.cust_phone customers);
    clear_list ("ctrl_orders.cust_phone");
    populate_list ('ctrl_orders.cust_phone', Q1);
    end;
    }

    Sorry, I make a mistake.
    You should not create group record in the node record group on your form.
    Now, I copy a code:

    declare
    rg_name varchar2(40) :='xxx';
    rg_id RecordGroup;
    errcode NUMBER;
    BEGIN
    rg_id :=Find_Group( rg_name );
    If Id_Null(rg_id) then
         rg_id :=Create_Group_From_Query( rg_name, 'select customer_id, customer_id from customers',FORM_SCOPE,200);
    elsif not id_null(rg_id) then
         delete_group(rg_id);
         rg_id :=Create_Group_From_Query( rg_name, 'select customer_id, customer_id from customers',FORM_SCOPE,200);
    end if;
    
    errcode := populate_group_with_query(rg_id,'select customer_id, customer_id from customers');
    clear_list('CTRL_ORDERS.CUST_PHONE');
    populate_list('CTRL_ORDERS.CUST_PHONE', rg_name);
    
    end;
    

    hope it helps you,
    Fabrizio

  • How do you get the layers work correctly when you create a document merged into the InDesign data merge feature?

    Hey everybody,

    I working on a card game using data with a .csv file merge and spin in unusual behavior when you create a merged document when my master document had layers.  Imagine I had a layer of structure that looks like this:

    Layer has
    -< DataMergeFrameA >

    -Cooked in the static element
    Layer B

    -Cooked in the static element B
    -< DataMergeFrameB >

    -< DataMergeFrameC >

    Layer C
    -Cooked in the static element C

    -< DataMergeFrameD >

    Preview, this hierarchy is respected and the image is superb.

    When I create my merged document that each individual card includes this editable structure:

    Layer has
    -< DataMergeFrameA >

    Layer B

    -< DataMergeFrameB >

    -< DataMergeFrameC >

    Layer C

    -< DataMergeFrameD >

    And the order in which the elements are drawn resembles what happened past:

    -< DataMergeFrameA >

    -< DataMergeFrameB >

    -< DataMergeFrameC >

    -< DataMergeFrameD >

    -Cooked in the static element

    -Cooked in the static element B

    -Cooked in the static element C

    I would * really * like solving this problem without going through a column of data fusion with just the same picture in each area or something stupid like that, especially because some of my other static elements are generic text boxes. Is it possible to apply the stacking order in a merged document?

    I have attached a screenshot of the preview and the merged document.
    * WARNING: The main art is a temporary placeholder *.

    The one on the left is how it looks in preview. The second is the merged document. The major problems are that a) static grass image should appear on the art main and b) main image overlays areas of main text on the left. How can-

    InDesignPreviewBug.pngInDesignMergedDocumentBug.png

    Try moving it all off the master and on the page of document in the model.

  • Excel in Indesign data merge

    Hi, I have a spreadsheet excel with a column size, height and width.   What I want to do is to import this list into Indesign and run a script creating frames / boxes.   In addition to this list the merger and creation of boxes, I hope to have these boxes align in a linear drawing each session upwards with another color.

    Thanks in advance,

    excel to Indesign.jpg

    Your request involves a few basic bricks such as:

    -loading CSV data (since you can not load by default EXCEL)

    -Adding images to a page (script guide is full of samples)

    So start to export EXCEL to CSV, and then look around for the loading of the CSV. Come to the era with a snippet of yours we can comment on.

  • InDesign data merge with multple amount of images

    Hello

    Let me illustrate what I try to achieve:

    I'm doing the name cards with the name and the language on them for about 100 people.

    I know how to import excel for the text and image data, but here's the catch:

    We work closely with 4 images, for 4 languages respectively. On my profile the languages I speak the person marked. I could link each person with the picture of the flag in excel and shoot those in Indesign.

    How can I configure what he shoots only in images of languages that speaks of the person AND in such a way that they align in the Center. (So 3 images in the case of 3 languages, aligned Center, 1 for 1, center aligned)

    Is it an easy thing to do?

    All help is appreciated!

    What is the kind of thing you want to do?

    In Excel:

    ID:

    After the merger:

    If that's what you want to do, remove the empty frames post merger using a script from substances

    Re: Indesign: remove all the empty frames online script?

    If this isn't what you want... Let us know.

    Take care, Mike

  • How to convert the analog voltage input form data to True and false (0 = fasle 0: 1-10 = true)

    I want to use for LED or photo

    10 V to ai0 reciece ex to see the LED or photo on front panel

    Help me please

    As part of the comparison, it should look like this.

    Freelance LV cited above, you must provide additional information to get an apt solution

  • How to hide the field element of text based on true or false cases in the oracle apex

    Hello

    I have a set of text field in the oracle apex:

    1. Order number
    2. Revision number

    When we open the report, the review must be hidden.

    Only when the user enters the unique order number (order not duplicate numbers), revision number should be visible.

    If he enters the number of duplicate order, the revision number should be hidden.

    Help, please.

    Hi 2932464,

    2932464 wrote:

    Hello

    I have a set of text field in the oracle apex:

    1. Order number
    2. Revision number

    When we open the report, the review must be hidden.

    Only when the user enters the unique order number (order not duplicate numbers), revision number should be visible.

    If he enters the number of duplicate order, the revision number should be hidden.

    Help, please.

    Give you an example of how to do to get there.

    Step 1. Create three elements of the Page

    (1) P1_ORDER_NO - text field

    (2) P1_REVISION_NO - text field

    (3) P1_ENABLE_DISABLE_REVNO - hidden, protected value - no.

    2 create dynamic Actions 3

    (1) disable the revision on the loading of the page number

    Event - loading of the Page

    Action - disable

    Fires when the result of the event is - real

    Selection type - point

    Point - P1_REVISION_NO

    (2) check the number of duplicate order

    Event - change

    Selection type - item (s)

    Article (s) - P1_ORDER_NO

    Condition - is not null

    Action - to execute the PL/SQL Code

    Generate in front of false action - not checked

    Fires when the result of the event is - real

    Fire on page load - disabled

    Stop execution on error - checked

    Wait for the result - verified

    PL/SQL - code

    declare
    l_count number;
    begin
      select count(*) into l_count
        from emp
       where empno = :P1_ORDER_NO;
    
    if l_count > 0 then
      :P1_ENABLE_DISABLE_REVNO := 1;
    else
      :P1_ENABLE_DISABLE_REVNO := 0;
    end if;
    end;
    

    To present the page = P1_ORDER_NO

    Page referred to return = P1_ENABLE_DISABLE_REVNO

    (3) enable and disable the revision number

    Event - change

    Selection type - item (s)

    Article (s) - P1_ENABLE_DISABLE_REVNO

    condition - greater than or equal to

    value - 1

    Action - disable

    Fire on Page Laod - disabled

    Generate the opposite action of false - verified

    Selection type = item (s)

    Article (s) - P1_REVISION_NO

    Hope this helps you,

    Kind regards

    Jitendra

    DER_NO

  • Data merge, its is possible to display the 5 records per page?

    I have no problem doing mergers of data.  Still, they seem to only show only one record per page, but is there a way to display multiple records per page?

    Read the help for an explanation full, then come back here with specific questions if you still have problems...

    Basically, set you up a single instance of the placeholders field on your page, then select several records per page in the merge options. You cannot specify a number directly, but ID will be reprduce as many records on the page all items using the spacing settings you set up, then you want to add an empty block size required to get your five instances with zero spacing and group them with field labels.

Maybe you are looking for