Make a Table of the dynamic contents for a document with a liquid layout... Help!

* Running LiveCycle ES4 and use of the 'action' to code generator *.

I have a HUGE document (70 + pages) that needs a dynamic table of content that updates the user adds information that can push all the sections that follow to the new page numbers.  There are sections AND subsections under each article, but for this, lets keep things simple and just talk sections.  I had to face to find a way to do this for months and I need to have done this week. I already have the table of contents and click on each section heading, it sets the focus to the PDF for the first text field in this section.  (each section has a text field just after the title of section)


To make it dynamic, I added 2 pieces for each section:

(1) a field of visible text on the Table of contents page with the default page number that the article is on until the user enters information

2) an invisible digital field placed just before the first text field in each section that of value is set on "property page number: current runtime" so he always holds the current page number


Using the constructor Action, what I do is every time a textfield is changed, change the value of the table visible from the field content of this section to the value of the invisible digital field that is now the current page number.  There are 7 sections, so if the text of article 2 field is changed, then update the Table of contents to sections 3-7.


Screen Shot 2015-01-27 at 12.05.36 PM.png


When I tested on a single article, it worked.  But now it does not work and I do not know why.


Here are some properties of the object than my being at the origin of the problems too. If anything sticks?


Visible box on the table of contents page

Domain: Type = text field

Value: Type = Protected (I was cycling through all THE different types, but the only time where it worked, it was the Type of value)


Invisible box above the first textfield in each section

Domain: Type = numeric field

Value: Type = calculated - read-only property of execution: current Page number


any suggestions? Thank you!

This has never answered, but I understand on mine.  Figured since it had 66 times, I would like to share what I found.  It was actually an easy fix.

I added a textfield (set to display the current page number of the page on which it is) at the beginning of each section that appears in the table of contents and set it to always stay with the first line of text in this section as well as the document grew, the page number, in that the section begins will remain correct.  Place to hide it.  In the "binding" tab, I put the name is the same name as the corresponding heading in the table of contents.

Hope this helps someone who is in my place last year. =)

Tags: Adobe LiveCycle

