Javascript on page (used for OBI integration)

I have been working from a document posted on MyOracleSupport entitled "Integrating OBIEE with PeopleSoft." The method described is placing a button and an html area on a page and inserting javascript to "push" the button and launch the code that creates a token and opens an OBIEE report.
I have been stuck on the first piece (inserting the javascript), and "Support" has not been helpful so far.
The instructions are to add this code to Component PreBuild PeopleCode.
Local Field &HTMLField;
&HTMLField = GetField(DERIVED_OBIEE.HTMLAREA);
&HTMLField.Value = "<script type='text/javascript'> eval(""submitAction_""+document.forms[0].name+""(document.forms[0],'DERIVED_OBIEE_OPRID');"") </script>";
The author notes that "this sets the initial content of the HTML Are to a script that effectively hits the Refresh Button that then fires the DERIVED_BIEE.OPRID.FieldChange event."
Both the HTMLAREA and button (OPRID) are at level0 and at the top of the page order, and I have been told that there is nothing in the HTML object to begin with.
When I open the page, however, all I get is an HTML area that contains the literal code from above. Nothing executes.
What am I missing?

Did you set the page field name on properties of the HTML area? In your case you should probably set this to DERIVED_OBIEE.HTMLAREA.

Similar Messages

  • What is the "page" used for?

    I cannot find any information in the RoboHelp for HTML help
    that explains what a "page" is for, and why I would want to use it.
    Can anyone point me in the direction of an explanation of why you
    use pages?
    I suspect that the use of the page may help me with the XML
    output from RoboHelp that I need for display within another
    program. What is need is to export XML to QT Assistant, which
    cannot make use of the empty book files from RoboHelp and instead
    requires files to have content. I may have got this wrong, however,
    and am happy to correspond with anyone who has experience with QTA.
    Thanks,
    Anne

    Thanks Colum. May your roses stay safe and beautiful!
    You may well be right, but I still don't understand. Until
    now, I have always created topics as part of books, without any
    need for pages. Why does someone ever need to create a page, if the
    topic can have the direct connection to the TOC?
    Looking forward to your answer (which probably bears no
    relationship to QTA).
    Thanks,
    Anne

  • Pages use for multiple logins for 1 computer

    How do all the different poeple logging in to my computer use Pages, numbers??  
    at the moment, I am the only one with pages and numbers

    Mark,
    You should all be able to use iWork apps, and most other apps, I would think. My guess is that somehow your iWork apps were moved out of the main Applications folder. If your Numbers and Pages apps are not in Macintosh HD > Applications > iWork '09 they won't get properly updated as revisions are released via Software Update, and they may not  be available to other users.
    Jerry

  • Want to make JMenuMaker to be used for web!!!

    I want to know is there a way to make drop-down menu in the middle of a web page for example think about the browser menubar in the top of this message.
    Can the predefined java classes be used for this job?
    you may asked what it will be used for.If you have a web site that has huge content then you can find you way easyly by the help of links in this Menu.I know Javascript can be used for this but I want this Menu to be dynamic that is I want to add new links to this Menu without changing the code of the program.
    Please do not advice other than what I need...
    thanxxx...

    I found the answer at last.
    The reason the applet brings up a window to demonstrate menus is that the AWT limits where you can use menus. Menus can exist only in menu bars, and menu bars can be attached only to windows (specifically, to Frames).
    I said I don't want to make an application.If I use menus in my applet and embed it to html it won't work...

  • How to show modal window without popup in a web page using javascript

    Hi,
    How to show modal window without popup in a web page using javascript, means when the modalwindow is opened it should not ask for popup blocker alert......
    pls help me.....

    Thanx for ur reply,
    Actually the senario is when i click on a button, another jsp page should be displayed in a modal window without popup, but the functions alert() and confirm() will not accept the url path of the another jsp page...

  • How do you create a login page using dashcode for the iPhone's mobile safari that will transfer you to the next page?

         Hey I have created a login page in Dashcode for a mobile safari app (aka iphone web app) and I am having trouble since I can not find any useful info about multiple pages. I don't want to use a stack layout view because it is only a login page and I need to check with a database to make sure the user's login info is correct. Right now I have it set up so that it loads another iphone web app project once it validates the info.
         The only problem with this is I am having a good bit of trouble trying to pass values from my php code to javascript or html. For some reason calling the javascript inside the php code makes the actual code inside the app not be called and same with the echo statment for the html.
    So I would like to be able to create the app in this way:
    Login page > PHP > MS SQL > PHP > UNKNOWN (if I can't get the javascript or html to output both) > Secure info on the next page
         I believe It would be a lot easier if I had the option for a multiple page but instead I am having to load up an entirely new dashcode project. If anyone knows a better way please let me know. Or if anyone knows a link to good information on passing values from php to javascript, because I couldn't get any of the code I tried to work, I would really appreciate it.

    Addendum to previous reply:
    OK.  This is weird--but I should be used to that, and just grateful that it seems to work (for now).
    What I had done is FTPd some image files to my site using Filezilla, but when I had tried to access them, I was unsuccessful.  I am almost sure that I used the same url (and variations of it) as you suggested, namely,  http://mysite.verizon.net/username/filename , and it either did not work, or gave me the "Page under construction", or, in some cases asked me for my username and password.
    But, when I did it this time, it worked.  So I probably had something off, but I can now do what I want.
    By the way, if you'll permit another question, while on the site-builder site, it said that there was a "Web Photo Manager", and said that "To download the Web Photo Manager: Open the Site Builder application and go to the All My Sites page. Click on the Web Photo Manager link (listed under Advanced Building Tools )."  I can't find it--would you happen to know where it is?
    In any case, thanks a lot for all your help--it solved my problem. 

  • Problems with Use Cases for Process Integration

    Hi there,
    I'm reading the "Simple Use Cases for Process Integration" (http://service.sap.com/xi -> Media Library ->
    Documentation) and try to setup the variants 1 up to 4. As per description I created the Technical and Business Systems in the SLD. Everything worked fine. But I can't find the created business systems in the Integration Directory When I click on Objects tab page -> Services without party and and choose Assign Business System, I can't see the desired business systems in the list. What am I doing wrong?
    Cheers
    Marc

    hi Marc,
    maybe the business system was already assigned?
    1. check if the business system exists in the SLD
    2. check if the business system exists in directory
    3. refresh SLD cache (in directory menu)
    4. try assigning once more
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Controlling shockwave content (dcr) from a web page using javascript

    Hi,
    Is it possible to control shockwave content (dcr; object="application/x-director") from a web page using javascript?
    I believe this is possible using 'FSCommand' in Flash...
    I'd like to use HTML to do something like:
    - html_object[1].go(10);
    to send playback to frame 10.
    Thanks.
    Mark

    Sean,
    Thanks - this is exactly what I was looking for.
    'Shockingly' difficult ( pun intended :-)
    Someone really put in some effort on this.
    Very creative solution, putting a flash ( swf ) component in a director project and communicating indirectly through the flash element.
    Apparently, Javascript can communicate with the SWF file & the SWF file can communicate with the DCR file, but it is not possible to have Javascript communicate directly with the DCR. Too bad.
    After looking over this example I think I'll rethink my project.
    Thanks again.
    Mark

  • How to: Print table on first page, use second page (back) for text only

    Hi, I am looking for a clear document on how to use pagination and the Odd and Even pages.
    We need to print a table over several pages, but only on Odd pages.
    On the back of each page we need to print "Terms and Conditions". Is that possible? Can it be done without scripting
    We are on ADOBE version 8.1
    In the file properties, double sided is switched on, and version set to 8.1 and higher.
    I created two Master pages, a FrontPage with ContentArea1and a BackPage with ContentArea2.
    FrontPage is used for uneven pages, BackPage is used for the even pages. The masterpages are printed correctly (alternating properly).
    Two pages were created for the content area's:
    ITEMS: contains item data (table with header and footer). Place is "On Odd Page". After "Goto page BackPage". And if the table needs to be paginated it goes to BackPage with overflow leader "Conditions".
    CONDITIONS: contains a textfield (Terms and Conditions). Place is "On Even Page". After "Goto page FrontPage". No overflow.
    What should happen is that on the front pages the item table is printed. If there are too many lines it should overflow to page number 3 then 5 etc. All the even pages should display the text.
    What actually happens is that the item table also gets printed in the content area for the Condition text...
    Also the "Conditions" are not printed on the last back page. But only once before it...
    Cheers,
    Edwin.

    Fixed it... After a lot of creating, deleting, playing around with pagination and the inevitable cursing...
    I have created 5 pages:
    1. FirstPage
         - Odd/Even: Odd (Front) Pages
         - Placement: First page (In page set)
    2. FrontPage (For Odd pages)
         - Odd/Even: Odd/Front Pages
         - Placement: Rest of Pages
    3. BackPage (For Even pages)
         - Odd/Even: Even (Back) Pages
         - Placement: Rest of Pages
    4. LastPage
         - Odd/Even: No Odd/Even Restrictions
         - Placement: Last page (In page set)
    5. DummyPage
         - Odd/Even: Blank pages
    The 'Terms and conditions' are located on the BackPage and LastPage (as a text).
    The table that is printed is (of course) located on a normal page (flowed subform).
    Pagination tab: Placement = Following previous, and After = "Continue filling parent". No overflow... Basically, it's all default.
    The table lines will now start on the first page and if there are more lines than can be printed on this page, it will continue in the next content area. That will be on the FrontPage.
    The trick is that each master page must have a content area (mandatory). Except for Blank pages, but these cannot be used... Blank pages would only be used once, after the first page.
    What I discovered is that you can drag a content area away from the Master page and attach it to a different master page.
    Logically, if there is no content area on a page, then data cannot be printed there. So, I created a Dummypage. On this page I dumped the content areas from the LastPage and the BackPage. As a result, content cannot be printed anymore on the back of pages. Only the standard text (a text field) is printed there. When the data from the table is overflowing, it will automatically overflow from the FirstPage to the next content area. Which is located on the FrontPages only.
    The DummyPage is NOT used anywhere.
    The result is that the records can only be printed on the content areas that exist on the First and Front pages. The back pages are now skipped.
    Duplex printing is now working correctly, and the text is printed on the back of all the pages.
    Cheers,
    Edwin.

  • HT5361 I have Snow Leopard on my late model IMac. I downloaded Mountail Lion and paid for it from the Mac Store. It will not install. It takes me through several pages and then button to install is greyed out. A message that this disc is used for Time Mac

    I have a late mode IMac 27" running Snow Leopard. I downloaded Mountain Lion from the Apple Store and paid for it. When I trie to install it took me through the first few pages of installation such as agrreeing to terms and the Lion Page showed up asking where I wanted to intall Mountain Lion. The install button was greyed out. I also had a message this disc is used for Time Machine. I had no other disc to choose from. Time Mahine was in the OFF position. I tried hooking up an external drive and tried using it as th Time Machine Backup. That did not work and it also said this disc is used by Time Machine. I have read of several other cases like this but have found no solution other than doinh a complee wipe of the hard drive and doing a reinstall which I really want to avoid if I can.

    Look at the root of your hard drive for a folder called Backups.backupdb.
    Or, a sparse bundle disk image for one of mobile computers that might have tried to back up to your Mac.
    If you have those, remove them and try again.

  • What are the parameters "page-forward" and "page-backward"  used for?

    In the LIMITS section of the Netscape Calendar Server configuration
    documentation, there are two parameters called "page-forward" and
    "page-backward." The default setting for these parameters is FALSE. However,
    it is unclear what these parameters are used for.
    <P>
    With previous versions of Calendar Server, you could scroll one page forward
    or one page backward through the user search screens. However, with the
    implementation of LDAP in later versions, the options have been disabled in
    the client.
    <P>
    Although the page-forward and page-backward parameters are documented in the
    Administrator guides for Calendar Server versions 3.5 and 4.0, the guides
    state that the default value of FALSE for both parameters cannot be
    changed. In actuality, the parameters can be changed. However, the reason
    that users should not change these parameters is that versions 3.5 and 4.0
    do not support the page-forward and page-backward capabilities. So to avoid
    errors, please do not change these parameters from the default value of FALSE.

    if AdobeRGB is the more professional working space, then why not use that profile?
    on the web (and in unmanaged and broken work flows) sRGB is the safest profile (source space)
    just open your tagged Adobe RGB and tagged ProPhoto RGB document (use the embedded profile in each document)
    and go to View> Proof Setup: Monitor RGB (notice the loss in saturation? that's how most of the people on the Internet will be viewing your color, assuming you have a standard-gamut monitor like most people)
    always CONVERT to sRGB for the World Wide Web
    i didn't read your link
    anyone who recommends "disable color management in Photoshop" -- set Working RGB to "Monitor RGB" -- AND MOST UNBELIEVABLY -- "Don't color manage this document" (ignore embedded profiles) ------ is pretty mixed up (in my opinion)
    i will recommend reading JEFF SCHEWE and BRUCE FRASER for professional color management information

  • Getting Page Count for a Multi-Page PDF file using Illustrator script?

    Does anyone know how to get the page count of a multi page PDF file?  I know you can then open each page using the PDFFileOptions (pagetoopen).  But I need to know up front how many pages there are to loop thru to open each page and process each page.
    Any Ideas?

    This script i did for photoshop:
    OK so lets do it working on WIN and MAC without any shell script.
    This solution is not the best but its working.
    I used Try catch to solve it.
    Only issue is that you should at least somehow know how many pages you expect in pdf.. this mean if you are working with books or flyers...
    Then set the maxPagesCount to that number.
    I am working with pdfs with max 20pages.. so i start open the 20 then 19 then 18 and when i am success i know the amount of pages.
    Its not the quicker way but its usable.
    var maxPagesCount = 20;
    var actPagesCount = maxPagesCount;
    var opts1 = new PDFOpenOptions();
    opts1.usePageNumber = true;
    opts1.antiAlias = true;
    opts1.bitsPerChannel = BitsPerChannelType.EIGHT;
    opts1.resolution = 10; //it will load faster the test page
    opts1.suppressWarnings = true;
    opts1.cropPage = CropToType.MEDIABOX;
    myFunction = function () {
      try { 
          app.displayDialogs = DialogModes.NO;
          var fileList = openDialog();
          for (i = 0; i < fileList.length; i++) {
            actPagesCount = maxPagesCount;
            getPagesCount(fileList[i],maxPagesCount);
            alert(actPagesCount);
      } catch (exception) { 
        alert(exception);
    getPagesCount = function (checkFile, lastPageID) {
      try {          
        for (var checkPage = lastPageID; checkPage > 0; checkPage--) {
          opts1.page = checkPage;                    
          var docRef = open(checkFile, opts1, false);                  
          docRef.close(SaveOptions.DONOTSAVECHANGES);                  
          actPagesCount = lastPageID;                  
          return;                  
          checkPage=0;                              
      } catch (exception) {
        // Look for next page        
        checkPage--;        
        getPagesCount(checkFile,checkPage);

  • Is there a format for a file that I can use for attaching a one page document with photos embedded that will open in everyone's email automatically?   I've tried PDF and Word, but worked only in Mail.  Lost formatting when just copied and pasted in email.

    Is there a format for a file that I can use for attaching a one page document with photos embedded that will open in everyone's email automatically?   I've tried PDF and Word, but PDF worked only in Mail.  Word worked in nothing.  I also tried copying and pasting the document but lost all formatting when just copied and pasted in email.  Is there a way to do this?

    Are you sure PDF won't work? It should as what you're trying to do is pretty much what it is designed for (PDF - Portable Document Format). On a Mac anywone who receives the file should be able to see it in all its page layout glory by using the app Preview or Adobe Reader. Same on a PC, the file should be viewable as a PDF file using Adobe Reader and probably some other viewer (don't use PCs so not sure what other apps).
    What application are you creating the file in and are you sure you're exporting it correctly in PDF format, fonts and images embedded?

  • Safari 7.0.6, using Adobe Acrobat 11.0.10, aren't rendering pdf files in the Print Preview screen.  Additionally, only a single, blank page prints for a multi-page pdf document.  Any ideas?

    Safari 7.0.6, using Adobe Acrobat 11.0.10, isn't rendering pdf files in the Print Preview screen.  Additionally, only a single, blank page prints for a multi-page pdf document.  Any ideas?

    Figured it out.  It had nothing to do with the software levels of Safari or Adobe Acrobat.  Here's the fix:
    Open Finder/Applications
    Search "Internet Plug-Ins"
    Move any Adobe plug-ins to the trash
    Quit Safari
    Launch Safari
    Your pdf document should now render in Print Preview and print properly.

  • Please Help!  I have been writing using - Pages - app for years.  I still can not figure out how to make single spaces between paragraphs.  Pages automatically double spaces between paragraphs.

    I have been writing on - Pages- app for several years.  Pages automatically uses double space between paragraphs. I can not figure out how to make single space between paragraphs. Tried everything.  Please help!  

    Pages User Guide >  http://manuals.info.apple.com/en_US/Pages_UserGuide.pdf
    Open the user guide then press Command + F on your keyboard.
    Type line spacing in the search field top right corner of that window.

Maybe you are looking for

  • Simple button Button problem

    I am making a group of buttons that when each one is highlighted it displays a graphic on the other side of the screen So after I 2* click on my button and insert frame into the over state I place my picture here but when I run it the picture comes u

  • Modify Document Message Bar

    Once a form is created in LiveCycle and opened in Acrobat Professional, a bar (specifically, the document message bar) appears at the top indicating "please fill out the following form". Is there a way to modify the text that appears to something oth

  • Modal window for value helps WD ABAP in EP

    Using value helps in WD ABAP opens a popup window as modal window. The main Window is grayed out (ghosted). Questions: Is it possible to modify the colour and transparency of the gray out. It became much stronger from SPS10 to SPS12.

  • Peer2Peer Android Adobe Air Not Working !!!!!

    Hello All, I tried to create a small app for my mobile ( android 2.2.1 ) to chat, the app is not working here is the code : <?xml version="1.0" encoding="utf-8"?> <s:View xmlns:fx="http://ns.adobe.com/mxml/2009" creationComplete="view1_creationComple

  • OS X 10.5.8 and new Iphone 5

    Bonjour, mon Imac est sous OSX 10.5.8 et je n'arrive pas à synchroniser mon nouveau Iphone 5 faute d'avoir un Itunes 7. Comment faire ? Quelle mise à niveau est nécessaire et recommandée afin que tout fonctionne ? Merci. Hello, my Imac is under OSX 1