View requests result in a static text view

Hi all...
Is it possible to show results of a request in Answers in a static text view like in a ticker text view? Using "@"?
Ivan

Stijn, can you give me an example how to do it in a narrative view?
This is the html code that works great if I put it in a static view:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Google Maps JavaScript API Example</title>
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=<Google key code goes here>"
type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
function load() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(37.4419, -122.1419), 13);
//]]>
</script>
</head>
<body onload="load()" onunload="GUnload()">
<div id="map" style="width: 500px; height: 300px"></div>
</body>
</html>
Thanks for the help..
Ivan

Similar Messages

  • Feature Request: Option to wrap static text.

    It would be really nice (in fact, demanded by my current client) to be able to have multi-line static text that appears as a paragraph. Unfortunately, static text is one-line and either stretches out the width of the entire dialog box if you let it or is truncated if you don't.
    Present work-around is to force line-breaks, but that makes for some funny looking alignment, which may not be so "funny" when you see it on the "other" platform...
    Thanks,
    Rob

    I faced the same issue today.  I discovered the "wrap" property applies to static_texts as well as edit_fields.   It doesn't appear to be documented at all in the SDK API Reference, while it is documented in the SDK Programmers Guide as applying to edit_fields but not static_texts.  Here's a test program illustrating its use:
    local LrDialogs = import 'LrDialogs'
    local LrFunctionContext = import 'LrFunctionContext'
    local LrView = import 'LrView'
    local f = LrView.osFactory()
    local text = [=[Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed feugiat quam nec mauris auctor dignissim eu sit amet sapien. Nullam scelerisque lacus libero. Donec iaculis lacinia viverra. Nulla suscipit viverra condimentum. Nam id diam metus, non ullamcorper justo. Curabitur mollis urna sed ligula molestie ullamcorper convallis nisl adipiscing. Suspendisse blandit lobortis risus non laoreet. Proin dictum, nulla a varius faucibus, enim elit pharetra tortor, a commodo mi nulla et leo. Cras in varius odio. Donec erat neque, bibendum at elementum sit amet, tincidunt a nunc. Donec tincidunt aliquet libero non vulputate. Proin eget nibh ante. Curabitur tincidunt felis quis turpis.]=]
    LrFunctionContext.callWithContext ("test", function (context)
        text = string.gsub (text, "%c", " ")
        LrDialogs.presentModalDialog {title = "Test", contents = f:column {
            f:edit_field {value = text, wrap = true, width_in_chars = 40,
                height_in_lines = 10, enabled = false},
            f:static_text {title = text, wrap = true, width_in_chars = 40,
                height_in_lines = 10}}}
        end)

  • Download Data drops title and static text views

    Hi All,
    Is there a way to retain the title or the static text view in the output results when exporting using Download Data (.csv)?
    We are using OBIEE 10.1.3.4.1.
    Regards,
    Nancy

    Hi Kumar,
         After building your it_material internal table, try using GUIO_DOWNLOAD to load the data into an excel sheet.
    check this sample code.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          FILENAME                = SELECT_FILE   " Filename
          FILETYPE                = 'ASC'
          APPEND                  = ' '
        TABLES
          DATA_TAB                = ITAB_STR_1
        EXCEPTIONS
          FILE_WRITE_ERROR        = 1
          NO_BATCH                = 2
          GUI_REFUSE_FILETRANSFER = 3
          INVALID_TYPE            = 4
          NO_AUTHORITY            = 5
          UNKNOWN_ERROR           = 6
          HEADER_NOT_ALLOWED      = 7
          SEPARATOR_NOT_ALLOWED   = 8
          FILESIZE_NOT_ALLOWED    = 9
          HEADER_TOO_LONG         = 10
          DP_ERROR_CREATE         = 11
          DP_ERROR_SEND           = 12
          DP_ERROR_WRITE          = 13
          UNKNOWN_DP_ERROR        = 14
          ACCESS_DENIED           = 15
          DP_OUT_OF_MEMORY        = 16
          DISK_FULL               = 17
          DP_TIMEOUT              = 18
          FILE_NOT_FOUND          = 19
          DATAPROVIDER_EXCEPTION  = 20
          CONTROL_FLUSH_ERROR     = 21
          OTHERS                  = 22.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        EXIT.
      ENDIF.
    Hope this is helpful to you. If you need further information, revert back.
    Reward all the helpful answers.
    Regards
    Nagaraj T

  • View requests result should open in new browser window

    Hello !
    I am new in OAF. And I am tired of looking forsolution...
    I have a requrement. In the "Request Monitor" page, requests result should open in a new window. It means that each user's click on "View request result" should open in a new browser window.
    I have found url like this in access.log:
    OA_CGI/FNDWRR.exe?temp_id=1069558080
    This url returned from package : fnd_webfile.get_url. And this package is used in about 30 java files...
    And I do not know which one of these files is used in my page...
    Finally, I want to add ' target="_blank" ' to result html code. Like this:
    Maybe It can be done a more simply way?
    Thank you!
    P.S. Here java files:
    Which one is used in "Monitor Request"???
    oracle\apps\az\util\CpLogViewUtil.java
    oracle\apps\fnd\cp\fileops\
    FileConstants.java
    FNDFSFileFetch.java
    oracle\apps\fnd\cp\request\
    RemoteFile.java
    oracle\apps\fnd\cp\util\
    RemoteFile.java
    oracle\apps\fnd\cp\viewreq\server\ViewRequestAMImpl.java
    oracle\apps\fnd\oam\bizexcep\handlers\
    BflowContextDetailsHandler
    oracle\apps\fnd\oam\bobj\activity\
    FRDLog.java
    oracle\apps\fnd\oam\bobj\adconfig\
    AppsCtxtCompFileList.java
    AppsCtxtFiles.java
    oracle\apps\fnd\oam\bobj\manager\crm\
    CRMProcessLog.java
    oracle\apps\fnd\oam\bobj\manager\views\
    ICMProcessLog.java
    ManagerProcessLog.java
    oracle\apps\fnd\oam\bobj\requests\views\
    RequestView.java
    oracle\apps\fnd\oam\cp\fileops\
    FileConstants.java
    FNDFSFileFetch.java
    oracle\apps\fnd\oam\launchMode\restricted\handlers\
    RestrModeHandler.java
    oracle\apps\fnd\oam\sdk\util\files\
    FNDFSUtil.java
    oracle\apps\fnd\oam\sdk\util\log\
    LogHandler.java
    oracle\apps\fnd\oam\sdk\util\support\
    AppsSignatureNode.java
    oracle\apps\fnd\oam\servlet\ui\handlers\activity\
    DatabaseSessionHandler.java
    FRDFilesListHandler.java
    FrmSessionHandler.java
    oracle\apps\fnd\oam\servlet\ui\handlers\adconfig\adv\
    AdvCfgNode.java
    oracle\apps\fnd\oam\servlet\ui\handlers\debugwb\
    SearchPGHandler.java
    oracle\apps\fnd\oam\servlet\ui\handlers\gsc\
    SvcCompDetailsHandler.java
    oracle\apps\fnd\oam\servlet\ui\handlers\request\
    CpRequestHandler.java
    oracle\apps\fnd\oam\servlet\ui\handlers\services\
    ServiceProcHandler.java
    ServiceStsHandler.java
    oracle\apps\fnd\wf\oam\bobj\util\
    WfQuery.java
    oracle\apps\fnd\wf\oam\handlers\
    WfComplWorkItemHandler.java
    Edited by: rsn on 01.12.2010 15:43
    Edited by: rsn on 01.12.2010 15:46
    Edited by: rsn on 13.05.2011 11:27

    Anand, thank You very much!
    "In your page, is "View request result" a link ?
    If yes then
    click on "Personalize Page" link which is at the top right corner of the page. Select "Complete View" radio button and click on "Expand All" link. Search for item "link". If your page has more than one link then choose the link item which is related to "View request result". Click on "Personalize" pencil icon corresponding to "link" item/region. Change the "Target Frame" property value to "_blank" under "Site" level. Click on "Apply" button.
    -Anand"
    This is a great power in "Personalize Page"!
    I make solution in this steps:
    1. Activate personalization to user, by setting profile "Yes" value on user level:
    Personalize Self-Service Defn / FND_CUSTOM_OA_DEFINTION
    2. Personalize 2 regions items (Image & Link)
    ( Don't ask me how !!! ;)
    Image have not Target Property. I move URI to Link Region Item and remove in step 4 from Image Region Item.
    3. Export page and my region
    java oracle.jrad.tools.xml.exporter.XMLExporter /oracle/apps/fnd/cp/viewreq/webui/CPViewRequestPG -rootdir $APPL_TOP/personalizations -username apps -password *** -dbconnection "(description = (address_list = (address = (community = tcp.world)(protocol = tcp) (host = localhost)(port = 1521)))(connect_data = (sid = prod)))"
    java oracle.jrad.tools.xml.exporter.XMLExporter /oracle/apps/fnd/cp/viewreq/webui/customizations/site/0/CPViewRequestPG -rootdir $APPL_TOP/personalizations -username apps -password ***-dbconnection "(description = (address_list = (address = (community = tcp.world)(protocol = tcp) (host = localhost)(port = 1521)))(connect_data = (sid = prod)))"
    4. Modify in notepad /oracle/apps/fnd/cp/viewreq/webui/CPViewRequestPG.xml (remove URI from Image Region Item) from this file.
    5. Install script script for PROD like this:
    cp -R personalizations $APPL_TOP
    java oracle.jrad.tools.xml.importer.XMLImporter $APPL_TOP/personalizations/oracle/apps/fnd/cp/viewreq/webui/CPViewRequestPG.xml -username apps -password *** -dbconnection "(description = (address_list = (address = (community = tcp.world)(protocol = tcp) (host = localhost)(port = 1521)))(connect_data = (sid = prod)))" -rootdir $APPL_TOP/personalizations
    java oracle.jrad.tools.xml.importer.XMLImporter $APPL_TOP/personalizations/oracle/apps/fnd/cp/viewreq/webui/customizations/site/0/CPViewRequestPG.xml -username apps -password *** -dbconnection "(description = (address_list = (address = (community = tcp.world)(protocol = tcp) (host = localhost)(port = 1521)))(connect_data = (sid = prod)))" -rootdir $APPL_TOP/personalizations
    6. After install on PROD, You need to "bounce the apache". Additionally, it need to modify / upply button once on a region link. Right now I can not explain exactly, how it helps... But finnaly changes after 'XMLImporter' command will applyed after modify / upply manipulations.
    Edited by: rsn on 13.05.2011 11:16

  • How to add coloumns in the static text view

    Hello all,
    I am using answers and I want to use the static text view
    Now I want to make my own table.
    I was thinking somthing like this:
    <TABLE>
    <TR>
    <TD>
    @1
    </TD>
    </TR>
    </TABLE>
    Where @1 is the first column on my answer report.
    Unfortunately this isn't working.
    I can't find anything in the manual about this.
    I know @1 works for the ticker view, so thought it must work on the static view as well

    Hi
    Use a Narrative view instead, works perfectly.
    Ed

  • How to Add Hyperlink to Static Text View

    It's possible to add Hyper link or local link(when click that link. then it shows some text in message box) to some part of the Static text view.
    for example, my Static Text view Contains following text,
    Laptop , Desktop, Mobile
    now i want to add that link to Desktop or any other text. like
    Mobile
    kindly help me.

    Hi J Sathish Kumar,
    From your description, it seems that you have a RichEdit Box control and you want to add a hyperlink feature to your RichEditBox control. Could you tell us what type project do you want to use, windows form, WPF or native MFC?
    For using windows form and WPF, you should be easy to find some ways to achieve your goal on the web. For example,
    http://stackoverflow.com/questions/435607/c-sharp-how-can-i-make-a-hyperlink-work-in-a-richtextbox
    For using native MFC, you may need to get the text range, add the underline,change the text color and use wm_notify to notify the parent windows about a click on a hyperlink.
    I make a quick research on the web, and I find this should helpful for this issue.
    http://www.flounder.com/richedithyperlinks.htm
    Best regards,
    Shu Hu
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How the repository variable work on the dashboard report in static text

    I would like to display something like the below on the dashboard prompts in static text.
    The Data extracted as of <repository variable>
    I created a repository variable which extracts the last updated date of the warehouse.
    The static message on the dashboard should show as above where repository variable should be the last updated date from the warehouse.
    I appreciate if anyone can help me do this.
    Thanks in advance.

    1) Put an extra column in your workspace. It doesn't matter what column you choose. Drag this column all the way to the left so it is the first column in your Request.
    2) Click on the fx button and delete the contents.
    3) Click on the "variable" button on the bottom right of the fx window, select "repository variable" and then type the name of the repository variable you created.
    4) Go to the Narrative View.
    5) Type the text, "Data extracted as of" and then type @1.
    6) Change the "Rows to display" (right-side of the Narrative View window) to 1.
    7) Add this view to your Compound Layout.

  • [OBIEE 11g]Can "Static Text" use parameter like "Narrative"?

    We need to add some notes to a report and need get text from one column of result. I know we can use @1 to get the 1st column in Narrative, but in Static Text it fails. Does Static Text support that?
    We need this because in 11g, "HTML markup" broken in Narrative.

    Hi,
    No it will not support.Even in 10g we cannot show column values using @columnnumber or @{presentationvariable} in static text.
    Narrative view support sin both versions.
    Regards,
    Srikanth

  • Adobeform: Need to print a static text on backside of every page.

    Hi Experts,
    My requirement is to print a Static text on backside of everypage through Adobeform (duplex printing).
    that is front pages of my output will have item data and on the backside of every page i have to print a static text. the output can be upto N pages.
    so every paper should print item data in odd pages and Even pages will print same static text.
    To handle this, I had set print mode to duplex printing. I have created 2 master pages, in the design view of first page, i have binded it to item data table and 2nd master page contains only static text. 
    and tried all possible combinations in pagination. But couldn't get the desired result.
    Your help is very much appreciated.
    Thanks in advance.

    Hi
    Do it like this way .
    Create two Subform one for Item data and one for Static text.
    Place both these subform on the master Page and during the runtime hide the subform2 which is for (Static text) through JavaScript and vice versa . In this way you can achieve the desired result.

  • Static text in ALV Report

    Hi,
    I have a requirement to create an ALV report which has to display some static text on each page. In the format below, the line item texts and sub total texts will be the same for each page. Each page displays data for one company code. The company code should be displayed on the top of page.
    Line Items    Sub totals          Amounts
    Line item 1                              Amt1
    Line item 2                              Amt2
    Line item 3                              Amt3
                            Sub total          1-3
    Line item 4                              Amt4
    Line item 5                              Amt5
                            Sub total        1-5           
                                                 Total
    1. How to display the same item texts on each page? Can I use text symbols to avoid hard coding?
    2. How do I get sub totals?
    3. Display company code on top of page according to the viewed page?
    any sample code greatly appreciated.
    Thanks,
    MJ

    Hi,
    I have a requirement to create an ALV report which has to display some static text on each page. In the format below, the line item texts and sub total texts will be the same for each page. Each page displays data for one company code. The company code should be displayed on the top of page.
    Line Items                       Amounts
    Line item 1                        Amt1
    Line item 2                        Amt2
    Line item 3                        Amt3
    Sub total                             1-3
    Line item 4                         Amt4
    Line item 5                         Amt5
    Sub total                            1-5           
       Total                               1-5
    1. How to display the same item texts on each page? Can I use text symbols to avoid hard coding?
    2. How do I get sub totals?
    3. Display company code on top of page according to the viewed page?
    any sample code greatly appreciated.
    Thanks,
    MJ

  • Need to have static text on every page of a MS Excel report exported from SSRS

    I need to place an object with a brief static text message in a report using SQL Server Reporting Services 2008 R2.
    When that report is exported to MS Excel from Report Manager and viewed, this static text object must appear "once" at the bottom of every page without using "print preview."
    Furthermore, it must appear only "once" on every page regardless of both the number of groups as well as the number of records in each group.
    Thanks in advance.
    Sincerely,
    Mike

    Hi Mike,
    By default, Excel does not have a concept of a "page" in "Normal" view. So when we export the report to excel and open the file, Excel automatically hides the footers as they are displayed in "Normal" view. Since this issue is relevant to Excel, if we want
    to see the page footer in Excel, we can try to switch to "Page Layout" view in the View Tab. Just as you said, they also shown up while printing.
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Presentation Variable in Legend or Static Text

    Hi Experts,
    Is it possible to call the Presentation variable in Legend or Static Text View.
    Please let me know how can I achive this.
    Thanks,
    Balaa...

    Take a look at this. It shows you where you can use session, repository and presentation variables and their syntax:
    http://shivabizint.files.wordpress.com/2008/10/obiee-variables-overview.jpg

  • Bold Static Text in Email Body.

    dear sir,
    i have an email option in my application ,
    I need Some Static Text Bold In Body . i am using <b></b> But It's not Working .How Can I Bold Static Text.
    DECLARE
    l_id number;
    to_add varchar2(1000):=:P1_TO;
    from_add varchar2(1000);
    l_body varchar2(4000):=:P1_DESCRIPTION;
    l_sub varchar2(1000):=:P1_SUBJECT;
    l_regd varchar(100);
    I_isue_dte date;
    BEGIN
    select email_id into from_add from user_mas where user_id=:app_user;
    select user_name into l_regd from user_mas where user_id=:app_user;
    l_id:=APEX_MAIL.SEND(
            p_to        => to_add, -- change to your email address
            p_from      => from_add,
            p_body      => '<b>Issue Information</b>'||''||chr(13)||chr(10)||chr(13)||chr(10)||
                                 '<b>Issue Title</b>'||':'||l_sub||CHR(13)||chr(10)||
                                  '<b>Issue Open Date</b>'||':'||I_isue_dte||''||chr(13)||chr(10)||CHR(13)||chr(10)||
                           <b>'Most Recent Comment</b>'||':'||''||chr(13)||chr(10)||
                           l_body||chr(13)||chr(10)||''||CHR(13)||chr(10)||'Regards'||chr(13)||chr(10)||''||l_regd||CHR(13)||chr(10)||CHR(13)||chr(10)||'<b>Please do not reply to this email.If you wish to update the call.please login to the issue Management.</b>',
      P_subj      => I_case ||' Issue '||l_sub);
    COMMIT;
    apex_mail.push_queue(
    P_SMTP_HOSTNAME => '102.111.0.9',
    P_SMTP_PORTNO => 25);
    commit;
    END;How can i do this.
    Vedant

    I would build your email something like this:
    DECLARE
    l_id number;
    to_add varchar2(1000);
    from_add varchar2(1000);
    l_body CLOB;
    /* I would add an l_body_html and create the body of my Email message here and feed it to p_body_html so that
    you can have a reply for folks with and without html browsers.
    l_body_html CLOB;
    /* You need to make sure if you have l_body and l_body_html that they are the same format */
    l_sub varchar2(1000);
    l_regd varchar(100);
    I_isue_dte date;
    l_description varchar2(4000);
    BEGIN
    l_description := :P1_DESCRIPTION;
    to_add := :P1_TO;
    l_sub := :P1_SUBJECT;
    l_body := 'Please use an Email client that uses HTML to view this message';
    select email_id into from_add from user_mas where user_id=:app_user;
    select user_name into l_regd from user_mas where user_id=:app_user;
    /* HTML EMAIL SETUP - HTML HEAD BODY */
    l_body_html := '<html>';
    l_body_html := l_body_html ||'<head>'||utl_tcp.crlf;
    l_body_html := l_body_html ||'</head>'||utl_tcp.crlf;
    l_body_html := l_body_html ||'<body>'||utl_tcp.crlf;
    /* END HTML EMAIL SETUP - HTML HEAD BODY */
    /* NOTE THAT l_body_html just keeps getting the lines added to it */
    /* here is how I would setup your subject */
    l_body_html := l_body_html || '<b>Issue Information</b>'||utl_tcp.crlf;
    l_body_html := l_body_html || '<b>Issue Title</b>:'|| l_sub || utl_tcp.crlf;
    l_body_html := l_body_html || '<b>Issue Open Date</b>:'|| I_isue_dte || utl_tcp.crlf;
    l_body_html := l_body_html || '<b>Most Recent Comment</b>:'|| l_description || utl_tcp.crlf || utl_tcp.crlf;
    l_body_html := l_body_html || 'Regards '|| l_regd || utl_tcp.crlf || utl_tcp.crlf;
    l_body_html := l_body_html || '<b>Please do not reply to this email.If you wish to update the call.please login to the issue Management.</b>'|| utl_tcp.crlf;
    l_id:=APEX_MAIL.SEND(
            p_to        => to_add, -- change to your email address
            p_from      => from_add,
              p_body      => l_body,
            p_body      => l_body_html,
            P_subj      => I_case ||' Issue '||l_sub);
    COMMIT;
    apex_mail.push_queue(
    P_SMTP_HOSTNAME => '102.111.0.9',
    P_SMTP_PORTNO => 25);
    commit;
    END;

  • Help! Static Text Bug

    Hi all,
    So here's the situation:
    I have put a Javascript in the static text and whenever I click on "Contains HTML Markup", it interprets the code not only in the space for preview but in the whole page. So I can't save it since all it contains is the interpretation of the Javascript.
    So here's the code
    <script type="text/javascript">
    var length1;
    var year_first;
    var year_last;
    var temp=new Array();
    temp = '@{Year}'.split(",");
    length1 = temp.length;
    year_first=temp[0];
    year_last=temp[length1-1];
    if(temp.length>1){
    document.write("Year range is "+ year_first +"-" + year_last);
    else{
    document.write("Year range is "+ year_first);
    </script>
    Help please.

    Hi deepak,
    The JS is used for making the years prompted show as '1st chosen year - last chosen year' year. E.g. 2001-2004. Since the default output in titles are 2001,2002,2003,2004.
    Here is the screenshot when I try to check the Contains HTML Markup checkbox:
    http://i53.tinypic.com/vct4bt.jpg
    The whole page is replaced with the output of the JS.:|
    BTW, I haven't used the narrative view yet.
    Thanks!
    Edited by: Vindi on Aug 2, 2011 6:59 PM

  • Adobe form -- Issue in Displaying Dynamic text along with Static text

    Hi All,
    I am having an issue when i am displaying a dynamic text along with static text in adobeforms.
    The dynamic text is slightly coming down and not aligned with the static text. i can see half row it is coming down.
    how to align both texts to be printed in same format.
    Request all of your expert advices in achieving this .
    Thank you in advance.
    Thanks&Regards,
    Phani Miriyaila.

    Hi,
    Select both dynamic and static text in the layout. Goto Object palette -> Layout. Give values to X,Y coordinates and Height & Width. Anchor properly and specify margins as well.
    Select both dynamic and static text in the layout. Right click on it and goto palettes -> Paragraph. It gives you the text alignment options. Align the text and give similar font and size.
    Thanks & Regards,
    Sanoosh

Maybe you are looking for