Variable Data in Symbol

Windows XP AI SC3
Not sure if AI is suited for this or not...
I would like to be able to create a symbol, that when placed in a document, it can pull from a dataset to populate certain data.  The customers phone number and address for example.
I have played around with variable data for some things, but trying to accomplish this has been less than fruitful...

function(){return A.apply(null,[this].concat($A(arguments)))}
Specifically, I was referring to AI's "Variable" panel and Dynamic object.  Dynamic Text to be more exact.
So all the Variables are text Variables? There are no GraphData, Visibility, or LinkedFile Variables involved?
For my own purposes, I have devised a Javascript that populates the Variables Palette with DataSets from ordinary tab-delimited text. But again, I would have to see a thorough description of your problem to tell you if it is applicable to your situation.
function(){return A.apply(null,[this].concat($A(arguments)))}
I am pretty sure I can get the Dataset file to load when a file is opened (custom plug in).
Assuming the XML file is formed to Illustrator's liking, you could also probably accomplish the auto-import with a Javascript that runs at launch. But that would, of course, just load one row (one DataSet) of the data into the bound objects. What's the big deal about using the Import XML command when the file is opened?
So, if I have a template that has Dynamic Text elements, I should be able to open a file and have the data pulled from the XML dataset on open, automatically populating the variable text elements.
Again, I don't know what you mean by "have the data pulled." The bound objects on the page will only contain one DataSet (one "row" of the data, were it tabular data) at a time. You could then use a mere Action (macro) to cycle through the DataSets and export the versions, if that's what you're talking about. But a startup script would only import the data Variable Library into the Variables Palette. Again, that's a one-shot deal; I don't see what's the big deal about invoking one command in the UI to load the whole Library.
function(){return A.apply(null,[this].concat($A(arguments)))}
This will work well for variable text elements that are in the document.  However, if I create an Illustrator symbol and try to make the text dynamic, it does not appear to work.  I can go through the motions, but loading different datasets doe snot appear to affect the symbol.
Ilustrator Symbols cannot be bound as Variable objects. There are four types of Variables: Text, GraphData, LinkedFile, and Visibility. Why do you need this to be a Symbol? Is it required that multiple instances of the same column from the DataSet occur in various places on the page? If so, the Variables Palette is probably not your best solution. You would have to have multiple columns in your DataSet containing the same value, because even with ordinary textFrame objects, you cannot bind several to one Variable.
function(){return A.apply(null,[this].concat($A(arguments)))}
First, I would like to accomplish this within AI if possible, so whatever tools AI may give me, is what I am talking about.
Workarounds are conceivable. But frankly I probably wouldn't bother (again, depending upon the specifics of the problem). InDesign provides a proper and straightforward data merge feature that works with ordinary tab delimited text, so you can enter the same placeholder as many times as you need on a page, and anywhere within a textrange (whereas Illustrator's Variables feature does not allow binding of multiple variables within a single textFrame).
JET

