PDF Template - Is Looping Possible

Hi,
I am trying to create a PDF template - i am using the eBusiness suite release 12, RUP4. I have created many RTF templates before that use loops, however the loops do not seem to work in a PDF template. Does anyone know whether looping in PDF templates is supported in BI Publisher? if so, can you please provide me with the syntax needed?
Many thanks
Rupesh

Hi,
have a look here: http://www.oracle.com/technology/products/xml-publisher/demoshelf/viewlets/PDFTemplates-RepeatingFields.html
Regards
Rainer

Similar Messages

  • Populate PDF template with data from another form

    Hi all, it's been a while since I've been here. I'm not a LC pro by any stretch, but I've been working on a personal project which I hope will someday result in a small business. The idea is simple: a client fills out a custom form in Acrobat Reader which I've created in LC Designer. Upon completion, they email the pdf (or XDF, or XML, or E4X or whatever might be possible, I'm not even sure!) back to my website.
    On my end... and this is hopefully automated... the data would be injected into a template PDF the client needs. This would then be sent back via email for them to print.
    It's been over a year since I worked on this. Both the front end forms and the pdf templates are built, but the interaction between receiving the client data and populating the template form never got worked out.
    Could anyone provide me with a clue as to what this workflow might look like?
    Just to be clear, this application would be waaay too small to even think about going the Enterprise route. I'm "thinking" the automation part of it would be handled by some custom PHP coding, but that's another story.
    Thanks!
    Graham Calhoun

    Thanks PMG.
    Yes, I am wedded to the idea that I will only use Adobe PDF. The server component is a whole other story though. I understand the value of it, but as a small business, the idea of coughing up 60k is pretty much out of the question. Especially given that this form is a one of a kind, simple, time saver for my prospective clients.
    From what I understand about LC, Acrobat and Reader, there are severe limitations imposed on saving form information in Reader. My clients need to be able to do that, as the form is quite extensive and needs to be revisited to be sure information is correct.
    While any one user will probably not exceed the 500 submissions issue, hopefully there will be more than 500 users submitting 1 time!
    We'll see if I can work around this issue.

  • Adobe Acrobat as a server to create PDF using PDF templates and field values

    I'm writing a web page to create a PDF using fields that we ask for them in the screen.
    My idea is:
    1. Ask for field values (text values and a photo) in my web
    2. Run Adobe Acrobat to load a PDF template (PDF form) and mix with the field values
    3. Create a final PDF mixing values and template
    4. Show to document to the user in his client web browser. I guess the only way to do that is to create the PDF on a server with Adobe Acrobat Pro and send to the user browser a JPEG that will represent the  PDF: If I do this operation in the PDF visor at the client browser, the problem is that it will will be mandatory to install Adobe Acrobat in each cliente because only this visor can manage javascript.
    Can you tell me if this idea is correct? It is possible to use Adobe Acrobat on a Server to create PDF when some proccess needs?

    and what other Adobe product o procedure can we use to do that?
    I only need to create a PDF mixing PDF Templete, field values and javascript.
    Thanks for your help.

  • How to take parts of a web page and feed into a PDF template to create a PDF

    Interesting quesiton that I think was what LiveCycle was for: How can someone take parts of a web page or xml document (say by id name or a specialized tag) and feed the chosen items into different regions inside a PDF template?
    Basically, can you identify areas on a page and then tie them to place holders in a pdf template (with high res graphics say) and create a PDF?
    Please note: this is not about converting a whole webpage to a pdf, but select portions of it.
    Anyone have experiences in doing this? So far, it appears to require a toolset like LiveCycle or Adlib to utilize only selected items and not the whole page.

    The lack of answers is likely due to folks having no clue. What you have asked is not really the purpose of either Acrobat or LiveCycle, but that is not to say it can not be done. A starting point is to bring a WEB page into Acrobat as a PDF. This can be done by printing from the browser to the Adobe PDF printer, using PDF Maker with IE or FIrefox, or simply creating directly in Acrobat. Those are the normal ways to get things from a web page to a PDF.
    That said, it is not what you asked. You are asking about being able to parse parts of the web page. That is a lot more work and may not be directly possible, though with JavaScript it might be possible. I suspect that if it is possible you would require a lot of extra programming to allow the material selection. It may be the folks in the SDK sub-forum can help.
    Being I have no clue how to implement what you have asked (and probably no one else either), I can only suggest some things to look at or other places to inquire. If you think the XML of LiveCycle would help, then you might try the LiveCycle forum.
    In terms of your post, I really don't remember seeing the original, but that was right near the end of the semester and I was not checking the forum very much. There are various reasons folks may not reply, typically because they have no clue. Templates are also somewhat specialized and there are not many posts about them. My guess is that the template aspect may have had a lot of folks skip the post. In any case, I have tried to give you some thoughts.

  • Generation of report in landscape mode using PDF template

    Hi,
    I am creating a report using pdf template, I have used the repeating group i.e I have used the code <?rep_field="BODY_START"?> and <?rep_field="BODY_END"?> as the repeating area and with the field which needs to be repeated i have used the code <?rep_field="T1_G1"?> in order to display data in the loop.
    But finally when the report is displayed, the report acts strange ...sometimes it fails to open says that an internal file read error occured , whereas if I remove the <?rep_field="T1_G1"?> code it works fine , other times if at all it displays the report, the values in the repeating field operlap each other and they are vertically oriented wheras for landscape mode it should be vertical, I tried setting the properties and locking the fileds but all in vain.
    Kindly help ASAP!!
    Thankz
    -Gaurav

    I have had the same problem for a year. I never got my TAR answered so I tried again. I am waiting...again. Portrait works fine for me. I am using it to generate po's with custom headers. The only part that does not work for me is the total appears on every page, not just the last one. If I get an answer, I will let you know...

  • Creating multiple page files from PDF templates

    I have a PDF file that is 3 pages. When I create the 3 page template form through Acrobat 8 Forms,  and then it is placed in Lifecycle designer, I can save it. All of the fields that I create remain in the file. But, I cannot add another page (PDF template)  to this Lifecycle file. I have to go back to the original PDF file, add the page, and then import back into Lifecyle, and add back all of the fields. Can I just save a text file with the correct XML code, and then paste it back in after I add another page. I tried it, but didn't have much success.

    Yes it is possible,
    All you need to do is create 3 destinations each of type Flat file.
    For your data target link to the and Open Destinations1, link by creating a transformation. and while create DTP use filter A.
    Again for your data target link to the another Open Destination2, link by creating a transformation and while creating DTP use Filter B.
    similarly for Open Destination3,  use Filter C.
    Regards,Vj

  • PDF Template (repeating regions) correct version of Adobe Acrobat

    Hi,
    I want to build a PDF template for a Payslip I am knocking up at the moment and have come to the conclusion this may be easier as a PDF template rather than an RTF template.
    The reason being I have multiple repeating regions in the payslip (earnings, deductions, salary history, payments) all of which could overflow onto another sheet of stationary when the job is run. If you think RTF is a better solution please post and let me know how I should achieve this. Or indeed if you think PDF is wrong also please let me know.
    So I want to build a PDF template to utilise its overflow handling but what version of Adobe acrobat do I then need? 9 is the current release and there is a "Standard", "Pro" and "Pro-Extended" version of the software each with escalating costs associated. I see in Tim's blog the PDF has to be in the 1.4 specification which all the versions since 5 seem to support.
    If you need anymore info in order to please let me know.
    Cheers
    Doug

    Agreed RTF is a lot simpler to create and maintain.
    I cannot seem to get my RTF template to behave with overflowing properties my basic design is Below (excuse the odd way of displaying it but I'm sure you get the idea). So any 1 of 4 repeating groups could go over their limits (I have currently hardcoded the loop limit in the group). I need the basic Emp info the Address info and the random info on each sheet.
    I've been around the forum and all over the net (Anil Passi's site, XML/BI Publisher Blog etc.) looking at the solutions people have used for invoices and PO's but I cannot seem to use them in my case.
    Any help you or anyone else could give on the subject would be gratefully received.
    ************************* Basic Emp info *************************
    ****Earnings Repeating Group***** ****Deductions Repeating Group*******
    ************************* Total Info *************************
    *****Payments Repeating Group**** *****Salary Repeating Group *****
    More random info ..
    More random info ..
    More random info ..
    More random info ..
    ********************Address and Postal Info***********************
    Cheers
    Doug

  • Creating an InDesign document from a PDF template

    I am creating an InDesign doc from a PDF template. How exactly do I go about getting the pdf template into InDesign? I don't know if I chose
    the correct option, but I created my doc in InDesign and then placed the pdf template into the doc? Is this correct? If not, any advice would be very helpful!
    Thanks.

    Actually, I'm not quite sure, from your description, what you're trying to do. If someone gave me an English PDF and told me to recreate it it into an InDesign document, I'd start by doing exactly what you did - I'd place it in InDesign. So, now the PDF is in InDesign, as an image that you can't edit. This is really helpful if you have to recreate a PDF perfectly in InDesign - you can know exactly where everything is, and place each new bit exactly where it is in the PDF.
    If someone is expecting you to add stuff to that PDF template, you can place it on top of the PDF in InDesign.
    If someone is expecting you to manipulate, change, revise, or otherwise actually touch the objects in the PDF template, they don't know what they're doing - PDF is a storage format, and it's not really easy (or even reliably possible) to edit things in PDFs.
    Does that make any sense? Please ask some more questions if this isn't clear.

  • Spawn page, PDF template in Adobe X

    Hi all, I am working on a PDF form where the user needs to be able to add more pages if they still have info to enter.  After researching this a bit, it seems the best way to go is to define the page as a PDF template, then copy that template to a new page when the user presses a button (using javascript). I am not a programmer at all, but I found this forum post: http://acrobatusers.com/forum/javascript/duplicate-current-page-5-times
    That gave me some code to work with, but the code doesn't work for me, even with the corrections and taking out the comments.  Any advice on how I can do this?? Thanks to anyone who responds.  Here is the code I am currently working with:
    function CopyPage(nPageNum, nTimes) {
       // create template from pagevar
       t = this.createTemplate({cName:"myTemplate", nPage: nPageNum });
       // hide
       templatet.hidden = true;
       // spawn nTimes pages from templatevar
       t = this.templates;
    var T = t[0];
       // get first templage
       for (var i =0; i < nTimes; i++)  {
          T.spawn({nPage: this.numPages, bRename: false, bOverlay: false });
       // remove the template
       this.removeTemplate({cName: 'myTemplate'});
       return;
    } // end CopyPage function 
    // code to call CopyPage functionCopyPage(5, 1);

    You cannot use the createTemplate method in a script that's attached to a button. You would have to create a folder level script, or better yet, make the page a template at design time so you don't need to do so at run time. If you know in advance that you want to possible create a new page, this is what you should do.
    Also, when spawning a new page with fields, you should set the bRename parameter to true. Otherwise, the values of the fields on the different pages will be the same, which is probably not what you want.
    Let's say that you made the page on which your button is a template, and gave it the name "myTemplate". A Mouse Up script that would add a single duplicate page after it would be:
    // Get a template object from an existing template
    var t = getTemplate("myTemplate");
    // Spawn the template on the page following this one, and rename the fields
    t.spawn({nPage: pageNum + 1, bRename: true, bOverlay: false});

  • Defining Multiple Groups in PDF template

    Hi,
    I am having trouble defining multiple groups in my pdf template. I would like to set up multiple groups for printing po data such as (G_LINES, G_SHIPMENTS, etc.) How is this done in Acrobat? I am using 7.0 Professional. I have created BODY START and BODY END text fields and inserted the <?rep_field="BODY_START"?> and <?rep_field="BODY_END"?> syntax into the Tooltip area as instructed in the user's guide. I have entered the <?rep_field="T1_G1"?> syntax for each element in my lines group. This works fine. But, how do I set up the group for the shipment information?
    Thanks!

    Put all the fields inside the innermost for-each loop.
    You can be better helped with such questions in the specialized BI Publisher forum:
    BI Publisher

  • Definition of PDF template position

    I have a PDF form, where templates can be deleted and added via buttons. The PDF form consists of 2 categories, template category 2 and template category 3. How can it be done that template category 2 is only added at the last page of category 2 and template category 3 only added at the last page of category 3? Can the position of an PDF template be clearly defnined?
    I would would be grateful for any kind of information!

    In the examples the templates are being placed after the last page. But instead of using a page number the number of pages property was used. The parameters are passed to a method by fixed positions unless you use a special notation to allow the use of parameter names.
    Example 1:
    var a = this.templates;
    for (i = 0; i < a.length; i++) 
    a[i].spawn(this.numPages, false, false);
    Can also be written as:
    var a = this.templates;
    for (i = 0; i < a.length; i++) 
    a[i].spawn({nPage: this.numPages, bRename: false, bOverlay: false});
    "this.numPages" is a number and it is the number of pages in the PDF at the time the line of the script is executed. So if one has one page in the form and one hidden template the first time the script is run, the value will be 1, if run another time the number will be 2. You need to remove that string of text and insert the number or a variable that has the number you want to use.
    var a = this.templates;
    var nPage = this.numPages; // variable for zero based page number;
    for (i = 0; i < a.length; i++) 
    nPage = this.numPages; // update the page number for the loop processing;
    a[i].spawn(nPage, false, false);
    For Acrobat JavaScript there is no "calculateNow" statement. It does not even to appear to be available to JavaScript.

  • Help about PDF Templates

    Hi all,
    I am new to xmlp and i have experience only with the RTF Templates. Now my user wants the templates in PDF for some new reports.
    I dont know how to use PDF Templates. If any one had good experience with PDF Templates please give any forums or your advice.
    And also I want to know do we need PDF Writer s/w for the PDF Template development?...
    Regards
    Ram

    Hi all,
    Is possible to view the output in pdf from the PDF TEMPLATES as standalone (without
    EBS).If yes, How can we load the xml source code into the PDF Templates.
    regards
    Ram

  • More PDF template woes!

    I am building a PDF template which needs to have 2 lines on the right hand column but only 1 line on the left. I have set the template up as specified in the manual, but it appears to put the left column 1 record out.
    If I only have 1 line, then all lines up fine. Does anyone have any suggestions?
    Update - Many exhausted options later, I tried changing the tooltip entry on the second line to match the data on the first. Suddenly - it works as it should!
    This may just be a function of different versions of Acrobat. I am unit version 8.
    Anyway, could be useful information if anyone else needs to work with PDF templates.
    Edited by: mike_p on Nov 24, 2009 4:42 PM

    Hi Tim,
    Don't I know it! - this one was done this way due to having a pre-printed form which we had to line up against. It's been a pretty steep learning curve. Also may have a new (and possibly easire) approach for barcodes.
    Regards,
    Mike

  • Can we use IF statement in PDF templates

    Hi,
    I developed a PDF template. I need to underline ang bold the records based on a specific condition. Can we use IF conditon in PDF templates. Please suggest.
    Thanks...

    Billy  Verreynne  wrote:
    The case syntax is a bit funny though as there's not a single condition evaluation (like a DECODE or case structs from some other languages).
    This is what I would expect a typical case struct to look like - evaluating a single condition:
    case <condition>
    when <value-1> then return <result-1>
    when <value-n> then return <result-n>
    else
    return <return-z>
    end
    ?:| You mean like this...?
    SQL> ed
    Wrote file afiedt.buf
      1  select empno, ename, deptno
      2        ,case deptno
      3           when 10 then 'This is Department 10'
      4           when 20 then 'And department 20'
      5           when 30 then 'And of course department 30'
      6         else
      7           'Blimey it is something else!'
      8         end as dept_desc
      9* from emp
    SQL> /
         EMPNO ENAME          DEPTNO DEPT_DESC
          7369 SMITH              20 And department 20
          7499 ALLEN              30 And of course department 30
          7521 WARD               30 And of course department 30
          7566 JONES              20 And department 20
          7654 MARTIN             30 And of course department 30
          7698 BLAKE              30 And of course department 30
          7782 CLARK              10 This is Department 10
          7788 SCOTT              20 And department 20
          7839 KING               10 This is Department 10
          7844 TURNER             30 And of course department 30
          7876 ADAMS              20 And department 20
          7900 JAMES              30 And of course department 30
          7902 FORD               20 And department 20
          7934 MILLER             10 This is Department 10
    14 rows selected.

  • Print files into/onto PDF template for proofing

    Hi,
    I am hoping someone may be able to help.
    I am wanting to set up several PDF templates that will range from A4 -SRA3. these PDF templates will be Proof Approval Templates. I then want to be able to send artwork to print from say InDesign but I want it to print into the PDF template. Hope that makes sense.
    I would then end up with say a compliment slip artwork centred onto the Proof template enabling me to send out the proof.
    How do I go about this or is it not something that can easily be done?
    Many thanks in advance.
    Jon

    Hi,
    Thanks, I have been doing that but wanted to have something that could be done automatically by acrobat at the sending to print stage, my old company used to do it, but I never got to ask how...
    Do you know of a way?

Maybe you are looking for

  • New Macbook bought in Thailand - problems

    Wondering if anyone has any helpful suggestions. Just bought a Macbook 13.3 1ghz, 80gb hard drive combo drive. All well and good and also purchased iworks 08 software as the internet over here is not the greatest and didn't want to have to purchase a

  • Trend micro toolbar is not compatible in this version

    Many of the toolbar and add ons which were working with previous versions of FF are not compatible with this version

  • Web Form

    Hi, While building a Web Form if i select a member in row dimension as Descendants(inc) or Children(inc) i can see the parent member only at bottom of the hierarchy, Is there any chance i can see the parent member at the top. I did tried selecting th

  • Installing Portal Platform: Error "Portal Exist"

    I am trying to install the Sneak preview. I am now at the stage where I have to install the Portal. However, I get the following error: Analyzer found the following mismatch Pre-installation/J2EE/Portal Existence Check that portal exists The error de

  • Spaces reset terminal

    Test case: 1) I edit something in Vim via Terminal.app (maybe over ssh - does not matter) 2) Cmd+Arrow to switch the space (shourtcut does not matter) 3) Working in any other program (chrome for example) 4) Cmd+Arrow to switch back to Vim   And here