Similar Questions

  • Make sure you have the latest firmware for cd or dvd burner

    I can't burn videos on my cd or dvd burner. He say make sure you have the latest firmware for cd or dvd burner. What can I do?

    This forum is for Microsoft Security Essentials.

    Go to the website of the manufacturer of CD/DVD and get the firmware.

  • We are trying to make a quick payment of payment workbench and is "FRM-41830: error in values list of the no entries for payment document column / field.» Payment document format seems good. Don't know what the issue is.

    We are trying to make a quick payment of payment workbench and is "FRM-41830: error in values list of the no entries for payment document column / field.» Payment document format seems good. Don't know what the issue is.

    Found the Solution...

    PPR (profile of payment process) has not been set to check Format selected in the configuration to "Manage the payment Document".

  • I lost the disc to restore my phone and it is no longer supported by the manufacturer. Can I use the installation disc for my desktop with my laptop serial number?

    I lost my laptop computer restore disc and it is no longer supported by the manufacturer. Can I use the installation disc for my desktop with my laptop serial number?

    My title says it all. I have an old HP laptop that they do not send to restore the disc more (I don't know yet I had one; his old laptop from my brother) and I have an installation disc for my new PC. I have a Windows XP Home edition SP2 installation disc. However, as the hard drive of my laptop broke down, I don't know what version of windows it was. I think it should have been an OEM version and the sticker says it was Windows XP Home Edition.

    Now, anyway I tried to install my installation on laptop computer disc, offering series of laptop computer but now it asks me to activate. Will it work if I activate it?

    Thank you

    Unless you are lucky enough to know someone who has a generic OEM drive, which you can borrow, I don't see a practical solution for you.  I advise you to spend the money to buy one, even if you could find one to buy from a reliable source (not eBay!).  Although a generic OEM disc should work with your product key, there is no guarantee that it will work with your product key.

    If your laptop can be retrieved through a restore partition, and you can't borrow a disc that will work with your product key, then you have pretty much exhausted all reasonable or practical options.

    I finally did! I borrowed a copy of a generic OEM drive, through activation and it is!

    Thank you much for the help...

    Now I've done could you help me more? Say now, I returned the drive OEM back (don't want to make an illegal copy) and want to be able to use my current system installed to generate a system disk that will allow me to avoid all the problems I've had up to now. What would you recommend? I've read a few articles on other forums (I did some research!) but is a little confusing. I hope you could help.

    Thank you

    @Carey Frisch - positive Get... you want to help here not only your view of what I would do with my money!

  • The default value for a property with data of type boolean

    Hi all

    Is it a system preference setting, where the default value for a property with data of type boolean can be a Virgin? I want to keep the value by default in a vacuum, but every time I save the property even after empty selection, the default value changes to FALSE.

    Capture.JPG

    In this case Boolean doesn't help you, you mayneed to create a chain of ownership and have true/false / "" as your list of values

  • E10: Split evenly the recipients in the dynamic content rule

    I would use "wildcard pattern matches" Eloqua Contact ID in a rule to randomly and evenly distribute dynamic content among all recipients of e-mail.  However this option is not currently available (DDL understands exactly, contains, etc.).   Is there another way to randomly and evenly divide my population, or configure the wildcard characters for contact ID (for example, * 4?)   Exactly and Contains does not seem to work.  Thank you!

    There is one thing that comes to mind when I think of your example.  The only way to get a true split must firstly, use the program generator.  If you are not familiar with it, think of it as Web of campaign in Advanced Mode, where each option is available.  Then run the percentage based routing to split your audience.  Then have a rule to update on the other side to set a value in Eloqua to set a value (T/F) for the A / B results.  Then send your program one step to send an email and because of the updated rule, you have created, you will be able to send a really dynamic from email of a split.

    To make it more effective, I would field 'A' 'B' group and group so that you can re - use these fields for any email on the line.  Just make sure that the end of your program clears these fields to make it work.

  • ActionScript to load captions in the table to the dynamic text when the user clicks the thumb

    I have this code under that I made using a tutorial... it loads txt file vars it splits then place in a table... once in a table he brings the photos from the table to create thumbnails and a larger image. My problem is that I have captions to go with it, and when I try to load captions nothing happens or can be seen to happen.

    I don't know where I'm wrong because I have no output or compiled errors

    
    var locVar = new Array();
    locVar = imgLoc.split(",");
    trace ( locVar );
    
    var tmbVar = new Array();
    tmbVar = tmbLoc.split(",");
    trace ( tmbVar );
    
    var capVar = new Array();
    capVar = imgCap.split(",");
    trace ( capVar );
    
    var NPICS:Number = locVar.length;     // number of pictures to load
    var PICX:Number = 32.8;               // x loc of big picture
    var PICY:Number = 24.9;               // y loc
    var THUMBHOLDERX:Number = 50;        // x location of thumbnail holder movieclip
    var THUMBHOLDERY:Number = 457;      // y location
    var THUMBW:Number = 100;             // width of each thumbnail
    var THUMBH:Number = 75;             // height
    var MARGIN:Number = 10;             // margin between thumbnails
    var TOTALBYTES:Number = 212000;     // approx sum of bytes in all jpgs (x 2)
    var MAXPIXELS:Number = 12;          // max number of pixels to move slider per frame
    
    // mask definition; mask is assumed to cover some part of the thumbnail slider (here the numbers
    // were chosen so that there are margins between the mask and the right and left edges of the movie
    // (which is 420 x 290), and enough space above and below the thumbs to show them when they 'grow'
    // on mouseover
    var MASKX:Number = 0;                    // start x location of mask
    var MASKW:Number = 600;                    // mask width
    var MASKY:Number = 447.9;                    // start y location of mask
    var MASKH:Number = 92;                    // mask height
    
    var totalloaded:Number = 0;         // running tally of bytes loaded from all pics
    
    // index into pictures array, used for loading
    var ipic:Number;
    
    // set up loader, an instance of MovieClipLoader
    var loader:MovieClipLoader = new MovieClipLoader();
    
    // use the main timeline to listen to and respond to loader's broadcast events
    loader.addListener(this);
    
    // function to move thumbnail slider ("this" = thumbs_mc)
    
    function sliderControl() {
       var w:Number = this._width/2;
       var hw:Number = mask_mc._width/2;
       var npixels:Number;
       // only do when mouse over slider mask
       if (_ymouse > mask_mc._y && _ymouse < mask_mc._y + mask_mc._height) {
          // mouse over left half of slider:
          if (_xmouse > mask_mc._x && _xmouse < mask_mc._x + hw) {
             npixels = (hw - _xmouse) / hw * MAXPIXELS;
             this._x += npixels;
             if (this._x >= 0) this._x = this._x - w;
          // mouse over right half of slider:
          } else if (_xmouse > mask_mc._x + hw && _xmouse < mask_mc._x + mask_mc._width) {
             npixels = (_xmouse - hw) / hw * MAXPIXELS;
             this._x -= npixels;
             if (this._x <= -w) this._x = this._x + w;
          }
       }
    }
    
    // thumbnail click (onrelease) handler
    
    function openPic() {
       pic_mc.loadMovie(locVar[this.i]);
    }
    
    function brightON(){
         this._alpha = 300;
    }
    function brightOFF(){
         this._alpha = 30;
    }
    function captionTXT(){
         _root.cap_txt = capVar;
    }
    
    // assign event handlers (called when all jpgs are loaded)
    
    function setupHandlers() {
       pct_txt.removeTextField();          // don't need loading indicator any more
       thumbs_mc.onEnterFrame = sliderControl;
       for (var i:Number = 0; i < NPICS*2; i++) {
          thumbs_mc["mc"+i].onRollOver = brightON;
          thumbs_mc["mc"+i].onRollOut = brightOFF;
          thumbs_mc["mc"+i].onMouseDown = captionTXT;
          thumbs_mc["mc"+i].onRelease = openPic;
       }
    }
    
    // listener function for broadcast 'done' message (for each pic)
    // onLoadInit gets executed when the movieclip has been loaded into _mc AND 
    //   its width and height data are available.
    //   (_mc = the movieclip being loaded into)
    // this routine sets the size and position of each thumbnail clip as its jpg
    //   is loaded and starts the next one loading.  When all have been loaded, 
    //   a random picture is loaded into pic_mc and setupHandlers is called to 
    //   assign handlers to each thumbnail movieclip
    
    function onLoadInit(_mc:MovieClip) {
       // this gets done when the jpg is completely loaded:
       _mc._width = THUMBW;
       _mc._height = THUMBH;
       _mc._alpha = 30;          // for image clarity
       // give the movieclip a property to remind it who it is
       // (used by openPic to know which big picture to open)
       _mc.i = (ipic >= NPICS ? ipic-NPICS : ipic);
         
       // add picture size to totalloaded variable
       totalloaded += loader.getProgress(_mc).bytesTotal;
    
       // now load the next one (if there are more) or set up handlers if done
       ipic++;
       if (ipic == NPICS * 2) {
          // start with a random photo displayed when all thumbs loaded
          pic_mc.loadMovie(locVar[Math.floor(Math.random()*NPICS)]);
          setupHandlers();
       } else if (ipic >= NPICS) {
          // load jpg into duplicate thumbnail (will already be cached)
          loader.loadClip(tmbVar[ipic-NPICS],  thumbs_mc["mc"+ipic]);
       } else {
          // load jpg into thumbnail
          loader.loadClip(tmbVar[ipic],  thumbs_mc["mc"+ipic]);
       }
    }
    
    // listener function to handle broadcast progress messages
    // make pct_txt show cumulative loading progress
    
    function onLoadProgress(_mc:MovieClip, loaded:Number) {
       var loadedsofar:Number = totalloaded + loaded;     
       pct_txt.text = Math.floor(loadedsofar / TOTALBYTES * 100) + "%";
    }
    
    function init() {
       // create holder for pictures
       createEmptyMovieClip("pic_mc", 1);
       pic_mc._x = PICX;
       pic_mc._y = PICY;
    
       // create (and draw) holder for thumbnails 
       createEmptyMovieClip("thumbs_mc", 2);
       thumbs_mc.beginFill(0, 100);     // black
       thumbs_mc.moveTo(0, 0);
          thumbs_mc.lineTo(2 * (MARGIN + THUMBW) * NPICS, 0);
       thumbs_mc.lineTo(2 * (MARGIN + THUMBW) * NPICS, THUMBH);
       thumbs_mc.lineTo(0, THUMBH);
       thumbs_mc.endFill();
       // drawing the thumb holder at 0, 0 and then moving it makes its reg point = upper left
       thumbs_mc._x = THUMBHOLDERX;
       thumbs_mc._y = THUMBHOLDERY;
    
       // create, draw and enable mask over thumbs (could use different variables to define mask
       // if desired)
       createEmptyMovieClip("mask_mc", 3);
       mask_mc.beginFill(0x0000cc, 100);
       mask_mc.moveTo(0, 0);
       mask_mc.lineTo(MASKW, 0);
       mask_mc.lineTo(MASKW, MASKH);
       mask_mc.lineTo(0, MASKH);
       mask_mc.endFill();
       mask_mc._x = MASKX;
       mask_mc._y = MASKY;
       thumbs_mc.setMask(mask_mc);
    
       // create loading textfield indicator
       createTextField("pct_txt", 4, 200, 100, 40, 100);
       var tf:TextFormat = new TextFormat();
       tf.align = "center";
       tf.size = 12;
       tf.font = "Verdana";
       tf.color = 0xFFFF00;
       pct_txt.setNewTextFormat(tf);
       
       // create loading textfield indicator
       createTextField("cap_txt", 0, 400, 200, 40, 100);
       var cf:TextFormat = new TextFormat();
       cf.align = "center";
       cf.size = 12;
       cf.font = "Verdana";
       cf.color = 0xFFFF00;
       cap_txt.setNewTextFormat(cf);
    
       // make empty movieclips in thumbs_mc for each pic to go into
       // make double the number so the slider can move continuously and show content
       for (var i:Number = 0; i < NPICS * 2; i++) {
          var mc:MovieClip = thumbs_mc.createEmptyMovieClip("mc"+i, i+1);
          mc._x = i*(MARGIN + THUMBW);
          mc._y = 0;
       }
         
       // set the pointer to the first jpg in the array picnames
       ipic = 0;
       // start loading jpgs (ipic is initialized to 0)
       loader.loadClip(locVar[ipic], thumbs_mc["mc"+ipic]);
    }
    
    init();
    stop();
    

    If you search the MovieClip.createTextField method in the Flash help documents, it will show you how to assign a textfield to a movieclip.

  • Access and updating of dynamic content for email

    I created an email template. Now I want to access and update any part (Shared Content / dynamic content) of this model.

    How can I achieve that?

    Thank you

    Avinash

    See Eloqua REST API - create and manage Emails and REST API - Documentation for kernel objects for more information on access to emails via the REST API.

  • Saving personalized data is selected in the dynamic content rule?

    Hello

    I have a Data Object (CDO) custom that stores records that are inserted regularly and all records are mapped to the same contact.

    Dynamic content is using the rule "A Record in Custom object related" where we compare a field value in the ORDER above.

    When an email is sent, dynamic content rules should apply to the last record inserted into the data object custom.

    But the rule is get applied to the first record that was inserted in the CDO.

    How can ensure me that the rule applies to the last record CDO?

    Any other information related to it would be a great help.

    Thanks and greetings

    APOORVA

    901529 could you explain it more? Using e-mail as a unique identifier on your CDO? If you are and it is possible to have a data card of all attached to a contact, then it will work very well... How the CDO is put in place for us to have several CDO attached to a contact.  I would like to learn more on this subject, if you have indeed several CDO attached to a contact record.

    Eytan Abrahams

  • Cannot make a post about the dynamic size

    Hey everybody,

    I am not able to make a post in the forum about a problem which concerns dynamicsize in graphics.

    I'm not even sure that I will be able to make this post.

    Can someone help me with this issue?

    I can stick the issue here if necessary.

    The error that is presented is: "because of Spam, this content is blocked.

    Kind regards

    Frederico.

    FredericoSB wrote:

    The error that is presented is: "because of Spam, this content is blocked.

    What you are trying to view includes the words that are on the list of the words used by spammers.

    "For example, if your test includes some specific city names, disinfect then to become 'Ville1' city2 ' etc.

    Spammers have historically used what some might think otherwise as harmless words (S H O E or H A N D B A G M U M B A I), but they used them with such frequency that the administrators of the site have added these words to the prohibited list.

    As you can appreciate, this list is private.

    (Why make it public for spammers to see?)

    Even the community moderators don't know what is on the list of words.

    You will understand by trial and error in a manual way.

  • Dynamic content for content presenter portlet

    Is it possible to load dynamic content in the submit content portlet, and keep his assistant, for example the content portlet features presenter will change content according to the query passed to the application

    http://www.myWeb.com/MyApp/MyPortal/MyDesktop-> presenter content shows a default and preconfigured repository content

    http://www.myWeb.com/MyApp/MyPortal/MyDesktop?content=/someContentInRepository-> content presenter shows the node in the repository that corresponds with that of the query

    any idea on what files should I change or if I have to write my own content Presenter :(

    Thank you

    Published by: Oscar & lt; Soker & gt; on September 4, 2008 09:41

    You can use javax.portlet.PortletPreferences to change the prefrence. See doc of java for more information. You must find the key in the portlet. This can be done if you open the portlet in the workshop. Then, the time of execution, you can set the value of this key

    Published by: NowWLP102 on September 8, 2008 10:28

  • Presentation of the dynamic grid for version 4.7

    Hi all

    How can I create a dynamic grid presentation that is supported by version 4.7? I need to load images dynamically and they want to see as soon as they are done loading.

    Im trying to use a VerticalFieldManager and several HorizontalFieldManagers but I get a

    java.lang.IllegalStateException: field added to a Manager, while it is already apparent

    exception: when trying to add pictures to HorizontalFieldManager who is all ready displayed.

    Can someone please.

    D iscutez several times here.

    Refresh a screen with fields update

    Look at these links.

    http://supportforums.BlackBerry.com/T5/Java-development/how-to-refresh-current-screen/m-p/206670#M29...

    http://supportforums.BlackBerry.com/T5/Java-development/how-to-refresh-a-screen-with-updated-fields/...

    http://supportforums.BlackBerry.com/T5/Java-development/how-to-refresh-the-current-screen/m-p/328505...

    http://supportforums.BlackBerry.com/T5/Java-development/refreshing-repaint-screen-or-FieldManager/m-...

    And the presentation of the grid is for OS 5.0

    4.7, you need to do with the Manager.

    http://www.BlackBerry.com/developers/docs/4.7.0api/NET/rim/device/API/UI/Manager.html

    Hope this helps.

    ------------------------------------------------------------------------------------
    Kudo press to say thank you to the developer.
    Also, press accept it as a button when you got the Solution.

  • How can I fix an error that is 64 ordinal could not located in the dynamic link for f1 library xlive.dll 2011 pc game

    I want to ask that how can I correct the ordinal 64 error could not be located in the xlive.dll links Library dynamic for the performance of a pc game f1 2011 - as I'm runing win 7 64 bit

    Hello
    1. When you receive this error message?
    2. is the specific issue of the F1 2011 game?
    3. have you made changes on the computer before this problem?
    4. How do you try to play the game? Using Xbox or Windows 7 computer?

    If the F1 2011 game-specific problem then contact manufacturer:
    http://www.Formula1-game.com/UK/
     
    If you try to play the game F1 2011 with Xbox. Contact the Xbox team for assistance.
    http://support.Xbox.com/en-us/

    Hope the above information is helpful.
  • What is the best way to access the redirect link Eloqua once he entered the dynamic content?

    I appriciate if someone can show how. This is not about the withdrawal and the re-inersting, just change it.

    Thank you

    Amit Pandya

    Thanks Peter,.

    Finally, I have found. Looked at the link id in a dynamic content, searched by linked id, then was able to change the two follow-up and redirect URL by using Setup-> links to redirect.

    Thank you

    Amit Pandya

  • Why should I reinstall the CD content for first 10 items?

    Hello

    I installed the software Adobe first 10 Elements and Photoshop Elements 10 a WIN7 (x 64) GERMAN

    The content CD is installed, too.

    After some correct initialization of software (start up), we will say I used it 5 times with success, the next launch of first Elements 10 shows

    complain in a popup window:

    "An incomplete set of materials (instant film, title - and menutemplates for example.). has been installed. To install all of the complete content, insert

    your DVD content or download content from the internet.

    You want to install the content now? »

    My only solution is to uninstall the DVD content completely and reinstall!

    That's mean! It will take only 15 minutes to do and certainly isn't a correct behavior!

    I'm running the latest version and checked updates!

    If someone could help me correct this serious fault, I would really appreciate...

    Thank you, Klaus

    Same thing happened for me using Windows 7 64 bit. Given that the content has been installed in Program files (x 86), I moved the content to the folder in Program Files/Adobe first Elements 10. She merged the elements contained in the existing folders. Then I turned off the error message telling me that I had no content. Seems to work fine and I have now everything from loading when I start the program.

Maybe you are looking for

  • Unlocked IPhone, SIM card is not valid problem

    Hello I went to study in the United States for a few months and I bought the iPhone 6s 'apple Store' to the United States. After that I came back to Thailand, I can't use my card SIM Thai (AIS network). It appeared that the sim card is not valid. I h

  • compatibility Windows 10

    Hi all: I have my Windows 10 Upgrade resereved. And I ran the compatibility check that was included in, and it is said {NO} problems found lucky me, I just hope that it stays that way. That being said. Does anyone have an idea if my OEM applications

  • HP G71 Notebook PC: problem changing BIOS

    Hello I just posted a question about having 4 GB of memory and the computer showing only 1 GB of physical memory. I saw through a post that someone recommended to go into the bios Setup and check a box and type 4096. The computer then rebooted and I

  • Safari does not open websites

    Safari opens Google, Facebook & Wiki... But not open many sites... Like all those who come in the google search results... Error:-"Safari can't connect to the server.

  • DROID: Closing the browser

    Since the browser seems to be a big battery Eater it is logical to close as soon as you have finished using it but I do not see the usual x on the upper right corner and no way obvious to close. Help.