Similar Messages

  • Accessing the variable in field symbol of nested internal table

    Hi,
    I am unable to access the variable in field symbol.
    The data in field symbol has nested structure. We need to access a variable in nested structure.
    Please find the code below:
          LOOP AT <i_fincorp> into <fs_fincorp>.
            l_madefor = <FS_FINCORP>-data_UI-ZZ0010.
          ENDLOOP.
    datatype of <i_fincorp> is type any table and <fs_fincorp> is type any.
    there is a structure 'data_ui' in <i_fincorp> and we need value of field 'ZZ0010' in data_ui structure.
    But, we are getting syntax error for statement in loop stating "There is no component like 'data_ui' in <fs_fincorp>".
    Can anyone please help me solving this issue.
    Regards,
    Santosh

    So simply access it dynamically
    data: nested_field type c length 50.
    field-symbols <nested_field> type any.
    "build the nested field name dynamically
    concatenate
           'DATA_UI'    "first give structure name
           'ZZ0010'  "then give field name (all in uppercase!)
    into nested_field
    separated by '-'.  "now you have DATA_UI-ZZ0010
    "so assing this nested field
    LOOP AT <i_fincorp> into <fs_fincorp>.
       assign component (nested_field) of structure <fs_fincorp> into <nested_field>. 
    ENDLOOP.
    Regards
    Marcin

  • How do I create multiple-up pages populated with variable data?

    I am trying to create a variable data Illustrator file but with a catch, I have to create multiple points of data on one artboard.  I am using a template with 36 identical shapes, and I'm trying to add a different image to each based off of using variable data.  I understand the premise of creating multiple output files based off of an illustrator file and data, but I have to create a single output file using 36 points of data, all QR codes.  The reason is that this 36-up 14.5" x 14.5" sheet will be printed on a large format inkjet and then be fed into another machine (not a cutter) that requires that specific layout for it's process.  I cannot create individual files, I need sheets based off of my 14.5" x 14.5" 36-up template.
    Any suggestions other than making each shape in the template a separate variable (even though they are all the exact same shape) would be greatly appreciated.
    My goal is to populate each of these shapes with a different QR code and then output the whole sheet as a single .EPS or .PDF file.

    My goal is to populate each of these shapes with a different QR code and then output the whole sheet as a single .EPS or .PDF file.
    You're barking up the wrong tree for this with Illustrator's Variables palette.
    Think of it like this:
    Imagine a typical spreadsheet with multiple rows of the same kind of data, except for the first row which serves as the "labels" of the columns.
    The on-page objects which you define as Variables in Illustrator correspond to the first row; the column labels.
    The datasets correspond to the following rows of values below the label row.
    Cycling through the datasets simply moves up and down the rows, revealing one row's data at a time for each of the column labels.
    Your multi-up array does not fit that data model. You are essentially trying to make a layout showing all the individual cells below the single label of one column (downward across all rows). (Illustrator's Variables feature doesn't even let you put multiple instances of a single variable in the document, so that the same value occurs in multiple places.)
    You're trying to build the functional equivalent of a typical "gang up" press sheet, like a 10-up layout of business cards, each showing the same kind of data (name, phone, etc.) for multiple employees, so that you don't have to do separate press runs for each employee. That's certainly a common need, and one quite appropriate to a program like Illustrator. But Illustrator's Variables feature does not do that.
    Essentially, what you are wanting to do is to replicate the basic functionality of any program which is used to print labels from data (like the typical mail merge function for address labels which are ganged up with some number of different labels on a page). What you want could be done in Illustrator via a custom JavaScript, but it would be a pretty silly exercise in reinventing the wheel. If it were me, I'd probably build the solution in FileMaker Pro (a database program), depending on the specific graphics requirements. However, you should be able to do it in InDesign, using its data merge feature.
    JET

  • How do I create an interactive PDF file with variable data

    We would like to basically do a 'mail merge' of our list of customers with an interactive PDF file (including videos, menus, etc - not just form fill out and web links) to create a single PDF file that contains multiple mail pieces ... one for each customer ... with each mail piece being customized for that customer.  Customizations would include different greetings (Dear Bob, Dear Dana, etc), as well as different charts based on data unique to the customer, different photographs, etc.
    I've seen that InDesign and Acrobat Professional can be used to create an interactive PDF (such as from http://tv.adobe.com/watch/ask-the-adobe-ones/14-calling-rufus-about-interactive-pdf-making).  However I don't understand how I can insert data from a database, csv file, excel file etc into the PDF file so that each page, or each set of pages, within the PDF can be customized.
    Can anyone point me to a tool to use for this?
    Thanks,
    Bob Kendall

    For that kind of volume and unattended operation, you want InDesign Server – which is the server/high volume edition of INDD.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Thu, 3 Nov 2011 06:58:07 -0700
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: How do I create an interactive PDF file with variable data
    Re: How do I create an interactive PDF file with variable data
    created by Ti26E31DSxxx<http://forums.adobe.com/people/Ti26E31DSxxx> in PDF Language and Specifications - View the full discussion<http://forums.adobe.com/message/4005459#4005459

  • How to create a PI Sheet with variable data

    Hi, I am working in version 6.2 of SAP.
    The requirement that I am trying to configure in PP PI is to create a PI Sheet that contains variable data in the instructions.  I have been attempting to use Process Instruction type 2, Simple DATA_REQUEST_TYPE, and a basic Message Characteristic that is similar to PI_COMM.
    The problem that I am having is in using PPPI_VARIABLE with PPPI_DEFAULT_VALUE.  When I run a check on the Process Instruction I constantly get sequence errors; "Assign PPPI_VARIABLE before the corresponding mess. characteristic" or "Characteristic 0020 PPPI_VARIABLE cannot be used in this position".
    Can someone please help!  I have read through SAP Help so much I can't see straight any more.
    Thanks,
    Also, if someone knows of a GOOD book on PP PI, please let me know.
    Thanks again,

    Hi,
    I am using the Process Instruction Cat. INSTR in the first Process Instruction and a similar Cat. INSTR3 in the second Process Instruction.
    Here are the entries:
    INSTR -
    0010     PPPI_DATA_REQUEST_TYPE          Simple Data Request
    0020     PPPI_MESSAGE_CATEGORY          ZPI_ALL
    0030     PPPI_PROCESS_ORDER
    0040     PPPI_VARIABLE          SLEW_TEMPERTURE
    0050     PPPI_DEFAULT_VALUE          150.00
    0060     PPPI_VARIABLE          DEF_STRING
    0070     PPPI_DEFAULT_STRING          F
    INSTR3 -
    0001     PPPI_DATA_REQUEST_TYPE          Simple Data Request
    0002     PPPI_MESSAGE_CATEGORY          ZPI_COMM
    0010     PPPI_OUTPUT_TEXT          Phase
    0020     PPPI_OUTPUT_CHARACTERISTIC          PPPI_PHASE
    0030     PPPI_PHASE_SHORT_TEXT
    0040     PPPI_OUTPUT_CHARACTERISTIC          PPPI_PHASE_SHORT_TEXT
    0060     PPPI_OUTPUT_TEXT          Operation 1: Slew to
    0070     PPPI_OUTPUT_VARIABLE          SLEW_TEMPERTURE
    0080     PPPI_OUTPUT_VARIABLE          DEF_STRING
    These are the instructions that are created:
        PI Sheet
        PI sheet        000000000000000001     New
        Recipe group    50000014               CtrlRec.Destin. 01
          Operating grp.  : PVCME GROUP 1
                                                     Phase
                                                     Operation 1: Slew to
    As you can see the variable data is not produced in the instructions.
    And I have these errors:
    - Charact. 0070 PPPI_OUTPUT_VARIABLE: Define variable SLEW_TEMPERTURE first
    - Charact. 0080 PPPI_OUTPUT_VARIABLE: Define variable DEF_STRING first
    Ideas?

  • Using variable date in a VIEW

    Can I create a view in Oracle whereby the date I use to select the records can be a variable?
    For example:
    select * from marketer_account
    where '30-NOV-2009' between mka_eff_dt and mka_exp_dt
    and mka_service_type = 'E';
    I want to get a list of all records on the marketer account table that were active on 30-NOV-2009.
    But more importantly the users want a view that they can run every month to get this information, so in another month we may need the same query but:
    select * from marketer_account
    where '31-DEC-2009' between mka_eff_dt and mka_exp_dt
    and mka_service_type = 'E';
    So I want to replace the '31-DEC-2009' with a generic date. I tried this:
    select *
    from marketer_account
    where last_day(add_months(sysdate,-2)) between mka_eff_dt and mka_exp_dt
    and mka_service_type = 'E';
    This will take the last day of 2 months ago from current: ie. If they run it now, they will get 31-JAN-2010 here.
    Is this OK to do? Or is there a better way? Maybe the users want to change the date and run it for a date of their choosing?

    Hi,
    Besides SYS_CONTEXT, you can also store the base date in a table. If you make it a Global Temporary Table, then different sessions can use different parameters at the same time. You can even have multiple copies of the the same view in the same query, all with different parameters.
    If the variable date is always the same distance from today's date, then you can simply use SYSDATE in the view.
    For example, to find what was active on the last day of the month 3 months ago:
    select  *
    from  marketer_account
    where   ADD_MONTHS (TRUNC (SYSDATE, 'MONTH'), -2) -1
            between mka_eff_dt
            and     mka_exp_dt
    and     mka_service_type = 'E';If you run this any time in March, 2010, it gets the same results as:
    select  *
    from  marketer_account
    where   TO_DATE ('31-Dec-2009', 'DD-Mon-YYYY')
            between mka_eff_dt
            and     mka_exp_dt
    and     mka_service_type = 'E';but in April, it's as if the magic date was automatically changed to '31-Jan-2010'.

  • Checking for an updated variable value in symbol timeline

    I'm making a puzzle which involves moving crates in a specific order to get a character from one side to the other. Take a look at http://tinyurl.com/c4vwcj9 to get the gist of it.
    Each crate is a symbol with it's own timeline. A crate may only move a pre-determined direction and distance once clicked. No more than 2 crates can be pulled out of the grid at any one time.
    The timeline of each symbol has three states: "Original", "Moved" and "Returned".
    If you have a play around with the puzzle as it stands so far, you will see most of the logic arguments work ok. However, the problem I have is when you pull a crate out of the grid and it needs to check if it can move back into place.
    To see what I mean:
    - Pull out the bottom left corner crate
    - Move the crate to the immediate right, thereby blocking the previous crate
    - Try to move the bottom left corner crate again (you should get an error message and it shouldn't move - this is fine)
    - Move the other crate back to it's original position to unblock the previous crate
    - Try to move the bottom left corner crate a final time (you still get the error message and it doesn't move - this is not fine!)
    A quick debug has revealed the second mouse click doesn't fetch the updated variable AFTER the symbol timeline begins to play, but the same methodology works just fine for crates that check for impeded movement BEFORE a symbol timeline is played (try one of the inner crates). Why isn't it getting the updated value and what can I do to solve it?
    Below is a sample of the code specific to the bottom left crate. I've highlighted the variable and arguments specific to the problem. Please excuse what is no doubt poor Javascript coding conventions - I only started learning this last week!
    //-- Get needed variables
    // Check to see if other crate is impeding movement and define value as a variable
    var myCrateCheck = sym.getComposition().getStage().getSymbol("_b_2x1crate_h").getVariable("Crate2");
    // Check to see what this crate's status is and define value as a variable
    var mySelfCheck = sym.getComposition().getStage().getSymbol("_bl_3x1crate_h").getVariable("Crate1");
    // Check to see if other crates have been moved out of the main grid. Parse value as an integer in base 10.
    var myGridCheck1 = parseInt(sym.getComposition().getStage().getSymbol("_br_2x1crate_v").getVariable("Crate3_ grid"),10);
    var myGridCheck2 = parseInt(sym.getComposition().getStage().getSymbol("_bl_4x1crate").getVariable("Crate4_gr id"),10);
    var myGridCheck3 = parseInt(sym.getComposition().getStage().getSymbol("_bl_2x2crate").getVariable("Crate5_gr id"),10);
    var myGridCheck4 = parseInt(sym.getComposition().getStage().getSymbol("_cl_2x1crate_h").getVariable("Crate9_ grid"),10);
    var myGridCheck5 = parseInt(sym.getComposition().getStage().getSymbol("_cl_1x1crate_1").getVariable("Crate13 _grid"),10);
    var myGridCheck6 = parseInt(sym.getComposition().getStage().getSymbol("_cr_3x1crate_h").getVariable("Crate16 _grid"),10);
    var myGridCheck7 = parseInt(sym.getComposition().getStage().getSymbol("_tl_2x1crate_h").getVariable("Crate17 _grid"),10);
    var myGridCheck8 = parseInt(sym.getComposition().getStage().getSymbol("_tc_2x2crate").getVariable("Crate18_g rid"),10);
    var myGridCheck9 = parseInt(sym.getComposition().getStage().getSymbol("_tr_2x1crate_h_1").getVariable("Crate 19_grid"),10);
    var myGridCheck10 = parseInt(sym.getComposition().getStage().getSymbol("_tl_3x1crate_h").getVariable("Crate20 _grid"),10);
    var myGridCheck11 = parseInt(sym.getComposition().getStage().getSymbol("_tr_2x1crate_h_2").getVariable("Crate 21_grid"),10);
    // Create a variable called myGridCheckSum, make sure it's a number and sum the above
    var myGridCheckSum = 0;
    myGridCheckSum = myGridCheck1 + myGridCheck2 + myGridCheck3 + myGridCheck4 + myGridCheck5 + myGridCheck6 + myGridCheck7 + myGridCheck8 + myGridCheck9 + myGridCheck10 + myGridCheck11;
    //-- Logic & Conditional Statements
    // If this crate is in any position other than "Moved", and more than 1 box is already out of grid zone - prevent move and alert
    if ((mySelfCheck != "Moved") && (myGridCheckSum >1)){
    alert('Too many boxes outside of grid zone');
    sym.stop();
    // Or else, if this crate is in any position other than "Moved", but less than 2 boxes are out of grid zone - allow move
    else if ((mySelfCheck != "Moved") && (myGridCheckSum <2)){
    sym.play();
    // If this crate has moved but the other crate hasn't moved, play remainder of symbol timeline
    else if ((mySelfCheck == "Moved") && (myCrateCheck != "Moved")){
    sym.play(3001)
    // If this crate has moved and the other crate is also moved, alert and loop back on timeline
    else if (myCrateCheck == "Moved"){
    // Alert user to say crate cannot be moved
    alert('This box is being blocked by another!');
    sym.play(2999);

    Resolved. Silly little syntax error on a variable rewrite on another symbol!

  • How to mount an url with variable data?

    Hello fellas, i need to use a variable url in an a tag to send emails.
    Something like: <a href="exemple.com?guest=Name%20Of%20My%20Guest">
    Anyone knows how i can encodeURI of an variable data in Eloqua???
    Thanks for attention.
    Respect!

    Hello fellas, i need to use a variable url in an a tag to send emails.
    Something like: <a href="exemple.com?guest=Name%20Of%20My%20Guest">
    Anyone knows how i can encodeURI of an variable data in Eloqua???
    Thanks for attention.
    Respect!

  • Saving user variable data in XML file

    I am using Captivate 5.5. Can I save user variable data of several variables on an XML file ?

    Can be done with Javascript, have a look at the Javascript articles by Jim Leichliter, here is one link:
    Retrieve variables in Captivate
    Lilybiri

  • Variable data for InDesign

    I've been using Xmpie with InDesign for variable data and graphics for years, however the recent Xmpie versions are buggy and crash all the time.  Xmpie doesn't know how to resolve this and are ignoring my support cases.  I am now using an old computer with an equally old version of Xmpie with InDesign 3.  They're old but they work.  I was wondering what others are using and what they recommend.  Thanks for any info in advance!

    You have two choices. The cheapest choices is to learn to use a font tool and do it yourself.
    The best source I know of is a company called FontLab who produce a variety of applications at all level of price and capabilities:
    http://www.fontlab.com
    Or, you could hire a type designer, or a designer familiar with type design.

  • In Design Data merge into separate pdf files with variable data name

    Hi all, thank you for taking the time to read this.
    Here's what I have.
    I've created a file in indesign using a 65 page document.
    With this document I've set it up to have specific data in certain areas with data merge.  I have that part setup and it works fine. 
    When I go to export PDF it creates one massive pdf document with all the variable data in it.  However here is the scenario I would like.
    1. Indesign to create a separate pdf file for each record.  So in this example it would be 100 different 65 page pdfs since it should have different pdfs for each record and there are 100 records in the csv.
    2. The pdf should be named after each variable record.  For example record one says name "Joe", record 2 name "Frank".  So it should create joe.pdf, frank.pdf etc.
    How can I accomplish this?

    I don't know if this script works in CS4 or not:
    http://indesignsecrets.com/page-exporter-utility-peu-5-script-updated-for-cs3.php

  • How can I do a multiple record data merge, but specify that a specific text frame with variable data only merges on the first record?

    I'm doing a multiple record data merge, I have 2 frames both with variable data placed inside.
    I would like to specify that one of the text frames only merges once(first record) and the other frame multiple times for each record in the data file.
    Is it possible?
    I thought that perhaps if I place the text frame that must merge once on the master page, it would work.  But you are not allowed to place variable text on the master and on the document page.
    I'm going to try it through scripting next, but thought that perhaps there is an easier way that I'm not aware of.
    Thanks,
    Suzanne

    Suzanne,
    If you were trying to post a screen shot, you would need to return to the forum and post it using the "camera" icon at the top of the post editing windows.
    I use a plug-in from Em Software called InData. One of the benefits for what I do is there are no individual frames on a page to deal with post-merge. Individual frames are great for simple merges (address labels, post cards, etc.). But I typically do more other types of merges.
    That said, there is a drawback--one needs to come to an understanding of writing expressions that actually parse the incoming data. So in the spice price list example, that looks like:
    It's reasonably easy once one does it a few times. And it can be far more complicated. The above is from Em Software's samples that has been tweaked. The best thing I can recommend would be to download the trial and see for yourself. They are good at responding to specific questions if you get stumped.
    I imagine this all could be scripted somehow in ID. But I have no idea how and the plug-in just lets me keep working.
    Mike

  • Japanese characters alone are not passing correctly (passing like ??? or some unreadable characters) to Adobe application when we create input variable as XML data type. The same solution works fine if we change input variable data type to document type a

    Dear Team,
    Japanese characters alone are not passing correctly (passing like ??? or some unreadable characters) to Adobe application when we create input variable as XML data type. The same solution works fine if we change input variable data type to document type. Could you please do needful. Thank you

    Hello,
    most recent patches for IGS and kernel installed. Now it works.

  • Infotype 0082 - variable data

    Hi,
    In the user exit ZXPADU02 I put some logic for infotype 0082 (variable data)
    The  variable data screen have table control with few fields.
    When I issue an error message the table control is close for input and I can't change any fields.
    Any clue why and how to avoid this situation.
    E.g.
    When other screens are running and message type E is issue the fields are open for change
    Thanks in advance
    Itzik

    Thanks Sikindar  & Carlos.
    I have check T582L before posting the query but didn't find anything out there.
    We don't want to enhance IT0021 with new fields.
    I am looking for something like IT0106 for US but need the same for International.
    Please let me know if you have any idea
    Thanks for your suggestions,
    S M

  • Passing variable data into XSLT

    Hai all, I am trying to pass variable contents into a XSLT. I am trying the procedure given in the link below.I am not able to pass the parameter values into XSLT file.I am failing in the last step.
    Has anyone tried this example
    http://blogs.oracle.com/rammenon/2007/05/passing_bpel_variable_contents.html
    or
    Is there any other way to pass variable data into XSLT. Kindly help.
    Thank You

    True, the sample also uses the same function that I mentioned :
    <!-- convert Invoice to PO using XSLT service -->
              <assign name="transformVehicle">
              <copy>
                   <from expression="ora:processXSLT('InvToPo.xslt',bpws:getVariableData('input','payload') )"/>
                   <to variable="output" part="payload"/>
              </copy>                    
              </assign>

Maybe you are looking for