How to get current request references and page

Hello

I have buttons (to print and download in PDF, CSV, XLS) on multiple pages... for now I use following code to get their work...

http://Apex.Oracle.com/pls/Apex/f?p=31815:3: & SESSION. : PDF

which means that on every page I need to put the reference in hard coding... is there a way to replace the page ID number and application with a reference (similar to what I did above to the session ID)... something like this


http://Apex.Oracle.com/pls/Apex/f?p=REF_APP_ID:REF_PAGE_ID: & SESSION. : PDF

Thank you

Hello

Use substitution strings. And you do not need to write any URL
http://download.Oracle.com/docs/CD/E17556_01/doc/user.40/e15517/concept.htm#sthref156

f?p=&APP_ID.:&APP_PAGE_ID.:&SESSION.:PDF

Kind regards
Jari

Tags: Database

Similar Questions

  • How to add the chapter name and page not for reference

    Hello

    How to add the chapter name and page not for reference in indesign CS6.

    Thank you

    Please try variable notion of text

  • How to get number of a character Page?

    Currently I get a character by CreateOutlines Page

    Dim oaPols = oChar.CreateOutlines (False)

    Download oaPols (1) page of the object.

    But sometimes Indesign was the crash by this code: Dim oaPols = oChar.CreateOutlines (False)

    How to get number of a character Page?

    Willi Adelberger wrote:

    Why do you do the contours? It should NEVER be done in InDesign!

    Hey Willi,

    the OP is trying to find a method to get the page name of a character given somewhere on a page or on a spread and use a VB-Script scripting method.

    The False parameter in the method indicates that the character will be duplicated on top of the character as an outline object.
    In the user interface you select a character and press and hold the ALT key when you use the menu command for this.

    Usually we take the object returned after obtaining the information of her by the script.

    But obviously something bad on the side of the OP, because InDesign crashes if this method is used on one of the sample characters. Usually a geometrical object on a page will return the page object as the value of his property in parentPage (ExtendScript).

    I'm not in VB-Script, so here's an excerpt from ExtendScript to get the name of the page in the text of a character block.

    Select a character and run the code snippet:

    // ExtendScript (JavaScript) snippet
    // One single character should be selected:
    
    var myCharacter = app.selection[0];
    var result = myCharacter.parentTextFrames[0].parentPage;
    
    if(result == null)
    {
        alert("Character's text frame is considered on the pasteboard")
    }
    else
    {
        alert("Character's text frame is considered on page: "+result.name)
    };
    

    Now, back to the createOutlines() method.

    It would fail on for example all white space characters and characters that represent a fixed page element.

    It would also fail if the character is in the overset text.

    createOutlines() would be to raise an error, but should not crash InDesign.

    Now go to the OP to the following questions:

    What is the character that you try to use the method with?

    Is there excess in text?

    What is your exact version of InDesign?
    What is the exact version of your Windows operating system?

    Kind regards
    Uwe

  • How to get slideshow to pause and restart with AutoPlay enabled? Slideshow all does not restart!

    How to get slideshow to pause and restart with AutoPlay enabled? Is happening in all the slideshow does not restart once a picture is selected

    tytothoughts It is a very old thread, in the grand scheme of things. In the current version, you can set slideshows and compositions to restart after a while after having been suspended.

    David

    http://www.creativemuse.co

  • How to get the battery level and status in the cpp file?

    Hi all

    BatteryInfo class so I can I know how to get the battery level and the State in .cpp class?

    Hi Benecore,

    I have Add method below,

    #include

    But I only variable BatteryInfoPrivate not get variable BatteryInfo. You can also check on your side.

    So let me know how to get batteryInfo instance?

  • How to get the friend list and their IDS in the integration of Facebook using Facebook SDK

    can any body send me the code
    How to get the friend list and their IDS in the integration of Facebook using Facebook SDK
    I did after connection and wall

    Welcome on the support forums.

    Please check the strawberry sample that ships with the SDK

  • How to get currently displayed a phone app phone number?

    City previous forums:

    nkarasev

    Messages: 93
    Join date: Apr, 2007

    How to get currently displayed a phone app phone number?
    Posted the: July 31, 2008 12:06 AM
     
    If there is a way to get the phone number of the user currently entered the dial phone app BEFORE?

    I know I can get the phone number of the phone call from the newspapers.

    Thank you
    Nikolai

    You can add an ApplicationMenuItem to the phone application which can happen in its run method.  Please note that there is a problem in the 4.3.0 release where this does not (null is passed instead).

    The problem of null is passed by an ApplicationMenuItem in the phone app is solved in BlackBerry handheld software version 4.5.0.  This issue was present in version 4.3.0.

    You see this in newer versions?

  • How to get current Login user in Oracle Forms?

    Hi friends...

    How to get current Login user in Oracle Forms?

    using the PL/SQL Editor on triggers.

    Please tell me...

    You have plsql function USER.

    For example:

    CURRENT_USER: = USER;

    Concerning

  • try to download Acrobat Pro, get "WebGet request failed" and download stuck at 29%, please help

    try to download Acrobat Pro, get "WebGet request failed" and download stuck at 29%, please help

    Hi Tom,

    I recommend to use the direct download link: download Acrobat products | Standard, Pro | XI, X

    Please let me know if you still face challenges.

    Kind regards

    Rahul

  • How to get help in downloading and installing 12 EP and 12 first on Win 8.1?

    How to get help in downloading and installing 12 EP and 12 first on Win 8.1?

    Try using a different browser if you experience a problem for the interface to respond correctly to your interaction with it.  If you need help, preovide more information about what you feel when you tru and it fails.

    Please don't start no multiple views for the same problem - your other display information better.

  • How to get rid of Babylon and the Babylon toolbar

    I have installed Babylon translator.  I've uninstalled it.  But there's search page.  How can I get rid of all the bits of Babylon?

    Have you ever heard of Bing and Google?

    Very useful tools fo find how to do things.

    http://lmgtfy.com/?q=how to get rid of Babylon

  • How to get the requested catalog of the same element status request workflow vRO 7 periodically?

    Hi all

    I design a WF in vRO7.

    I asked for a catalog item in the WF (to perform a pre-defined a BP published) in vRA 7.0.

    Here is the sample code snippet. Here the element is of type VCACCAFE:Catalogitem

    //********************************************

    var form = vCACCAFERequestsHelper.getRequestFormForCatalogItem (item);

    var request = vCACCAFERequestsHelper.requestCatalogItem (item, form);

    //******************************************

    I am able to process this request successfully. But now, I would like to check the status of this application periodically depending on the State of the application, I want to update a field in VRO and same WF.

    Now my question is, how can I recover the status of the catalog item query after periodically (say 5 minutes interval)?

    Can I use the method below, but thing is that how can I get the same request after 5 minutes?

    request.getExecutionStatus () .value ();

    Can you please help me out is it possible to get the details of the application even with the id of the request after 5 / x minutes?

    Thank you

    Miloud

    Hello

    You can do the following

    Mark your vRO like this query objects after the presentation

    Server.setCustomProperty(request, "CHECK_LATER", "1");
    

    Then place this code in a separate workflow on a calendar for every 5 minutes

    var watchedRequests = Server.getObjectsWithCustomPropertyKey("CHECK_LATER");
    
    for each(var request in watchedRequests)
    {
         // you can access the request submission content here
         var lMap = request.getRequestData();
         // the map is a vCACCAFELiteralMap but it has all VM property and CustomProperty values in it
         //e.g.
         var hostname = lMap.get("provider-Hostname").value;
    
         // assess request state and take appropriate actions here
    
         // remove the tag to avoid duplicate notifications
         // ONLY do for requests in a terminal state though!
         if(!inProgress)
         {
              Server.removeCustomProperty(request, "CHECK_LATER");
         }
    }
    

    Hope this helps

  • How to get the list permissions wise page name or menu-wise

    Hello

    I want to know this authorization list associated with a specific page or a menu. Please help me how to get that

    Check the following on the internet regarding the area of authorizedaction, which contains the information you need.

    http://peoplesoftwiki.blogspot.nl/2009/12/finding-barname-ItemName-and-all-about.html

    you want to hide the PeopleTools menu? If so, mke sure (s) he doesn't have the permision list that grants the permissions so that you do not want.

  • How to get the name of a page class in the apex oracle

    Hi all

    Can you get it someone please let me know how we can get the class of a page or area name in the oracle apex? I would also like to know how to get the DOM object for particular item ID.

    I appreciate any help on this.


    Concerning
    REDA

    If a category exists already, then you can find them by inspect element in firefox/chrome browser and look like to class = «MyClass...» »

    If there isn't one, then you can add via - point edit > attributes of the HTML Form element > class = "yourclass.

    See this http://www.w3schools.com/tags/att_global_class.asp

  • How to get a date on different pages?

    Hey everyone, I am working on a daily planner for the office and I have a script that automatically generates the dates but I Don t know how to get each of the dates on another page. I would appreciate if someone could help me get each date generated by the script on the next page of my 365 page document. The scrip is:

    var month = ["Jan", "Feb", "Mar", "Apr", "Peut", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "December"];

    var length = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];

    var days = ["Sun", "Mon", "Tue", "Wed", "Game", "Fri", "Sam"];

    Count = 0;

    day = 0;

    months = 0;

    week = 5;

    Str = "";

    While (count < 365)

    {

    Count ++;

    "days of Str += [weekday] +", "+ (day + 1) +" "+ month [month] +"\r ";

    day ++;

    If (day > = length [month])

    {

    day = 0;

    months ++;

    If (month > 11)

    months = 0;

    }

    day of week = (day of the week + 1) % 7;

    }

    App.Selection [0] .silence = str;

    Tanks!

    Try this,

    app.activeDocument.viewPreferences.rulerOrigin = RulerOrigin.pageOrigin;

    app.activeDocument.zeroPoint = [0,0];

    {with (App.activeDocument.viewPreferences)}

    horizontalMeasurementUnits = MeasurementUnits.points;

    verticalMeasurementUnits = MeasurementUnits.points;

    rulerOrigin = RulerOrigin.pageOrigin;

    }

    var month = ["Jan", "Feb", "Mar", "Apr", "Peut", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "December"];

    var length = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];

    var days = ["Sun", "Mon", "Tue", "Wed", "Game", "Fri", "Sam"];

    Count = 0;

    day = 0;

    months = 0;

    week = 5;

    Str = [];

    While (count<>

    {

    Count ++;

    "Str [count] = days [weekday] + ', ' + (day + 1) +" "+ month [month] +"\r ";

    str1 = str.toString ();

    day ++;

    If (day > = length [month])

    {

    day = 0;

    months ++;

    If (month > 11)

    months = 0;

    }

    day of week = (day of the week + 1) % 7;

    }

    for (i = 0; i<>

    {

    var myTextframe = document.pages [i].textFrames.add ({geometricBounds:[0,0,50,150]});})

    myTextframe.insertionPoints [0] .silence = str [i + 1];

    }

    Vandy

Maybe you are looking for

  • I've recently updated to the version of AOL, I want to go back to the old way to open a new tab.

    Everytime I open a new tab, it opens aol.com. I want to return to the thumbnails.

  • Satellite X 205-S9349 - second HDD are not bootable

    Hi all.I encountered a very strange error: my second HDD are not bootable, but only on my note (have 2 hard drives and I have installed Vista on the first and XP on the second). It worked well for about year. And once I worked in Vista, I've just goi

  • Problem of graphics card drivers

    Hello, I'm having a problem with my HP Probook s 4720, my video drivers stop working and my system hangs, I installed the drivers from the official website of HP, I tried both older and newer but still the same problem, no solution. I would be gratef

  • Sims 3

    Hi, I had my sims 3 for alittle while maintaining and everything seems fine until the last a few games, he started to return to the windows form with a poster isfg driver error message (I think) does not, but successfully recovered and then I keep my

  • Cyan fails from one page to another on Officejet Pro K8600

    I have an Officejet Pro K8600, installed on XP. A nearly full cyan stopped working in the middle of printing from one page to the other - tried all the patches.  No msg error - says all cartridges are full. Buy HP new cartridge, always did the same t