Conditional break

Hi,
We use Adobe LiveCycle Designer ES2 9.0.1.0....
We have a form which can create one letter per PDF. Now we want several letters per PDF, all with the same address but with different items.
Problem
What we already tried is to have a conditional brake. With this items are written on master page 3. But master page 3 should only show up with no items on it, then an address again and only afterwards the next items should appear.
Our PDF should look like this:
letter 1----
     Address
     Item1
     Item2
     Additional Page (master page 3)
letter 2----
     Address (same Address as above)
     Item3
     Item4
     Additional Page
letter 3----
     ..and so on
Our data file xml contains the information for only one address and has the structure
     Address
     Items
          -Item 1
          -Item 2
          -Item n
Our Form has the structure
     Master page 1: Start of a  letter.
          Body section shall contain Address and Items
     Master page 2: Overflow
          Body section shall contain  Items
     Master page 3: Additional Page at the end of (nearly) every letter.
          Body section shall contain  Nothing.
Thanks and Regards
Tobias

The Problem is solved now:
     1. The address has to be moved from the content area of the master page 1 to the master page 1 itself.
     2. Two conditional breaks were added to the table which displays the items.
     a. The first one has
     -"To" = "Top of Master page 3" and
     -"leader" = "(None) and 
     -"when" =  the grouping condition for the items.
     b. The second has
     -"To" = "Top of Master page 1"
     To avoid that items are printed onto the Master page 3, the height of the content was set to 1 mm. So this page only shows up but the next items immediately flow over to master page 1.
     Regards
     Tobias

