Fill the InDesign document with external data?

Hi all, I hope that I ask this question in the correct forum. I'm assuming that it is a problem of script, but if not, I apologize. Anyway - wonder if this is possible and, if so, if someone could point me in the general direction of more information:

My company occasionally asked to produce directories of employee containing information (photos, contact information, education information, etc.) on different segments of the population closes - for example, a directory can include all women of color, we can include everyone in the Los Angeles Office, etc.. I would like to find a way to 'model' it in InDesign so that the relevant info can circulate in the external data source document - for example, database SQL of the HR or perhaps a spreadsheet generated from this database. I know that we are currently able to do something similar by using Word, but the final product looks like crap.

I don't know what that would be even called in InDesign, so any information will be greatly appreciated. I use the CS5 version. Thank you!

I could do this by using the data merge feature. It is similar to the functionality of fusion and mail merge in word. There is a great video of how it works here: http://www.theindesigner.com/blog/episode-43-data-merge-video

There are more complex ways using XML or the third party plug-ins, but I would try this method first.

Colly

Tags: InDesign

Similar Questions

  • SQLLDR: How to fill the empty columns with specific data by default?

    Hello

    We are 11G

    Here is a complete example:

    (1) the definition of the table:
    create table IMPORT_PRJ_TIMESHEETS
    (
      RESSOURCE_CODE VARCHAR2(20),
      REFERENCE_DATE VARCHAR2(20),
      STATUS         VARCHAR2(20),
      PROJET_CODE    VARCHAR2(50),
      TACHE_ID       VARCHAR2(100),
      TACHE_DESC     VARCHAR2(250),
      RAF            NUMBER,
      JOUR1          NUMBER,
      JOUR2          NUMBER,
      JOUR3          NUMBER,
      JOUR4          NUMBER,
      JOUR5          NUMBER,
      JOUR6          NUMBER,
      JOUR7          NUMBER,
      IMPORT_DATE    DATE
    );
    (2) the CTL:
    LOAD DATA
    CHARACTERSET WE8ISO8859P1
       APPEND INTO TABLE IMPORT_PRJ_TIMESHEETS
    -- Pour eliminer la ligne d'en-tete
    WHEN PROJET_CODE != 'ID projet'
       FIELDS TERMINATED BY '*-*' OPTIONALLY ENCLOSED BY '"'
    ( RESSOURCE_CODE       CONSTANT '!RESSOURCE_CODE!'
    , REFERENCE_DATE       CONSTANT '!REFERENCE_DATE!'
    , STATUS               CONSTANT '!STATUS!'
    , PROJET_CODE          CHAR
    , TACHE_ID             CHAR
    , TACHE_DESC           CHAR
    , RAF                  CHAR "TO_NUMBER( :RAF, '999G999D99')"
    , JOUR1                CHAR
    , JOUR2                CHAR
    , JOUR3                CHAR
    , JOUR4                CHAR
    , JOUR5                CHAR
    , JOUR6                CHAR
    , JOUR7                CHAR
    , IMPORT_DATE          SYSDATE
    )
    {code}
    
    
    3) the datafile :
    {code}
    ID projet*-*ID tâche*-*Tâche/Description*-*RàF*-*lun. 13/07*-*mar. 14/07*-*mer. 15/07*-*jeu. 16/07*-*ven. 17/07*-*sam. 18/07*-*dim. 19/07*-*
    FR-FR-NT2300135*-* *-*GAMMAWEB - Coordination*-*0,00*-* *-* *-* *-*8,00*-*8,00*-* *-* *-*
     *-* *-*Holiday*-* *-* *-*8,00*-* *-* *-* *-* *-* *-*
     *-* *-*Special leave*-* *-*8,00*-* *-* *-* *-* *-* *-* *-*
     *-* *-*Vacation*-* *-* *-* *-*8,00*-* *-* *-* *-* *-*
    
    {code}
    
    - As you can see, the datafile delimiter is "*-*" .... there's no pb about this.
    
    - Also, there are 5 lines in the datafile. Currently, the _*load status*_ is :
       - Line 1 is the header  >>> not loaded, and that's fine with me.
       - Line 2 is successfully loaded
       - Line 3 / Line 4 / Line 5 : are not loaded .. but I need these lines ...
    
    *What I'd like to get is to successfully load lines 3 to 5 with a default values for the first 3 columns (project/task ID/ task desc)*
    
    I hope it's clear enough and that you will be able to provide a good answer ..
    
    Thanks in advance,
      Olivier                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

    In your example, the only ranked with value on all lines is TACHE_DESC.
    If this field is always filled, try this:
    WHEN TACHE_DESC! = "Task/Description".

    Concerning

  • How to add legend for all images in the indesign document using indesign javscript

    I want to add the legend for all images in the indesign document...

    It's my code... im being of error like:

    invalid parameter.

    capset(2) ();

    function capset()

    {

    var doc = app.activeDocument;

    var myPicture = doc.allGraphics;

    var f, i, myCaption;

    While (PIC = myPicture.pop ())

    {

    f = pic.geometricBounds;

    Add a frame to the parent of the image, which is a Page

    myCaption = pic.parent.textFrames.add ();

    define the position and size of the legend

    myCaption.geometricBounds = [[2], [1], [2] Go + 3 GB [3]];

    Add the contents of the placeholder

    myCaption.contents = "Caption";

    PIC.parent.groups.Add ([pic, myCaption]);

    }

    }

    Hello

    Runing a code with your doc that you note possible occurrences (groups, the elements anchored, locked, etc items)

    This presupposes to exclude grouped and docked:

    capset ();
    
    function capset()
    {
    var
      mDoc = app.activeDocument,
      // anchored or grouped items excluded
      myGraphics = mDoc.splineItems.everyItem().getElements(),
      picContainer, gb, myCaption;
    while(picContainer = myGraphics.pop() )
    {
      // exclude empty frames
      if (!picContainer.graphics.length) continue;
      gb= picContainer.geometricBounds;
      // add a frame to to picture's parent, which is a Page
      myCaption = picContainer.parent.textFrames.add ();
      // set position and size of the caption
      myCaption.geometricBounds = [gb[2], gb[1], gb[2]+3, gb[3]];
      // add placeholder contents
      myCaption.contents = "Caption";
      mDoc.groups.add ([picContainer, myCaption]);
      }
    }
    

    Jarek

  • Select all content in the indesign document to attach the script

    I have a script that does something useful for my document. But he always need chose the part of the document, as

    If (app.selection.length > 0)...

    Could you ask me how to select all the pages in the indesign document. I have a lot of pages. And I have a lot of files .indd
    I tried to use app.activeDocument.pages.item (0) .allPageItems; but it is not the effect of page = ( )

    Maybe I can use loop 'for', but perhaps there is a function of selection of all the document, is not only one page

    Thank you

    Of course:

    myPages = app.activeDocument.pages.everyItem () .getElements (); Table of references to the pages of the document

    for (var k = myPages.length - 1; k > = 0; k-) {}

    myPages [k] .allPageItems = myItems;

    for (var j = myItems.length - 1; j > = 0; j-) {}

    processItem (myItems [j]);

    }

    }

    It treats everything from BACK to front, which is usually the security approach and is potentially a bit faster that the other direction.

    You must always write the processItem function.

    Dave

  • CS6 Crash inDesign on placing a file on the indesign document, Crash report is attached.

    Hello

    InDesign CS 6 works very well for Mac mini in MacBookPro it always crash on placing a file on the InDesign Document.

    Crash report: http://pastebin.com/fUPiYd0c

    I tried:

    (1) to uninstall and reinstall CS 6

    (2) using different accounts including admin

    Troubleshooting 3) as following:

    ' a) Trash preferences (cmd-opt-shift-control keys for InDesign starting).

    Corrupt preferences (see above), or maybe the permissions on the folders that contain the preferences are such that InDesign cannot write correctly for them. (it sometimes happen).

    (b) by deleting sub folders: before you remove the sub directories/files, please make a backup (just to the trunk).  Exit design and try to delete the following files/directories (InDesign recreates them initially to the top):

    ~/Library/application support/Adobe/Adobe InDesign CS5.5

    InDesign ~/library/caches/Adobe

    ~/Library/Caches/com.Adobe.InDesign

    InDesign ~/Library/preferences/Adobe

    ~/Library/preferences/com.Adobe.InDesign.plist

    ~/Library/preferences/com.Adobe.InDesign.plist.lockfile

    ~/Library/saved application State/com.adobe.InDesign.savedState

    Note: The user library directory hides under MacPro/Lion. You can get there in the Finder by pressing Option and then go to the menu (other ways are too thin).

    Please let me know if I'm missing something.

    Thanks in advance,

    It hangs in the plugin simple catalog...

  • Detect changes in the Indesign document

    Hi all

    Is it possible to detect changes in the Indesign document? Any help will be appreciated.

    -Thanks in advance

    Learn about the architecture of the events.

    Substances

  • Entry fields fill pages of document with tabs

    I need a method to submit a form field entry page which

    then fill various business documents in any of the other tabs interface or

    with the help of a diagram of button to submit the documents completed for printing.

    I have two questions in this regard:

    1. is it possible to create a tabs interface in LiveCycle Designer ES2?

    2. how to create a button to fill all or each individual business of data entered into the first page?

    Thank you

    Hello

    Let's say you had a page on cover and four other tabs, you can create a form of five pages. In the master page, along the top, you can create five buttons that contain the script to pass the five pages.

    I recommend a landscape layout, as it is for computer screens better, especially to adjust α page.

    In this case, the user could scroll through five pages or click on the button right along the top of the page.

    If you only want one page visible/available at any time, then you can assign four pages hidden - this excludes the layout. The buttons would then have an additional script to show/hide the pages.

    There is an old sample of Model-View-Controller somewhere on the Adobe Web site, which may be of interest.

    Regarding the second question, yes it is possible as well. The easiest way is to put the names of identical objects for fields that must reflect the same data. Then, in the object > link tab, set a global binding. This means that information you typed in on the first page will be automatically published on fields with the same name in the following pages.

    Hope that helps,

    Niall

  • Illustration, linked to the InDesign document

    I created a color illustration in Illustrator and saved as .ai file.  I'm working on a black and white manual that I created in InDesign.

    When I placed the illustration in my InDesign document, it looks blurry.  When I export my InDesign document as a .pdf file seems correct. When I print the pages with the illustration, it seems correct to my PDF document.

    Question - why the illustration linked in my InDesign air document blurred?

    Thank you

    Matt

    Set your display of high-quality performance.

  • How to paginate an Indesign document with a PDF file?

    Hello world!

    I am a french student and I have to do a paper on the film IN TIME (2011) by Andrew Niccol, and I wanted to paginate my document in the style of the meter the characters have on their arms (0000.00.0.00.00.00).

    I created it on Photoshop, as a simple text, and I wanted to know if there was a way to automatically paginate all documents with this file (by changing the numbers automatically)? In addition, it would be perfect if it could be lower, as the counter, having the last paged numbered 0000.00.0.00.00.00... ?

    If anyone has an idea...

    Thank you for helping me!

    I've added snapshots to make my question more clear:

    PS: I'm sorry for my bad English...

    Capturer2.JPG

    Capturer.JPG

    InDesign cannot change text inside a file Photoshop - you are aware of this? You would need to make a Photoshop file for each page.

  • Which connects InDesign template with excel data

    I have a pretty weird that I start.

    I need to make a model of design with different data fields.  There will be about 100 pages total.  The data of these text fields is stored in Excel files.  I know that I can just copy and paste the information from one to the other, but I was wondering if it was possible to somehow dynamic link between the text field in the spreadsheet so that, if the data changes in excel it automatically updates in the indesign file.

    Or is there another solution out there somehow since excellent data link to a model?

    Any advice would be appreciated. Thank you.

    Damon

    Yes, the answer is in your preferences. Create link when you place text files or a spreadsheet. Wording is perhaps not right because I don't have InDesign not open right now.

    Bob

  • Open the InDesign page with rules showing as a school notebook paper

    When I open a document in Indesign, it comes up with rules on that as a school notebook paper.  How can I get rid of these lines and how can I configure Indesign to open a new document with a blank page?

    Thank you

    -Kenoli

    Baseline grid. No need to panic, it is a display only setting.

    As with almost * all * InDesign settings, all you have to do is close all documents, then select view settings you want in the usual menus. Who will become the defaults for new documents.

    If you see it in an existing document, and that bothers you, simply it turn off and save your document.

  • Filling the first page second page data

    Hi all

    I developed a demo.cfm page that has the grid table. I display the table grid of database data.
    Each row of the table in the grid has a button change. Click on edit button redirects to another page that contains text fields whose names are similar to grid table headers.

    As soon as the user clicks on a particular line of the grid edit table button. Button clicked line values must be entered in the second text of page fields.

    Ex: Grid table demo.cfm contains the following data
    Name Age Sex Address

    1. 22 M Edit XYZ xyz

    When the user clicks Edit button form is submitted and in the second page text boxes him clicked on change line of link values need to be filled.
    Here we clicked on the first edit of a line button then second page text fields are filled with the values of line first.

    NAME: xyz
    Age: 22
    Sex: M
    Address: xyz

    Similarly, regardless of the line edit button than row data must be completed on the second page of the screen areas.


    How to solve this problem.

    Can someone help me solve this problem.

    Change the link must go to the second page details specific to this line.

    Do something like:


    Edit

    Then, in your form on the second page, you fill in the form as:



    Clearly this all depends on your so-called fields etc (I guessed right) and also, you will need to check some variables exist or not while it throws an error when they are not - but that's a different question.

    Good luck.

  • How to set up sites of confidence for the PDF Documents with Hyerplinks to Lotus Notes databases?

    Hello everyone,

    my company is using PDF documents with hyperlinks to Lotus Notes databases.

    When I open one of these files with Adobe Reader Default Setup, I can not open the hyperlinks.

    When I disable the safe_mode at startup, it is possible to open links.

    To ensure safety, we try to set the trust for our Notes Server site, but I couldn't find a solution.

    Our servers work with Lotus Notes 9, customers use the Version 8.5.3.

    Clients are installed with Windows 7 Enterprise.

    We test with Adobe Reader DC, Version 2015.007.20033

    Thanks for your support in this matter.

    Thank you in advance everybody!

    Hi oliverh33447604,

    Open Acrobat Reader DC, navigate to the Edit-> Preferences-> Trust Manager menu-> settings

    Use the option of the customer to add to the list of Web sites.

    Kind regards

    Nicos

  • Receive error message when calculating the two fields with different date format

    I'm more familiar with SQL Server and Oracle, then after a search online without success, I ask here.

    I use developer PL/SQL with DB Oracle 11g Release 11.2.0.2.0 Enterprise 64-bit

    MyTable:

    ID_Number VarChar2

    Date of Date_Received

    Select ID_Number,

    Date_Received,

    To_Date (substr (ID_Number, 1.6), "YYMMDD") SentDate,.

    Date_Received - NumDays To_Date (substr (ID_Number, 1.6), "YYMMDD")

    FROM MyTable

    Where substr (ID_Number, 7.3) in ('ABC', 'ABD')

    and length (Trim (translate ((substr (ID_Number, 1,6)), '0123456789',' '))) a null value

    ID_Number Date_Received SentDate NumDays

    131002ABC1654106 10/16/10/2013-2013 14 2

    131004ABD8813899 4/12/2013-4/8/2013 4

    131014ABD1844832 10/16/10/14 OF 2013-2013 2

    Sometimes the first 6 characters in the ID_Number aren't the numbers and length (Trim (translate deletes records))

    I want just the records where NumDays > 2

    I tried to put the request in a subquery and using where NumDays > 2 outside.  I also tried using the calculation directly in the Where clause.  Without it in Where clause it works very well, with him in a place, I get the following error:

    ORA-01931: Date format picture ends before converting all of the input string


    I don't know how to put the two dates in the same format.  I tried to declare the format without result.  I don't understand how I can calculate in the selection, but do not use the same calculation in Where clause.

    Thank you for your help.

    Hello

    SQL is a language to describe the desired results.  How the system gets these results belongs to you don't have much say about which conditions will be applied when.

    One place where you can control the order of things is a CASE expression.  When you say

    CASE

    WHEN condition_1

    THEN expression_1

    END

    You can be sure that expression_1 will be evaluated only when cond_1 is set to TRUE.

    Try something like this:

    WITH got_sent_date AS

    (

    SELECT id_number, date_received

    CASE

    WHEN the TRANSLATION (SUBSTR (id_number, 1, 6)

    , 'x' 0123456789 '.

    , 'x'

    ) IS NULL

    THEN TO_DATE (SUBSTR (id_number, 1-6)

    , "YYMMDD".

    )

    END AS sent_date

    FROM MyTable

    WHERE (id_number, 7, 3) SUBSTR ("ABC", "ABD")

    )

    SELECT id_number

    date_received

    sent_date

    , date_received - sent_date AS num_days

    OF got_sent_date

    WHERE date_received > sent_date + 2

    ;

    If you would care to post some sample data (CREATE TABLE and INSERT statements) and the results desired from this data, I was able to test this.

    Of course, you'll still errors of execution if id_number starts with 6 digits, but they do not have to be valid, for example '131100' or '130229'.  This is one of the reasons why the date information storage in VARCHAR2 columns are a bad idea.  To work around this problem, see

    https://forums.Oracle.com/message/4255051

  • The size of the InDesign document serious error whenever I try to change.

    Hello world.

    So this guard that happens every time I try to change the size of the document (after the strike in the new size and press OK).

    I don't know what is happening, and it's stressing out me!

    Someone met with this error message?Screen Shot 2014-11-17 at 12.03.58.png

    It wasn't a new document. A document existing, just try to change the size.

    In any case, it's working now. Copied and pasted everything in the new document. Suspect that the original file may be damaged.

Maybe you are looking for

  • How can I make one large image on two pages in PAGES

    When I use the updated version of the Pages for Mac (Pages 09) I can see the pages side by side. However, when I put an image on the left page, I can't see it on the right page. Why not? I want to create a centerfold, if you will, with a picture on t

  • the screen of my iphone 6 is black since last night and it still does not

    The screen of my iphone of 6 has recently turned black. It does not work. I tried with everything: by pressing the main button and power that at the same time, connect to a computer and I ran out of options. I hope that this is not something difficul

  • Max Ram for X200s?

    I'm running a Windows 8 Pro 64 bit on my Thinkpad X200s. What is the most absolute of ram can be used and recognized by the laptop? Thank you

  • (windows vista 64-bit) Error 80070424 Windows update

    I recently purchased Office 2010, and when I went to install it, it looks like "error" and then cancel the installation. After reviewing the various things on my computer, I noticed that my windows update service was not working (I don't know how lon

  • Vista-how can I completely block a website?

    I put two sites in the control parental should be blocked, but if you enter in any search engine it will allow them to load. How can I completely block their account of children.