Complete the URL for popupURL of a table/Page element?

Hi all
Someone please tell me if the URL to run a report BEEP can be filled with a table/page element when using popupURL and if so, how?

Background:
I have a Table called TBL_LETTERS with a column varchar2 REPORT_URL
I have a Page (Pg 303) that fills a Page of text element (P303_REPORT_URL) with a URL string appropriate to the table.

Here's my problem:
I would like to replace my function javascript to work (see below):

Run myLetter_40()
{
popupURL ("& BI_URL. Guest/DEV/TEST/FRM_40/MM_40/MM_40.xdo?_xpf= & _xpt = 1 & P_CASE_ID = & P303_CASE_ID. & P_PERSON_ID = & P303_PERSON_ID. & _xt = MM_40_xf = rich text ');
}

with something like:

Run myLetter_40()
{
popupURL ($x("P303_REPORT_URL").value);
}

.. .but it does not work.

With my knowledge of limited javascript, I can only imagine that the variables with success a value in my first example of assigned function do not succeed to my second, I'm probably just passing through all this as a simple string (like this: + & BI_URL.) Guest/DEV/TEST/FRM_40/MM_40/MM_40.xdo?_xpf= & _xpt = 1 & P_CASE_ID = & P303_CASE_ID. & P_PERSON_ID = & _xt = MM_40_xf & P303_PERSON_ID = rtf +), but would appreciate very much all the advice.

What I need to
a. create the string of REPORT_URL differently in the table so that when it is passed to the Page element it includes the required variable data?
b. something completely different?
c. the forget, it is not possible!

PS. I use Apex 3.2.1
Thank you in advance.
Sue

Published by: smp245 on August 21, 2012 14:19

Hi Sue,

you could build the url with javascript like this:

   popupURL('&BI_URL.Guest/DEV/TEST/FRM_40/MM_40/MM_40.xdo?_xpf=&_xpt=1&P_CASE_ID=' + $v('P303_CASE_ID') + '&P_PERSON_ID=' + $v('P303_PERSON_ID') + '&_xt=MM_40_xf=rtf');

the javascript $v function belongs to the Apex javascript library and gets the value of an element of HTML page.

Kind regards
Erik-jan

Tags: Database

Similar Questions

  • Group of radio buttons with the URL of image in a table

    I try to display text and an image for a group of radio buttons to make the form look like

    text (*) for point 1 {image for point 1}

    text () for article 2 item 2 {image}

    text () to the point 3 {image for point 3}

    I found these:

    Re: Is it possible to display an image instead of the button in a group of radio buttons?

    Display image in the Group of radio buttons?

    It looks like all I have to do is create a LOV that looks like:

    SELECT {complex stuff that generates the text string, tag img and image URL}

    DB_PK

    OF dynamic_view_for_lov - public synonym

    But my images are stored in a table.

    I was able to create an IR using the "= BLOB column Format" method.

    The SQL code for the report looks like:

    Select

    display_text, db_pk, image_len, image_clob

    of dynamic_view_for_lov - public synonym

    And the IMAGE_LEN column number/Date Format is:

    IMAGE: DYNAMIC_VIEW_FOR_LOV:IMAGE_BLOB:DB_PK:Inline:Download

    My question: how to create the URL for the tag img for the LOV?

    Thank you very much

    MK

    MikeKutz wrote:

    My question: how to create the URL for the tag img for the LOV?

    Use of the apex_util.get_blob_file_src method of the API.

  • I need the URL for the default home page so I can put it in my homepage protection, because all I get when I open the browser's "about"white."

    I'm going to hell to get just the URL for the browser/Firefox start page. I just did a recovery image factory and all I get after downloading and installing the Firefox browser a tab that says 'about white." I don't get the URL in the address bar so that I can put this URL in my homepage of protection (I use Advanced System Care ultimate). Once I get this URL and place it in the area of protection of homepage of my security software, I'll be ready to go, because I want to use Firefox as my default browser. I searched the frequently asked questions and asked the question in every way that I know, in English, and there seems to be no one there who can tell me just the URL of the start page. While I do not understand why it is so hard to get, I certainly need and would be grateful for a solution to this problem.

    It is actually called Subject: Home , but the only way to know would be if you were viewing the page and called to the top of the Page Info dialog... who, for future reference you can get using one of these methods:

    • Right click on a box empty page and select View Page Info
    • (menu bar) Tools > Page Info
    • Click on the globe or padlock icon in the address bar > more information
  • How can I get Mozilla to use the name of the page for the name of the real instead of the URL bookmark when I bookmark a page

    I just noticed that (in comparison to Internet Explorer): in IE, when you preferred a Web page, it uses the actual name of the Web page (for example, for this page, it would be "Ask a Question Firefox Help" as the name of the bookmark), but in Mozilla, it uses the URL as the name of the bookmark. I was wondering if it was possible to change my Mozilla settings so that it uses the name of the Web page as the bookmark name instead of the URL? I hope that everyone understands what I am getting? If anyone can help me, I would really appreciate it. Thank you.

    Firefox uses the tag title for the name of the newly saved bookmark.

    When I bookmark on this forum page I get this for the 'name' of the bookmark.

    How can I get Mozilla to use the name of the page for the name of the real instead of the URL bookmark when I bookmark a page | Firefox Support Forum | Firefox help

  • Received a promotional copy of Vista Ultimate at the launch of 'Heroes' 2007 but the URL for the key no longer works.

    Received a promotional copy of Vista Ultimate at the launch of 'Heroes' 2007. Want to install it on the new PC, but the url for retrieving product key no longer works. How can I get the key?

    Hello

    I suggest you to contact the Microsoft support center and check.

    http://support.Microsoft.com/GP/contactuswindows?SD=win

    And contact the Microsoft Center.

    http://support.Microsoft.com/contactus/?LN=EN-AU

  • By the way the item values without using the URL for it

    Hello

    I want the value of an element to another page.

    Is there a good tutorials on it? I don't want to use the URL for it, if you understand what I mean.

    Also I would like to learn more about session state in the apex and how it works and how I could display a value of an element stored in the session state. So if you have some good reads on that I would appreciate it.

    d6752e93-BC8D-48f1-b3ef-073ab316b748 wrote:

    Update your profile with a readable handle.

    Also, how do I acsess an element that was previously presented on a page.

    A value of element are accessible anywhere in the APEX using the syntax of reference described in the documentation appropriate session state. The required syntax depends on where the item is referenced. In general, use bind value [: MY_ITEM] syntax in queries SQL for APEX and PL/SQL expressions and blocks; the functions V and NV [V ('MY_ITEM')] in stored program units; and the substitutions of static text [& MY_ITEM.] in the properties of code, templates and HTML component. The actual value returned will depend on where the item is referenced in the APEX show/accept treatment.

    For example that I want to fill a text field empty with a value of an element that has been filled with front page.

    What do you mean by "an element that was filled in front page? Before what? By the presentation of previous page? On the same page layout or a different page?

    Please try to make your questions more clear: How to ask questions

  • How to set the url for different environments such as DEV, PROD etc using the file resources in SSRS. How we determine the environment?

    While working with SSRS reports, I would like to store the URL once in a variable environment level and have all read reports from there. How this could be done. I think that by adding the resource file, that this might work. But how do we identify which URL should be invoked in varied such as DEV, TEST, PROD environments?

    Hello

    Your question of Windows 7 is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the public on the TechNet site. Please post your question in the following link for assistance:
    http://social.technet.Microsoft.com/forums/en/smallbusinessserver/

    I hope this helps!

  • How to pass a user name and password in the URL for report BI Publisher as parameters

    Hi all

    I have a requirement to navigate to a specific report in the BI Publisher a

    external application when the user clicks on a link. I've had this work using

    the link below

    https://blogs.Oracle.com/XmlPublisher/entry/accessing_xmlp_enterprise_repo

    Now, when a user clicks on this link he is redirected to the BIPUBLISHER login page,

    How can we get around this to hardcode a username and password in the URL (like GO

    URL for analytics).

    Thank you

    Hello

    https://> /Analytics/Saw.dll? Answers & NQuser => & NQpassword =>

    Kind regards

    Dilek

  • Change the URL for behance

    Hello world!

    I need to change the URL of my Behance profile for the second time. How should I proceed?

    Thank you!
    Matteo

    Hello - if you write us at http://on.be.net/GetHelp, an agent can help you with this request.

    Thank you!

  • Adding the URL for the quiz on the slides, OR separate quiz slides

    I would like to add the URL of my quiz slides to give more information question. I can't find the hyperlink button insert on the toolbar properties of quiz. I use 7 Captivate on a Mac, with output tutorial as HTML5.

    For all this I tried to insert blank slides between the slides in quiz (multiple choice) to give information of substance, but I cannot know how to separate the quiz slides from each other.

    Any suggestions?

    Thanks in advance,

    Gemma

    With the exception of the workflow of remediation (i.e. to slides in the Captivate file) a question slide is considered to be answered when the user leaves, even if the allowed number of attempts is not reached.  It's how are designed the question slides. So, it is possible to arrange these visits before the question slide? Perhaps a mock-up of the question on this slide "before"?

    Lilybiri

  • Redirects the URL for paths ending in ' / '.

    Hi all!

    I have a site that's been replicated in British Colombia, which is former location links are indexed in Google with URLS ending with a ' / '.
    for example ' / on / ' and ' / services / '.

    Under the section of redirects of Pages; I tried to adjust page source as ' / on / "with a redirect to" / about.htm "but accessing to http://www.domain.com/about/ returns a"404 page not found".

    I also tried to change the URL of the on the page is ' / on / ', which led to a 404 error too.

    I have added a few custom JS to my page 404 system to manage these and redirect the visitor, but y at - it another way?

    Can I create a folder called 'about' and place in it a default document as "default.htm" and all it's a permanent redirect to the right page?

    So that browsing to " " http://www.domain.com/about/ "would return the default file in the folder"about". "

    Concerning

    Mike

    Hi Mike,.

    Whenever you have a url which is /something/ it is a folder.

    To post a link to the page you have index.html in this folder.

    So /something/index.html is the same as /something/

  • Create the custom for more than one table, and then another user authentication scheme

    Hello

    I already test to create an courable authentication scheme. It works very well!

    My problem is that I designed a database on the data requirements. So the results are two different user tables - one record data of the company and the other to consist of data from dealers. Both can register on my web application with e-mail address (Unique).

    The authentication scheme in APEX checks the table right on a data user!

    A possible solution is to call the company with the dealer table table. But in the picture of society isn't some attributes wich find no need in the dealer table and vice versa.
    Further, that it is not possible that the concessionaire may register that they self as a company with the same which e-mail they use for registration as a reseller.

    Can you give me some more ideas how slove/manage this problem...

    I am using APEX 4.0.2 on an Oracle 10 g database.

    NEDO

    Edited by: Mr.Nedo the 12.05.2011 02:16

    >
    The authentication scheme in APEX checks the table right on a data user!

    A possible solution is to call the company with the dealer table table. But in the picture of society isn't some attributes wich find no need in the dealer table and vice versa.
    Further, that it is not possible that the concessionaire may register that they self as a company with the same which e-mail they use for registration as a reseller.
    >

    Create a view which combines common elements of the user of the 2 tables and the authentication scheme based checks on the view.

  • Error-1074360293 (IMAQdx Timeout) after completing the acquisition for some time

    My vision in LabVIEW application makes several acquisitions and successful treatment but then acquiring (grab) suddenly fails with a timeout error (-1074360293, IMAQdx: timeout). The error does not when acquiring only the images.

    After that the error occurred that no acquisition is possible. Although LabVIEW is closed MAX Returns a time-out error. Only restart helps.

    some details of the material:

    3 controllers FireWire (1394-a)

    3 cameras connected to the first two controllers, one third (total of 7 cameras)

    Mode for all cameras: 1280 x 960 Mono 8 fps 7.50

    The bandwidth for a FireWire controller is sufficient. (Three cameras on a single controller are running without any problem).

    Consume the application memory is short before or after that the error occurs. But I can't find where exactly.

    Until the error occurs a few minutes until one and a half hour pass.

    More details will follow.

    Is there a FireWire or specialist in the vision that can help you?

    Greetings,

    SHB

    Change the driver it seems to fix the problem:

    "Compatible (legacy) 1394 OHCI host controller" (in German: "OHCI - 1394-Hostcontroller (alt) konformer")

    With this pilot test has worked for more than 66 hours without raising an error.

    Some Articles about:

    http://www.RME-audio.de/forum/viewtopic.php?id=9827

    http://www.myvideoproblems.com/ProblemPages/CannotCapture.htm

  • How to display the font color in the URL for redirection in 4.2

    Hi team,

    In one of my process of pl/sql in the exception block I try to view the message in red, I did I tried in many ways to do it, but could not get it. Could someone help me on this please.

    Need to display "Hello" in red.

    owa_util.redirect_url('f?p=&APP_ID.:1:::NO:1:G_ERROR_MSG:Hello.');
    

    Kind regards

    Sruthitamiri

    Sruthi Tamiri wrote:

    Yes fac586, I've implemented using that thread, now I have made changes as suggested and now saw color, but I am facing problem as mention below

    1. initially when the page loads, it should not show any grey box, but by default, I am able to see gray box as shown below, after span style color applied as stated in point #2.

    2. the logic used in the page loading process

    1. BEGIN
    2. apex_application.g_notification: = '' |: g_error_msg | '';
    3. : G_ERROR_MSG: = null;
    4. IF (: p1_display_eid) IS NOT NULL
    5. THEN
    6. SELECT modified_date, modified_by
    7. IN: p1_modified_date: p1_modified_by
    8. OF the test
    9. WHERE engagement_id =: p1_display_eid;
    10. END IF;
    11. exception
    12. When no_data_found then
    13. HTP.init;
    14. owa_util. REDIRECT_URL ('f? p = & APP_ID.: 1:NO:1:G_ERROR_MSG: this record has been deleted.');
    15. END;

    3. when I used this thread in that they mentioned a point, I'm not clear on this, could you help me what to apply to the condition "subordinate this process to"g_error_msg", with a value non-zero.

    Create this process before Header on the page referenced in the URL by email:

    begin
    
      if :p1_display_eid is not null
      then
        select modified_date
        into :p1_modified_date
        from test
        where id = :p1_display_eid;
      end if;
    
    exception
    
      when no_data_found
      then
          apex_util.redirect_url('f?p=&APP_ID.:1:::NO:1:G_ERROR_MSG:This record is deleted.');
    
    end;
    

    And having this as a process before Header on the redirect page, a point value / Expression 1 Is NOT NULL column condition with Expression 1 on G_ERROR_MSG:

    apex_application.g_notification := '' || :g_error_msg || '';
    :g_error_msg := null;
    

    Probably, you should also include a value of specific request in the e-mail links so that their external origin are easily recognizable in the conditional processing and branching.

  • What is the URL for download yet cs6?

    What is the URL to download Encore CS6?

    Sound in the header/announcement of this forum!

    http://helpx.Adobe.com/Encore/KB/Encore-CS6-installed-cc.html

Maybe you are looking for

  • I got an ipad 2, but after the ios 9.3.3 it does not load

    I got an ipad 2 but after that I updated ios 9.3.3 does not charge... What can I do?

  • Impossible to move photos from the iMac to iPhone6

    I understand that the normal way to move photos from an iMac to an iPhone is to do it via iTunes. The problem I encounter is that there isn't a registration under devices in my iPhone Photos in iTunes 6. I use 12.4.2.4 and iPhone iTunes 6, worm 9.3.2

  • Atv4 & Bluetooth headset gal

    I have a headphones wireless2 Appletv4 and rhythms. When I pair them up the sound is out of sync with the video. Surprisingly, the audio is slightly ahead of the video, for example, I hear that the bat to hit the ball when you look at a fraction of a

  • Satellite A100-788 - not more of her

    Hello to the community I have a Toshiba Satellite A100-788, which offers a sound more or in the plug or in the speakers, I'm on Windows or Ubuntu. This situation does not change the sound of the wheel. I think the soud card that is integrated on the

  • IPhone 6 covered by the warranty of 1 year without purchase invoice?

    Main camera does not work after falling accidentally iphone 6. 1 year warranty cover? and I don't have too many purchase invoice.