Similar Messages

  • Issue with conditional breaks

    Hi Experts,
    I am working on conditoinal breaks in adobe.
    My requirement is: For a delivery item if i have 3 batched i have to print 3 forms with item data. Here the data of one batch can flow into multiple pages I had applied a conditional break on batch field at the item level of the table(designed with dragging the table into the layout.). this form contains Batch at header and footer. When the data fits in one page conditional breaks are working fine and i am getting 3 forms in the same spool as desired. But when there is more item data conditional breaks are not working properly.
    Issue like item data over flow on the footer and batches are not showing up properly according to the page breaks.
    Please help on this issue.
    Thanks,
    Anil

    Guys, Tell me if my question was not clear or need further information.

  • Conditional Breaks on subnodes/item level

    Hello experts,
    We have a requirement for a new Adobe Form, which has a header table and an item table. We have to print multiple documents in 1 printout.
    Our Adobe Form context layout is as follows:
    - Context node for the Header (1 record for each document)
         - Subnode with the item information ( WHERE conditions are set to the specific document key, so we only have the relevant items of the document in the loop )
    We have added a Pagination -> Conditional Break based on the header table key, to trigger a new page break for each document.
    But we have a 2nd requirement where we need to trigger a 2nd conditional break based on an item partner difference.
    This means we would have to add a conditional break, on the subnode which contains all the item information.
    In Adobe Forms, according to our finds, it does not seem possible to trigger a condition break in a subnode/item table, is this correct?
    Is it nescecary to bring all the conditional break fields to the header table?
    The requirement wants this layout:
    - Document 1
         - ITEM PARTNER A
              - Item 1 partner A
              - Item 2 partner A
         ( TRIGGER ANOTHER BREAK for new Item Partner display ) <- The issue
         - ITEM PARTNER B
              - Item 3 partner B
    ( PAGE BREAK TRIGGERED ) <- OK
    - Document 2
    We were wondering what the most proper/clean/best practice way is, to achieve this requirement.
    ( without having to duplicate records on the header table, by means of moving the required field from the item table to the header table )
    Thx
    Kind regards,
    Wouter

    Hi Wouter,
    Thanks for your response yes its not possible to achive this in nested table. I achieved my output using below logic by duplicating records and using Java script..
    http://scn.sap.com/thread/3702677
    Regards,
    Manu

  • Using conditional breaks

    Hello all,
    I am currently working on a form that has a fixed layout, meaning everything is placed in a Positioned subform. I have to do this because at the bottom of the page there is a table that lists approvers of the form. The aprovers need to provide a digital signature (meaning the table cannot be a part of the master page) and I do not want the approvals table to repeat on subsequent pages.
    Now for the problem.
    Above my approvals table I have a table with a repeatable row so that users can add and remove rows as necessary. This table is in a flowed subform and works perfectly, and I have set a max # of row instances to prevent the two tables from overlapping. However, I need to be able to set the text fields in this table to expand to fit, so that when users have a lot of text to enter they can do so. This causes the tables to overlap if the user enters too much text in too many rows.
    I am looking to either create a conditional break or a script of some sort that can evaluate the height of my expanding table and create a page break when it reaches a certain height in order to prevent overlap with the approvals table below it.
    I apologize for the difficulty of the question and I appreciate any help that I can get.
    -Alex

    Check the following thread for looping over a table --> Read Table Java script
    Then as specified in the thread in the "for" loop of Table write an "if" condition for the 1st column to check whether it is "A" or "B".
    if ( xfa.resolveNode("data.tablesubform.table1.row["+i+"].column1").rawValue == "A" )
          HeaderField.rawValue = "ANGRY";
    else if ( xfa.resolveNode("data.tablesubform.table1.row["+i+"].column1").rawValue == "B" )
        HeaderField.rawValue = "BETTER";
    I have not checked this but see if it helps.
    Chintan

  • Conditional breaks in nested table

    Hi Experts,
    I have static table and inside it there a row with flowed subform and other binded table , in the inner table I want to set
    conditional break on one field , I have it to put it in the row that contain a table ?? how can I access the field of
    inner table from the row of the outer table???
    thanks in advance

    Hi,
    You can access the field of the inner table from row of the outer table using following script:
    data.page1.TableOuter.Row1.TableInner.Row1.cell1.rawValue;
    Thanks,
    Radhika

  • Adobe Forms - Page Break via a Conditional Break

    Having read through the forum I am getting the impression that Page Breaks is a bit of a problem.
    I can enforce a page break between datasets by setting "After:" to "Goto Next Page", on the Object->Pagination tab, however this results in a blank page at the end of the entire output which is just the Master Page with all the static elements.
    The 'Conditional Breaks' sounds like the logical point to force a page break based on a combination of inequality or if a particular data element equals a known value.
    However, I don't seem to be able to get the 'Conditional Break' to work.
    So, the question I would like to ask, is how can you tell if the conditional break logic is correct and whether or not it is running? For example on an ABAP system is it possible to run it and debug it?
    My attempts at getting the break to open a pop up or write to disk via JavaScript fails, which is leading me to think they  are being ignored by the Adobe Form at both the server and client level.
    Is it possible that I have missed another setting somewhere else in the Adobe form configuration?

    Hello Jason!
    You are right that conditions (and all scripting) are bit tricky in this solution. Still they work.
    Debugging of AIF at ABAP side is not possible due to the architecture of the solution - from the ABAP POV it is just a web-service call and receiving result (PDF) back. You can't stop it on midpoint or intercept it somehow.
    At the same time there are other ways to check it.
    First, you can enable trace and saving additional info in SFP transaction under Utilities -> Settings.
    Details see [here|http://help.sap.com/saphelp_nw70/helpdata/EN/f7/a04aee0cb94978a011401311efe603/frameset.htm]
    And the nice way to check if your condition block is taken into the account is simple check like 1 = 2.
    If this works and you receive page break than all you need is find errors in your condition syntax, otherwise the problem is somewhere else.
    Regards,
    Petr Perstnev

  • Adobe form conditional breaks with subtotal

    Hi,
    I need to develop a form with a dynamic table that calculate a subtotal by company
    Eg:
    Reference Cash disc. Withh.tax Net loc. curr. CoCd
    0 0 10 Z001
    TESTE 1 0 0 20 Z001
    TESTE 1 0 0 20 Z001
    Subtotal      40
    CNRWaeoitftsCh ehldhor e.cdtn.ai sccxce u.rr.
    TESTE 3 0 0 30 Z002
    TESTE 3 0 0 30 Z002
    TESTE 3 0 0 30 Z002
                        90
    I can set the conditional break by company but i can calculate the subtotal.
    Thank you in advance.
    Miguel
    Edited by: miglsilva on Dec 20, 2010 1:52 PM

    Hi Sai,
    Thank you very much for the reply,
    I have to implement something like a dynamic table:
    Imagine
    I have one table with the  purchase items of all the companies, like that:
    XBLNR NETTO     Company Code
    TESTE   20            Z001
    TESTE   20            Z001
    TESTE   30            Z002
    TESTE   30            Z002
    TESTE   30            Z002
    TESTE   60            Z003
    TESTE   30            Z003
    So i have to display that by company, and when finish the las item i have to add a line with the subtotal like that:
    XBLNR NETTO     Company Code
    TESTE   20            Z001
    TESTE   20            Z001
    Subtotal 40
    TESTE   30            Z002
    TESTE   30            Z002
    TESTE   30            Z002
    Subtotal 90
    TESTE   60            Z003
    TESTE   30            Z003
    subtotal 90
    I had already the conditional break for break when the data[-1].bukrs ne data.bukrs but when i put the script for calculate the value the result it is all the items.
    Thank you in advance.
    Miguel

  • Subtotal in trailer on conditional break (PDF Form)

    A row put by conditional breaks as trailer ( with condition "Items[-1].VPROC ne Items.VPROC" for example).
    How to calculate subtotal on some field in this row?
    Any example?

    Hello,
    the recommended solution is to do this in backend (add a row into the table of rows, add a column which will be hidden in the form, where there will be something like 'X' if the form is a subtotal, based on the 'X' mark you can change the row color for example). Or you can do that in the form using scripting but that is not very friendly.
    Regards Otto
    p.s.: note there is Adobe forms forum under NetWeaver

  • Remind conditional break data in header

    Hi,
    In my form, i'm displaying simple informations on my customers (1 line per customer). My data are stored in a table (each line corresponding to a customer). I group my customers by "domain", so i've made a conditional break on this data (line[-1].DOMAIN ne line.DOMAIN).
    All is working correctly, but i need to remind this 'domain' on each page, in the header section, and i don't know how to do this. I have tried with script, but it doesn't work.
    Thanks for your help.
    Exemple :
    Page 1 Domain : ???
    Name1 / Adress1 / Domain1
    Name2 / Adress2 / Domain1
    Name3 / Adress3 / Domain1
    Name4 / Adress4 / Domain1
    Name5 / Adress5 / Domain1
    -------------------------- conditional break
    Page 2 Domain : ???
    Name6 / Adress1 / Domain2
    Name7 / Adress2 / Domain2

    CRM does have extractors which bring header and item data separetely.
    For Eg: 0CRM_LEAD_H
    0CRM_LEAD_I
    0CRM_OPPT_H
    0CRM_OPPT_I
    If at all there is any Data Source related to an area in CRM which brings both the data together, then ofcourse the DSO and Cube will be designed to Support that.
    Cheers,
    Neel.

  • How can I create  a conditional  break  in webi  ?

    Hello Mister and Misses
    Can somebody explain me how i can  create a conditional break , because i want to limit the number of lines to 9 l ines in a bloc
    each 9 lines  I want to create a break
    Thank you
    example  :
    1   toto
    2   titi
    3   taa
    4   tutu
    5   papa
    6   popo
    7   tata
    8   momo
    9   mimi
    (break)
    10  mumu
    17  maxe
    18 fax
    (break)
    19..
    My first column is not a dimension  so, i can't manage to make a break
    How is it possible to tranform a measure to a dimension in order to make a break  on each  9 lines
    thank you

    Tien,
    Try myFile.WriteText('\x0c'); instead of myFile.WriteText('\f');
    Regards
    Richard Stobart
    -----Original Message-----
    From: Wang, Tien [SMTP:[email protected]]
    Sent: Friday, September 12, 1997 6:09 PM
    To: Glen A. Whitbeck
    Cc: forte-users; owner-forte-users
    Subject: RE: How can I create a page break in a file?
    Thank you, Glen. I tried WriteText. But it didn't work.
    Tien Wang
    Indus Consultancy Services
    [email protected]
    From: Glen A. Whitbeck
    Sent: Thursday, September 11, 1997 11:59 AM
    To: Wang, Tien
    Cc: forte-users; owner-forte-users
    Subject: Re: How can I create a page break in a file?
    Instead of using "WriteLine," try using "WriteText" ("WriteLine" writes
    TextData into an open file, while "WriteText" writes data to a stream)
    like this:
    <method 1>
    myFile : file = new();
    myFile.WriteText('\f');
    Glen
    Wang, Tien wrote:
    Hi,
    I am creating a text file for a report which contains multiple pages.
    How can I create a page break in my file? I tried to use the
    following
    two methods, but neither of them works. Specifically, it seems a
    special
    character printed in the file. But when I print the file through a
    WordPad, it didn't separate pages.
    I am currently using version 3.0.C on Windows NT 4.0 with a HP Plus 4
    printer. Any help will be greatly appreciated.
    Tien Wang
    Indus Consultancy Services
    [email protected]
    >
    <method 1>
    myFile : file = new();
    file.writeLine('\f'); --- \f is the form feed in the C language
    <method 2>
    myFile : file = new();
    j : IntegerData = new( value = 14 );
    c : char = j.IntegerValue; -- c now contains ascii 14 (form feed)
    p : pointer to char = &c; -- Set a pointer to the character
    pageBreakTxt : TextData = new();
    pageBreakTxt.Concat(p);
    myfile.writeLine(pageBreakTxt);

  • How does conditional break  work in adobe forms?

    Hi,
    I want to break a page depending on internal table contents.
    How do we do it?
    Basically for every new order number  i need a pagebreak.
    Rgds
    Vara

    duplicate..

  • Conditional Break in subform javascript

    I would like to have the blue button at the bottom of my form (which adds a new instance of a subform) have all repeated instances of the subform AFTER the first page, start at the top of a new page.  I can’t seem to get the JavaScript correct, but I am not even sure I have the right syntax for the subform reference.  Attached is my form without any of my botched attempts.  If anyone could take a look and help, I’d really appreciate it. 
    TIA
    Shared Files - Acrobat.com

    In case this helps someone else, what I did was add an empty 0" height subform, with Pagination placement of “Top of Next Page”, set the visibility of it to hidden and added an action on my button that changed that empty subform to visible when clicked.  This accomplishes the goal of adding this new subform instance to the top of the next page without messing up the subform within this subform placment otherwise.

  • Conditional page break with multiple conditions

    Hi,
    have not found anything in the forum, so i hope its not a repost.
    I print a table and need a pagebreak before every new record.
    That sounds easy, so I used:
    Report.KeyfigureDetails.Container.KFUID ne Report.KeyfigureDetails.Container[-1].KFUID
    Its works well BUT it does not inserts a page break BEFORE the very first record even if I say its "before" and "top of next page".
    So I used:
    (Report.KeyfigureDetails.Container.KFUID ne Report.KeyfigureDetails.Container[-1].KFUID) or
    (exists(Report.KeyfigureDetails.Container[-1].KFUID) = 0)
    Result: No pagebreak at all. There must be a error inside my statement.
    I used two conditions. one with
    Report.KeyfigureDetails.Container.KFUID ne Report.KeyfigureDetails.Container[-1].KFUID
    and one with
    exists(Report.KeyfigureDetails.Container[-1].KFUID) = 0
    But again no pagebreak BEFORE the very first line.
    What am I doing wrong? I just want to have a break before every record, even the first one.
    I am using formcalc. If a conditional pagebreak in java does not need the form to be interactive/dynamic such a solution would be appreciated as well. I just want the form to be 100% static to avoid additional licenses.
    Thanks!

    Oh sorry! But you are totally right.
    The problem was, that FormCalc did not inserted the correct structure of the object.
    The structure was like: subform1.subform2.subform3.object.
    FormCalc just inserted: subform1.object
    Writing the code manually made the system at least to perform the page break after the first record.
    The page break before the first record could somehow not be solved by me with:
    exists(Report.KeyfigureDetails.Container[-1].KFUID) = "0"
    I then remembered Otto Gold's recommendation to use Java as it is more powerful. And in deed Otto gave me the solution by his comment.
    As a final solution i use two different conditional breaks.
    The fist to perform the break before the first record:
    this.resolveNode("Container[-1].KFUID") == null
    The second to perform the page break after each new "KFUID":
    if (this.resolveNode("Container[-1].KFUID") != null) { this.resolveNode("Container[-1].KFUID").rawValue != Container.KFUID.rawValue }
    Maybe a smart Java guy like Otto Gold can put those two conditions into one
    I was not, but these two solved my problem.
    I dont say that FormCalc is not able to solve the problem as well. But I have very limited knowledge about the Adobe forms and at the moment I have no time to dig deeper into this.

  • Dynamic tables and conditional page break

    I have inserted a table in my form and have included an Add New Row button to insert additonal rows.   I want a maximum of 16 rows added with a subtotal field.  I want the table, then to automatically go to a new page with a subtotal field.  At the end of all pages I want to include a total field.   The table goes to the next page after a number of rows are entered, but there is not a break;  the original form continues.  How do conditionally break the page and have a (new) table display in the second page?
    Thanks for your help.

    Hi Paul,
    Thanks for working with me on this.   I have sent a copy to the gmail.com address.  I'm new to LiveCycle, so please forgive me.
    Date: Thu, 29 Jul 2010 09:18:53 -0600
    From: [email protected]
    To: [email protected]
    Subject: dynamic tables and conditional page break
    You can accomplish that with a single table and some creative script. I suggest that you get the table worked out and working correctly then we can add in the page totals and final total afterwards. Once the table is ready email the form to mailto:[email protected] and I will put together a sample for you that shows what to do. Please include a description of what you want to do with the email as the mail message and this forum are not tied together. Also if you have a data file  that fills out the table that would be useful as well.
    Paul
    >

  • Help needed to introduce a page break

    Hi ,
    I have a repeated subform with xml data_instance like this(data.xml) :
              State A
                        Premium Period A
                                  80170
                                  80180
                                  80170
                        Premium Period B
                                  80170
                                  80180
              State B
                        Premium Period A1
                                  80170
                                  80180
                                  80170
                        Premium Period B1
                                  80170
                                  80180
                                  80170
    I have created the subforms structure also and working fine.
    I want whenever the state changes i want to go to the next page .
    I have tried setting all the options like Place and After but the designer geenrates the blank pages either at the top or at the last .
    a. How do i get rid of the extra blank page
        OR
    How do i acheive the page break whenever state changes.
    Please help me asap as i have wasted lot of time int his.
    Many Thanks
    Mohit Gupta

    I believe the new Conditional Break feature in Designer 7.1 can help you solve this problem. It'll let you specify an expression which compares the previous value of the section_name field with the value of the current instance of section_name and, if they're different, insert a page break to the top of the next page.
    Assuming the basic structure inferred by the Data View palette when you drag & drop the options node onto the form, make the page subform Flowed (using the Content property Object palette's Subform tab), make the options subform repeatable (using the Object palette's Binding tab) and then go to the Object palette's Pagination tab on the options subform. There, you'll see a middle section labeled
    Conditional Breaks with an Edit button that'll be enabled. Click on that to set an expression like this (in FormCalc):
    options[-1].section_name ne options.section_name
    where the Break property is set to
    Before and the To property is set to
    Top of Next Page.
    The result will be a form which lists each section on its own page without have a superfluous blank page.
    I've attached a sample form based on your sample data which breaks whenever the state changes.
    Stefan
    Adobe Systems

Maybe you are looking for

  • The "Recently Bookmarked" item in the Bookmarks pull down has disappeared. How do I get it back?

    The "recently Bookmarked" item disappeared from the Bookmarks pull down menu.

  • Itunes freezes when i connect my touch

    I just got my touch and when I try to sync It does a few songs but then I get the pinwheel and i have to force quit itunes Help!

  • Hooking up external dvd player

    I am trying to use an external dvd player ( memorex ) I have tried playing two dvd windows based games ( quake 2 and rage from 1998 ) my laptop only shows it as a music cd. IS there settings i can change to be able to play games?

  • ACE Total Connections Failed stats

    I have been monitoring connection stats on an ACE Module context (show stats connection). During recent load testing I observer that about 1/3 of all connections were failing and some timing out. How can I find out more details about the connections

  • Itunes 9 Syncing problem

    Hi i am getting this message... 'iTunes cannot sync information with the iPhone 3Gs because syncing has been disabled on this computer. Do you want to enable syncing? Click on Yes..... Error Message- iTunes was unable to load provider data from Sync