How to include a page with different orientation under certain conditions?

Hi experts,


I use BI Publisher included on EBS 12.2.4, and I need to print an invoice and conditionally add a page with a different orientation (portrait, rest pages are landscape).

The condition is if TRX_TYPE = "ND".


I realized to break the page (with a change of section) and call an auxiliary template (named cartaDevolucion) with the text on the last page:

------- this is ms word section jump (next page)
<?import:file:///C:/tmp/XXSON_RETURNNOTE_LETTER.rtf?>

<?if:TRX_TYPE='ND'?>
<?call@cartaDevolucion?><?end call?> 
<?end if?>

My problem is that if the condition evaluates to false, the last page is strill printed in white.

Any recommendations?

Thank you
Jose.

Hello

I solved the problem. I was missing the key word "@section":


Thanks a lot for your help Alex. I'll keep your Xpath comment in mind.

Kind regards

Jose.

Tags: Business Intelligence

Similar Questions

  • How can I add a page under certain conditions?

    Hello

    I'm trying to find a way to add a page to my form under certain conditions. I tried to create this sequel to 'action', but failed to locate the correct action.

    To sum up, I am trying to add a separate page to my existing form with instructions when a specific check box is selected. The separate page is text only and does not form any entries/field. Is there a relatively simple way to accomplish this task?

    You can enter the code in the script editor. If you do not show you can get it by pressing on (on PC) Ctrl + Shift + F5.

  • I want to buy an iBook. There are 2 different books with the same name, author, and the book cover. They are different number of pages with different prices. Specifically, all the light that we do not see. " How do you know that we purchase?

    I want to buy an iBook. There are 2 different books with the same name, author, and the book cover. They are different number of pages with different prices. Specifically, all the light that we do not see. " How do you know that we purchase?

    I would get one that has 4700 comments already.

  • How can I add a donation page with different levels to give for example $ 250, $150, $50, other

    How can I add a donation page with different levels to give for example $ 250, $150, $50, other.  I'm with Foxy cart... is it possible?

    Since the end of the Muse, you can add texts as the value of the donation with paypal button that would take users to the paypal for the payment site, with Foxy cart you can try the suggestion mentioned here:

    https://Forum.FoxyCart.com/discussion/4417/donation-page-radio-button/P1

    Thank you

    Sanjit

  • How get lined up pages with various/different heights in a low printing sheet?

    Hi all

    I don't have an idea if it is still possible - but I want to align my various pages on the background. More small one vertical automatically aligned in the middle of the largest document (see photo).

    Bild 2.png

    If I put up the first smaller page (set up a new document with small size) and add a new page with higher dimensions, he lined up at the top (see below).

    Bild 3.png

    BUT IT IS NEVER ALIGNED ON THE BOTTOM.

    Help someone?

    Thank you very much!

    When you create a new page, you choose control facing Pages (two pages side by side) or not. Pages not connected to, you can use the Page tool to drag pages around the mount table.

  • Branch to the same page with different session variables

    Hello guys,.

    Is there a way that allows to create a branch that redirect to the same page with a different set of values for session variables. Or is it an effective way to add the buttons after that moves through the consecutive records in the pre and oracle apex.

    hope someone can help me.

    Kind regards.

    -shashikahk-

    is there a way to add the following buttons and pre

    If you create a form using the wizard pages, Apex will automatically create these buttons in some cases (as in a master form / retail).

    Create a master page / detail demo so you can see how it works. Apex creates a pre-rendering process:

    Get the value of the primary key next or previous

    Some of the hidden objects, such as Pxx_ROWID_NEXT.

    And two buttons: GET_PREVIOUS_ROWID and GET_NEXT_ROWID

    (if you do not use rowid as the primary key, another name will be generated).

  • HP7520: How to scan 2 pages with the automatic document feeder and save to a file?

    How can I scan 2 pages with the automatic document feeder and save to a file?  (Right now, it happens that 2 separate files)

    I have a HP7520, & again, I wish scan 2 pages into a single jpeg file.

    Thank you

    Well, in general JPEG format does not support several concept as a document page. Thus, each image in the JPEG file is saved in a single file. If you are considering of reduction of 2 images in 1 paper size (example: A4), you may need some image editor to do

    If you are looking for a mulit-page image format, TIFF can be a format suitable to use.

    https://en.Wikipedia.org/wiki/TIFF

  • How to read the data with different XML schemas within the unique connection?

    • I have Oracle database 11g
    • I access it via JDBC: Slim, version 11.2.0.3, same as xdb.
    • I have several tables, each has an XMLType column, all based on patterns.
    • There are three XML schemas different registered in the DB
    • Maybe I need to read the XML data in multiple tables.
    • If all the XMLTypes have the same XML schema, there is no problem,
    • If patterns are different, the second reading will throw BindXMLException.
    • If I reset the connection between the readings of the XMLType column with different schemas, it works.

    The question is: How can I configure the driver, or the connection to be able to read the data with different XML schemas without resetting the connection (which is expensive).

    Code to get data from XMLType is the implementation of case study:

     1   ResultSet resultSet = statement.executeQuery( sql ) ; 
    2   String result = null ;
    3    while(resultSet.next()) {
    4   SQLXML sqlxml = resultSet.getSQLXML(1) ;
    5   result = sqlxml.getString() ;
    6   sqlxml.free();
    7   }
    8   resultSet.close();
    9    return result ;

    It turns out, that I needed to serialize the XML on the server and read it as BLOB. Like this:

     1    final Statement statement = connection.createStatement() ;  2    final String sql = String.format("select xmlserialize(content xml_content_column as blob encoding 'UTF-8') from %s where key='%s'", table, key ) ;  3   ResultSet resultSet = statement.executeQuery( sql ) ;  4   String result = null ;  5    while(resultSet.next()) {  6   Blob blob = resultSet.getBlob( 1 );  7   InputStream inputStream = blob.getBinaryStream();  8   result = new Scanner( inputStream ).useDelimiter( "\\A" ).next();  9   inputStream.close(); 10   blob.free(); 11   } 12   resultSet.close(); 13   statement.close(); 14  15   System.out.println( result ); 16    return result ; 17
    

    Then it works. Still, can't get it work with XMLType in resultset. On the customer XML unwrapping explodes trying to pass to another XML schema. JDBC/XDB problem?

  • Fillabe in double page with different names filed...

    Hi, I have a form to fill in pages (he has boxes and text fields to fill in). So, I want to duplicate this page. but duplicating all the field names must be unique. I mean I want to make the reliable form of 8 pages using my page to fill gooseberry. but all the fields must be unique. (I enter different details different pages)... I don't know whether it is possible or not. If possible, please help me. Thanks in advance...

    I was looking at using a model of PDF and spawning 8 pages with the parameter rename set to true.

    A lesson in models for Adobe Acrobat by Dave Wraight

  • How to print only pages with field data

    Hypothetical scenario:

    I have a doc with 10 pages, and each page has 10 fields.  These 10 fields, I would to implement a solution when the document is printed:

    1. a script that analyzes the first field in each page, if the value of! = null then include this page in the print operation, or

    2 script scans all fields on each review page for the first field with data (among the 10 fields). If one of the 10 has areas of data, then include this page for the print operation. I-frame, this would be some kind of script loop (for, while, etc.)

    I'd love to run the #2 option, but it should be #1 if it's easier to implement.

    I sincerely thank anyone in advance for any advice, suggestions or recommendations.

    Hello

    Take a look at an example here: http://assure.ly/MzX1bK. This will satisfy option 2.

    Hope that helps,

    Niall

  • How to scan multiple pages with Photosmart 6510?

    Hello

    I am a new user of all-in one Photosmart 6510. Does anyone know how to scan multiple pages into a single document?

    Thank you!

    It is important to note that there is a limit to the DPI affecting as well. It seems that you cannot scan a document multiple pages when you set the resolution 600 or higher.

  • How to remove master page with script elements

    I want to remove items from the master page with script

    app.activeDocument. masterPageItems.remove ();

    and there are items on the master page to remove all the and I want to create a new one (rectangle frame or text)

    Try this,

    var myDoc = app.activeDocument;  
    
    for(var i=0; i< myDoc.masterSpreads.length; i++)
    {
        for(var j=myDoc.masterSpreads[i].pageItems.length-1; j>=0 ; j--)
        {
            myDoc.masterSpreads[i].pageItems[j].remove()
        }
    }
    

    Vandy

  • Under certain conditions see the popup on page (fragment) charge

    Hi Experts,

    We have an obligation to show a popup on the page load, if a certain condition is true.

    I have two fragments (home.jsff and profile.jsff). Initially when the user login, home.jsff is indicated and that there should be no popup.

    When the user goes to profile.jsff and save the changes, it must first redirect to home.jsff and show a popup with the confirmation message.

    I can't create a fragment separated for the popup where we need to redirect to profile.jsff and then redirect to home.jsff as said the requirement that the popup should display the content of home.jsff in the background.

    Also I can't use showPopup behavior during the loading of the page because it's a jsff.

    Please suggest how to implement this.

    Thanks in advance.

    Best regards

    Saurabh

    ... There's an even simpler option

    1. Add a hidden from the fragment output text element

    2 bind the output components text 'value' property to a bean property of manage (pair of getter/setter)

    3. when the getter of the value method is called, check the indicator that you defined for if you want to display the context menu or not

    4. If the indicator is such that the popup needs to be displayed, run the Java Popup

    4.a search the component RichPopup

    4.b set flags of the popup

    4.c unset flag to display the pop-up window (for the next time you need to put it)

    4.d see the popup

    Frank

  • How to include a div with search and replace

    I need to include a < div >... < / div > in this div below to set the properties of the iframe in about 100 pages.

    " < div id ="Ingress2"> < iframe width ="100% "height ="415"src =" https://www.YouTube.com/embed/sKAMT9JW3Uw?list=PLfAeoO5XON0FemZ2KxTsM65r1kC-vRK68 "frameborder ="0"allowfullscreen > < / iframe > < / div > "

    I can inlude the punch opening div by < div id = "Ingress2" > < div > but how I can inlude the closure then (he reaplces all my iframes) < / div > with the find and replace tool?

    I tried to use the expressions in the tool, but I don't really understand how it works.

    Thank you in advance / / Annette

    Unfortunately, the forum software is to convert the part of my regular expression into a link. We'll see if it works.

    (
    )()
  • Displays page with different

    Hi all

    I created a page of the OPS for payslip online. based on the criteria of selection of the parameter that the data shows up very well.

    now the problem is that when I run the following sql command I see more than 1 nom_chemin with the same names, but LAST_UPDATE_DATE is different.

    SELECT * FROM JDR_PATHS Where nom_chemin like '% Online_Pay '.

    Now, what I do is that I'm passing December 2012 as my parameter and April 2013 and the page is using different parameters for dec-2012 and any other setting for April 2013, when I say settings I mean all property for the page Inspector settings are different (such as fonts, page layout messageStyledText etc...).

    How can I make adjustments to the current file that is deployed.

    Please go through my post.

    Please advise/help.

    It is a method of PL/SQL. Therefore, call from a SQL session

    BEGIN
    jdr_utils.deleteDocument('XX\oracle\apps\per\onlinepayslip\webui\XXOnline_PayPG.XML);
    END;

    Then commit.

    After this execution printDocument for your swap file. It should not show anything.

    Kind regards
    Stephanie.

Maybe you are looking for