Adding and Removing an Instance in LiveCycle Designer 8.2

Good Morning,
I am just beginning to use LiveCycle Designer 8.2 which was packaged with Adobe Acrobat 9.0 and I was just given a short timelined project for a form to be created for which I would like to include a + and - button to add and remove instances (it would add and remove student information as needed .... maybe only a list of data involving 5 students or for other teachers they may have 10 students, etc.) so I want them to be able to add and remove "instances" as needed.  I have been working on this and looking at forums and clips and have not been able to successfully accomplish this task yet.  I am wondering if anyone can give me some help?  Thanks.
L Gardner

The best reference I've found is at
http://forms.stefcameron.com/2006/11/11/instance-manager-object-reference/
Let me know if you need a sample

Similar Messages

  • Remove "Add New Instance" and "Remove New Instance" Entity buttons

    Hi,
    While Adding new Entity, "Add New Instance" and "Remove New Instance" buttons will be displayed.
    I don't want to display "Add New Instance" and "Remove New Instance" because by default i have created instances. I am able to disable it but i don't want to display at all.
    For "Add New Instance" , one-to-one, Automatically disabled by OPA
    For "Remove New Instance" added below code in ButtonControl.vm:
    #if( ${control.getButtonClass()}.equals("remove"))
    #set( $disabledString = "disabled" )
         #set( $visibility = "false" )
    #end
    Please tell me how to not display these two buttons.
    Thanks,
    Sri

    Hi Sri and Patrick,
    There's no out-of-the-box configuration to hide the Add/Remove Instance buttons from entity collect screens in Web Determinations. However, this requirement can be achieved through Custom Properties. This requires a technical person to create the custom property, which the rulie then attaches to the Rule Project. The technical person also needs to modify the velocity template which renders the entity collect screens so that it will remove the Add/Remove buttons on any entity collect control where the custom property is set to True.
    I can't advise on exactly how to write the custom property or edit the velocity template (I'm a functional expert, not a programmer), but the OPA Developer Help should have guidance. Try searching on ‘custom property’. From the rulie perspective, have a look at this article for how to attach a custom property to the project and to the particular screen control:
    * Augment the rulebase with metadata: http://docs.oracle.com/html/E24270_01/Content/Integrating/Augment_the_rulebase_with_metadata.htm (particularly the sections 'Specify a custom property defintion' and 'Assign a custom property to a control'). This link is to the 10.3 version of the OPM Help. If you are using an earlier release of OPA, you can look at the equivalent article in your copy of the Help.
    (If there are technical people following this thread, perhaps you could reply with specific OPA Developer Help articles people should look at with regard to writing custom properties?)
    Cheers,
    Jasmine

  • Best practice for adding and removing eventListeners?

    Hi,
    What is the best practice in regards to CPU usage and performance for dealing with eventListeners when adding and removing movieclips to the stage?
    1. Add the eventListeners when the mc is instantiated and leave them be until exiting the app
    or
    2. Add and remove the eventListeners as the mc is added or removed from the stage (via an addedToStage and removedFromStage listener method)
    I would appreciate any thoughts you could share with me. Thanks!
    JP

    Thanks neh and Applauz78.
    As I understand it, the main concern with removing listeners is to conserve memory. However, I've tested memory use and this is not really an issue for my app, so I'm more concerned if there will be any effect on CPU (app response) if I'm constantly adding and removing a list of listeners every time a user loads an mc to the stage, as compared to just leaving them active and "ready to go" when needed.
    Is there any way to measure CPU use for an AIR app on iOS?
    (It may help to know my app is small - I'm talking well under 100 active listeners total for all movieclips combined.)

  • Adding and removing plug-in - Gets dirty Catalog?

    Trying many plug-in, adding and removing it, could be a problem with the file Catalog?
    The removed plug-in leaves traces on catalog? E.g.: a bites growed catalog....
    Thanks

    Rob,
    What about your ExifMeta plug-in?
    How it works with the catalog?
    Is there a catalog working difference between ExifMeta and DevMeta plug-in?
    Thanks

  • Dynamically adding and removing managed servers

    Hi,
              I'm experimenting with adding and removing managed servers while applications are running on the cluster. I've written some scripts using weblogic.Admin to do the tasks. It seems that it's working. However, I'd like to confirm that this is supported. I also have the following questions:
              1. Applications running on a cluster are automatically deployed to the newly configured managed server once it is started using startManagedWebLogic.sh. Are there any non-error situations that applications are not started automatically?
              2. To remove a managed server from the cluster, I first shutdown the server gracefully and then delete the server from the domain using weblogic.Admin. Is this the recommended way to do it?
              3. Anything else I need to pay attention to before adding and removing servers?
              Thanks for any information and pointers.
              Ming

    1. only if the staging mode is external.
              2. yes, if the server should be permanently removed. If the server is down for short maintenance, you do not need to remove it from the cluster.
              3. yes, try to avoid doing this during deployment tasks. That can be nasty.
              - Anders M.

  • Adding and removing tabs dynamically as in explorer

    adding and removing tabs dynamically as in explorer or firefox

    Think about how many translations are required to move your avatar, then think how many translations are required to move everything else in the entire world. Depending on whether there is more to translate in your avatar or in the rest of the world, you have your solution.
    Not knowing how your system works I can't really suggest anything further but could the collision avoidance be interacting with everything in the world as well? That would increase the workload somewhat.

  • Drag and drop functionality of a LiveCycle designed form

    I have done a fair amount of searching on the forums to try and solve this problem but have been unable to find an answer.
    We have for years and years been using Adobe Acrobat 8 and associated LiveCycle suite. We have a few forms designed in LiveCycle that, once reader enabled, were able to be filled out and then "drag and drop"'d into regular PDF files. An entire system has been created out of this function.
    We recently, in the last few days, upgraded the entire Adobe software suite on our server to X level. Since the upgrade, we have been unable to "drag and drop" any of our Livecycle forms in to any PDF files. We are receiving this message:
    "You cannot insert pages from an Adobe XML form into another PDF file. To include Adobe XML forms with other PDF files, please use the following menu option: Document > Attach a File"
    The problem is, we don't want to attached the file as a separate document. We need it in a specific place within the PDF document, not as an outside document.
    This has worked for multiple years prior to our adobe upgrade, so I know it is possible.
    Adobe Guru's, what I am missing?

    The sample PDF you sent me that got converted to an Acroform did not include any calculation scripts. I'd be interested in seeing a sample XFA that got converted to an Acroform that retains the calculations. The scripting object models are so different that I would be suprised if anything worked even if the scripts were retained, which I doubt. There certainly isn't an automatic conversion form FormCalc or XFA-based JavaScript to something compatible with Acrobat-based JavaScript. Note that when you import an Acroform with scripting into Designer that all scripts are commented out because they cannot work in the different environment.
    I don't know of a way other than what you have already used. As mentioned in the other discussion I linked to, it may no longer be possible even with low-level tools (e.g., PDF CanOpener) that can manipulate the PDF content.
    Livecycle versatility is what stole u away from the acrobat forms "document conversion autoform".
    I'm not sure what you mean by this. I prefer to work in Acrobat to create PDF forms, but I realize a lot of people enjoy working with Designer. Many types of changes can be made quickly in Acrobat, but I'm not aware of a design environment that's more like Designer but for Acroforms. I'm not trying to change your mind about which is better, but if you ultimately require Acroforms (because XFA cannot be inserted into a normal PDF), then you need to look somewhere other than Designer.
    The bug exists in Acrobat 9, but when I try it none of the scripting or actions are included. I haven't bothered to test with Acrobat 10 or 11 yet, but it looks like you already have. So one answer would be to use a version of Acrobat that allows this.

  • SH: compare and remove found instances

    Forewarning: I'm a scripting beginner and haven't posted in this section before and hope I can describe this properly. Also I'm trying to accomplish this in shell (be it sh, bash, or zsh)...
    Yes, well, basically I'm trying to compare output2 to output1 and if there are anything from output2 found in output1 to remove them from output1. So if I'm checking for something I don't want in output1 I'll use output2 as a reference and if output1 contains, say, two values from output2 it will remove them all. Example:
    "output1" (good values) | "output2" (bad values)
    good mouse | bad cat
    good mouse X | bad cat X
    bad cat XXX | bad cat XX
    good mouse XX | bad cat XXX
    bad cat | bad cat XXXX
    output1 is compared to a reference of output2 and it finds two instances that aren't supposed to be there, regardless of position in either list. Of course when I compare them it wont be as simple as them all starting with the same letters/words. I'm going to be comparing URLs from two outputs.
    I know I can "diff" them like: diff <(output1) <(output2) but like I said they won't be in order and they can't be sorted alphabetically because both lists will usually have different values. I'm just trying to remove a value from one list if it's found in both.
    I've found a simple way of checking a single output for duplicates but this only removes the duplicates and not every instance.
    awk ' !x[$0]++' file
    Also, I hate using temp files. Maybe I could pipe both outputs to fifo? Eh, that's kinda the same thing and not really my main issue.
    So, to make things easier to understand I'm going to be dumping two outputs of URLs and comparing them. One list will have "potential URLs" and the other will have "definitely not". By comparing the two I will tell if a "potential URL" is a "definitely not", and so remove it from the "potential" list. The end result will be a single output of "potentials" that were confirmed good (as they weren't in the "definitely not" output). There's more to the grand scheme but I've already figured out how to pre-pend and append things to everyline (or N line/s) and organize the whole mess but I just haven't figured out this part, so any help is appreciated even if it's just a link for me to read. Be gentle
    Last edited by milomouse (2010-01-16 11:48:41)

    Ooh, a nice cat. :D Yeah, that's what I've been using (also used to be a part of my zsh prompt) but I was trying to find a cleaner solution because I generally abuse grep, cat, awk and pipes. I'm horrible for it. Here's a dirty mock-up of what I'm trying to accomplish:
    function mrr() {
    local env=/tmp/newmirrors
    local fifo1=/tmp/fifo1
    local fifo2=/tmp/fifo2
    mkfifo /tmp/fifo{1,2}
    links -dump 'https://www.archlinux.de/?page=MirrorStatus;orderby=lastsync;sort=1'|\
    grep "tp:/"|head -n 10|awk '{print $1}'|sed "s/$/\$repo\/os\/`arch`/" >! $fifo1 &
    links -dump 'https://www.archlinux.de/?page=MirrorStatus;orderby=avgtime;sort=1'|\
    grep "tp:/"|head -n 10|awk '{print $1}'|sed "s/$/\$repo\/os\/`arch`/" >! $fifo2 &
    grep -xvf $fifo2 <$fifo1|grep -vi i686|head -n 5|sed 's/^/Server = /;s/$//' >! $env
    rm /tmp/fifo{1,2} &>/dev/null
    rankmirrors -n 5 $env >! /tmp/good
    rm $env ; sudo mv /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist-old
    sudo mv /tmp/good /etc/pacman.d/mirrorlist
    So, yeah. Basically a crappy attempt on what I believe Xyne's perl Reflector is doing (although I don't know how to read much Perl to tell). I just wanted something I understood.
    Anyway, I hate how I use fifo as tmp files but I didn't know how else to do it. Also, I had to add the bit about i686 because some servers on the list are i686 only and specify it in their URL so I had to remove them (since I have x86_64). Oh, and the use of "sudo", blech. I guess it works though. Basically it grabs a list of the most recently updated servers and then weeds out the servers with bad response time (if they're on that list, which a few were when I last tested this). Rankmirrors surprisingly yields different results despite the response-time. I guess I could use ping instead of Rankmirrors but I'll do that in the script, not this function. This is the basic reason I needed to compare them, which I hope to expand upon later. I'm sure there's an easier way to do all this but I simply lack the know-how. Again, this is a temporary function I have in my .zsh* file; the script will be different [if I ever finished it].
    edit: typo
    Last edited by milomouse (2010-01-16 15:31:18)

  • Adding and Removing Rows from a Table

    So first time user here so hold on. I am creating a form in Adobe, using the LiveCycle Designer. It has help files on creating a table and having it grow as data is entered. So I create a table and follow the steps but nothing happens. Not sure what I am doing wrong here.
    CustomerTable.Row1.instanceManager.addInstance(1);
    This is code for my button. It is place in the first data row of the table. I inserted a subform so that I could have to buttons there.
    I labeled everything accordingly (my table is called 'CustomerTable'). When I go to previeiw or save it and open as a regular pdf i will not give me more rows to enter information in. Is this syntax wrong or am I just retarded today?
    Ben

    Post your question in the LiveCycle Designer forum.

  • How do I create and auto-launch bookmarks in LiveCycle Designer?

    I've created a fillable form using Adobe Live 8 Pro, I distribute the form using Acrobat. I haven't found a way to create bookmarks in LiveCycle so I create them using Acrobat first before I distribute the form...Is there another way?
    The problem I'm running into with this approach is that I cannot auto-enable the bookmarks when the PDF is opened because File > Properties > Initial View is disabled.
    So given that I've created a form using Adobe Live, what do I have to do to get bookmarks to launch in the initial view?
    Does anyone out there know how to do this?
    thanks in advance.
    Jon

    Hi Hoser117,
    Have you considered using a LiveCycle Designer PDF form?  LiveCycle Designer comes in the box with Acrobat 9 Pro.  Here's are links to some videos from acrobatusers.com that show how to create expandable/flowable tables and fields in a LiveCycle Designer PDF form-
    https://admin.adobe.acrobat.com/_a200985228/p85974540/
    https://admin.adobe.acrobat.com/_a200985228/p87746471/
    https://admin.adobe.acrobat.com/_a200985228/p63999394/
    Hope this helps,
    Dimitri
    WindJack Solutions
    www.windjack.com
    www.pdfscripting.com

  • Adding and removing listeners help please...

    hi guys i have a pop up box that adds a listener depedent on a variable.
    like such
         if(upload_typ != 'O' && upload_typ != 'E')
        {RPanel.DSUB.addEventListener(MouseEvent.CLICK, DatabaseSend)};
       if(upload_typ == 'O')
        {RPanel.DSUB.addEventListener(MouseEvent.CLICK, DataSendOntme)};
        if (upload_typ == 'E')
        {RPanel.DSUB.addEventListener(MouseEvent.CLICK, EncumSendVal)}
    how do i remove the listeners? i continue to see examples of removing listeners but yet i dont see what the remove listener functions should do.
      any help would be greatly appreciated.
    Miguel

    In your case, because you can't be sure what listener was added, you can remove them all, and if they have not been added, no harm:
    RPanel.DSUB.removeEventListener(MouseEvent.CLICK, DatabaseSend);
    RPanel.DSUB.removeEventListener(MouseEvent.CLICK, DataSendOntme);
    RPanel.DSUB.removeEventListener(MouseEvent.CLICK, EncumSendVal);
    Alternatively, you could register the ones that actually get added to an object (associative array) and remove only those when necessary.
    If this post answers your question or helps, please mark it as such. Thanks!
    http://www.chikaradev.com
    Adobe Flex Development and Support Services

  • Adding and removing children with buttons

    So I've been following this tutorial (http://www.danfergusdesign.com/classfiles/oldClasses/VCB331-richMedia1/exercises/addingChi ldren.php) on how to add and remove children with buttons in order to create a popup box on the stage.
    The part I'm having trouble with is how I add the close button to the stage on top of the popup box.
    This is basically what I'm trying to do:
    Here's my code right now:
    var OrderPrepOnlineMenuInstance:OrderPrepOnlineMenu = new OrderPrepOnlineMenu();
    var mcOnStage:Boolean=false;
    loadOrderPrepOnlineBtn.addEventListener(MouseEvent.CLICK, loadMC);
    OrderPrepOnlineClose.addEventListener(MouseEvent.CLICK, removeMC);
    function loadMC(MouseEvent):void {
    addChild(OrderPrepOnlineMenuInstance);
    OrderPrepOnlineMenuInstance.x = 465;
    OrderPrepOnlineMenuInstance.y =230;
    mcOnStage=true;
    function removeMC(MouseEvent):void {
    if (mcOnStage ) {
    removeChild(OrderPrepOnlineMenuInstance);
    mcOnStage=false;

    Why not just make the close button part of the object you are adding.  You can assign it an event listener thru that object after it is created.

  • Adding and Removing Photo Albums

    All of my albums don't show up on Apple TV menu. How can I add and remove picture albums?

    How are you accessing the photos? If using home-sharing you should be able to access your library, make sure you have given access (iTunes - file - home sharing - choose photos to share)

  • Upgrade to Adobe Acrobat XI Professional and free upgrade to Adobe LiveCycle Designer

    Upgrade to Adobe Acrobat XI Professional from Acrobat X Professional  does qualify for a free upgrade to Adobe LiveCycle Designer ES4 or to  ES3 only?
    Thanks

    Hi Rinchin123,
    thank you so much for this information.

  • Problem removing trial version of LiveCycle Designer in order to install new and input license key

    User installed the trial version and has been using it. Now that we have a license key to enter, they have tried to remove it so they can reinstall and enter the key. They get a mesage that there is a problem with the install and it will not remove it. We have tried to reinstall it. When they do that,  they receive message that the package is corrupt. We have downloaded the package fresh a number of times now.
    How can we remove the trial version so we can get it installed with the key ?
    I set up a second system and installed the trial version. I then removed it with no issue. I used the same package the user has downloaded.

    Please try this utility : http://support.microsoft.com/mats/program_install_and_uninstall/en
    -Wasil

Maybe you are looking for

  • Information in ical, itune, widgets,... lost after restart

    All of sudden, when I restarted my computer, (which of course I have done millions of times) the information in my ical, (all in my itune)got lost. Nothing, the scheduled tasks, the playlists, etc are all gone. However, my addressbook, sticky notes s

  • Debug Console? What does that mean and how do i do it?

    My iphone has just come up with a message in safari saying debug console, i have no idea what that means and how to do it. What is it all about and is it bad? If someone can help i would really appreciate it! Thank you.

  • Send Unix Command Miscellaneous/Login template missing

    I'm wondering why the " Apple Remote Desktop" Administrator Guide depicts "Login Users" as an option in the default templates menu of the Send Unix Command/Templates/Miscellaneous/Login users ? In my actual ARD 3.2.2 Admin, the template menu list ski

  • How to open a browser from a program??

    How can i open a browser to a specific page from my aplication??

  • Saving metadata error

    I am using the 1.3.1 trial version. My images are stored on a network drive. Whenever I save the metadata to file on a JPG image, I get the error "Writing XMP data did not complete successfully". Also, after getting this error, there is a duplicate f