Web Applet close invokes On_Logon Trigger

Hello,
I have a customized On_logon trigger. When I close the web applet i,e click on X
icon of the web applet(Web forms), it invokes the On_logon trigger insted of simply exiting.
Any solutions to this.
Thanks
Sh

Hi,
If you are talking about the window inside the applet, then the WHEN-WINDOW-CLOSED Trigger might help. But if you are talking about the applet window, then it is not possible directly from Forms AFAIK.
HTH.
Regards,
Arun

Similar Messages

  • How can I open a saved report in WEBI applet

    Hello -
    We have successfully integrated the BO WEBI applet into our web application, and have created reports using the "Save As" option.  However, we don't seem to have access to these reports.  There does not seem to be an "Open File" or "Open Report" icon in the applet toolbar that we can use to access the reports that we have created and saved.  Is this capability not available in the WEBI?  There also doesn't seem to be an easy-to-find explanation of what we are doing wrong.
    Thank you for any help.

    Ted -
    Thanks for your response.  We tried what you suggested, and it does indeed work for the first document you load.
    However, now I see the effects of not having an Open icon in the applet's toolbar.  So we have a "list widget" in our app from which the user can select a report to load into the applet for viewing or editing.  The way it works, as you suggested, is to provide the doc id and name thru the applet parameters.   So after selecting a document, we rerender (via ajax) the panel that contains the applet, which, of course, causes the applet to completely reload - which is very ugly, clunky, and something that seems unnecessary. (We actually get an error when we try to select another report, telling us that we need to close down the applet and log in again, but this error is beside the point for now.)
    The first sentence of your initial reply was to say that there is no Open method.  By this, were you also implying that there is no java method call in the applet I can make via javascript on the page?  I would really like to be able to load a new document into the applet without having to suffer thru a reload.  Is there any java api exposed for the applet that I can possibly use to load a new document "on the fly"?  I haven't been able to
    Thanks again for any help.

  • Webi applet requires reauthentication when launched

    We call our webi (document viewer java applet ) in our jsp page by using the <APPLET> tag as documented by SAP
    We do our authentication before gaining access to the HTML but we noticed that for Firefox the applet is launched in a separate session and the user has to reenter the authentication details
    Is it possible to pass any authentication ( or even session information like a cookies ) to the Webi applet ?

    I've made a little progress on this. I turned on full debug in the Java Plugin console (by brining it up and pressing 5 to "set trace level to").
    It seems that the jar(s) preload only as invoked.
    I wonder what the preload adds as a benefit, if any?

  • I am getting a 404 not found message on my mac before the web page closes down

    I am getting a 404 not found message on my mac before the web page closes down. How do I fix this?

    Is it an internal or external web page? Does this occur on all web pages? If not, post the URL of one that 404s.

  • Web Applet Report that creates email for Opportunity Details

    Hi,
    I'm trying to create a report that creates an opportunity detail report. My Web applet works. The only issue is the HTML tags show up in the email, instead of formatting the narrative fields.
    Any input is appreciated.
    Regards,
    Jo Ann

    Were you able to at least insert column values into the email (subject line, body)? I've got this to work in the Custom Text Format field of a user's email column:
    @[html]<**a href="mailto:"@"?subject=Good%20Morning">@<**/a>
    (Ignore the asterisks)
    It does popup a blank email with the user's email in the To: line but what I want to do is pull in other column values from the record into the subject line and body of the email. How do I do that?
    Edited by: user729346 on Apr 11, 2011 8:53 AM
    Edited by: user729346 on Apr 11, 2011 8:54 AM
    Edited by: user729346 on Apr 11, 2011 8:55 AM

  • Global Web Applets and My Custom Home Page Report

    Hello,
    I setup a custom "My Home Page Report" which is great but does not display the report when you load the home page without clicking the "Generating analysis... Click here to view the results" link. Is there a way around this?
    I then setup a a Global Web Applet and embedded this on the main home page. When doing this I found you cannot have 1 section that spans the entire width of the page as you can with a report (To my knowledge?). I then tried putting two Custom Web Applets side by side to display the graph and report I wanted. This works however, I have vertical scroll bars although the reports are perfectly displayed and do not require any scrolling. Is there a way to get rid of the scroll bars?
    Regards
    Innoveer

    Innoveer, you can contact customer care and ask them to provision your On Demand application with the custom homepage "Execute Report Immediately" option. However, you want to make sure that this custom report loads quickly - if not it will delay the loading of your homepage.

  • Web applet report parameters

    Hi,
    I have created a report and exposed it in a web applet under account. Account id is beeing passed as parameter to the web applet as input to the report using P1,P2 etc. I want to add one more paramtere to the web applet to pass one more filter criteria to the report. How can this be achieved. Please give an example.
    Thanks in advance.
    Amlan

    Hello,
    Increase the number of parameters in P0, and continue with P3 , P4 etc in the end, same way as you have done for P1 and P2 etc.
    Thanks,
    Raghu

  • Java web service to invoke a stored procedure in the database

    Hi
    Does anybody have a example Java web srevice to invoke a stored procedure in the database
    regards
    Edited by: hrishy on May 20, 2011 12:11 AM

    hrishy wrote:
    Thanks i have modified the title so its easy to comprehendWrite the two parts mentioned above and post if you get problems with your code.
    First write code that calls the stored procedure and test that to make sure that it works.
    Then write a simple webservice and test it out to make sure it works. The integration should be trivial after that.

  • Javascript to do inline edits on web applet reports

    This would be a weired idea, i created a web applet report for some users of mine. I gave them a link that will take them to the particular record, now they were wondering if they could do an inline edit - which i flatly refused.
    I was wondering if any of you have done it with some javascript functionalities.

    smjohn,
    Mike Lairsons book Oracle CRM On Demand Reporting has a way to create edit links that open the record in edit mode, this might help you.
    cheers
    Alex

  • Web Applet - Reporting

    Hello,
    I have created a custom report and added it to a web applet. This applet is then made available on the opportunity page layout.
    This works, the report is displayed on each opportunity.
    What I want to do now is pass the Opportunity ID in to the report so the report is constrained to only report on that opportunity.
    In the custom web applet, you can select the opportunity fields and pass these as parameters.
    So is there some way of using this and the report url....to return the report constrained on that opportunity ID??
    Hope this makes sense.
    Regards
    Minesh

    The other operators that can be used for P1 :
    eq - Equal to or in
    neq - Not equal to or not in
    It - Less than
    gt - Greater than
    ge - Greater than or equal to
    le - Less than or equal to
    bwith - Begins with
    ewith - Ends with
    cany - Contains any (of the values in P3)
    call - Contains all of the values in P3)
    like - You need to type %25 in place of the usual % wildcard
    top - P3 should contain 1+n, where n is the number of top items you want to see
    bottom - P3 should contain 1+n, where n is the number of bottom items you want to see
    bet - Between (P3 must have two values.)
    null - Is null
    nnull - Is not null

  • Web applet to get pixel color

    I know nothing about java, but I 'll learn if I need. But first, I need to know if a java web applet can do the goal I need:
    A java web applet that can pass a specific pixel color on the browser windows to javascript. The coordinates of that pixel will stay outside the own applet borders.
    I don't know if this is the right forum, so can you please help me in any way?
    Thanks a lot.
    Julio Morales.

    juliochile wrote:
    I know nothing about java, but I 'll learn if I need.
    But first, I need to know if a java web applet can do the goal I need:Fair enough
    A java web applet that can pass a specific pixel color on the browser windows to javascript. Yes this can be done, but as I recall it was somewhat of a pain. It will also be browser-specific. If you ask me the requirement is probably flawed.
    The coordinates of that pixel will stay outside the own applet borders.Huh? So you need to sample a pixel? This post makes little sense. Post the exact use case. Way too vague.

  • Web Applet Problem OnDemandRdrtLogin Iframe

    Hi,
    we have multiple Web Applets attached to one object.
    The Administrator has no problem. We see all the Web Applet with the correct results.
    But if we login into the system with the standard user the first time we see the following link in each web applet.
    https://secure-ausomxdsa.crmondemand.com/OnDemand/user/analytics/saw.dll?OnDemandRdrtLogin
    After refreshing the window it does work normal and the correct web applets are shown.
    We are using iframes in the web applets.
    Has someone a solution or workaround for this issue. Did not found anything about the OnDemandRdrtLogin.
    Seems like the user hast o login in to the reporting the first time. I am a bit confused that it works with Admin user and with the standarduser it does not work.
    Kind Regards,

    Well I'm sure it must be something I'm doing, but what?
    I'm able to load another jnilib using a wrapper jar with no problem. I don't have the source to this jar and jnilib so I don't know how it is being done.
    I've created a simple jnilib and wrapper pair using the apple's Xcode template, but get the following error.
    Here is the stack trace:
    java.lang.ExceptionInInitializerError
         at CaMIDIappletTest.init(CaMIDIappletTest.java:86)
         at sun.applet.AppletPanel.run(AppletPanel.java:378)
         at jep.AppletFramePanel.run(AppletFramePanel.java:176)
         at java.lang.Thread.run(Thread.java:613)
    Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission loadLibrary.caMIDI)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         at java.security.AccessController.checkPermission(AccessController.java:427)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
         at java.lang.SecurityManager.checkLink(SecurityManager.java:818)
         at java.lang.Runtime.loadLibrary0(Runtime.java:816)
         at java.lang.System.loadLibrary(System.java:992)
         at JNIWrapper.<clinit>(JNIWrapper.java:14)
    So, why can my applet work with one wrapper jar and jnilib pair, and not my pair?

  • Web applet loadlibrary problem

    Hello,
    According to
    http://java.sun.com/sfaq/example/loadLibrary.html
    A web applet should be able to load a library from a method in the classpath.
    However, when I run my web applet, I get the error:
    java.security.AccessControlException: access denied (java.lang.RuntimePermission loadLibrary.caMIDI)
    I'm certain the method that is loading the library is in the classpath because when I remove this jar from the classpath, I get a class not found error.
    None of the jars are signed. I am using OS X 10.4.10.
    Any ideas,
    Thanks!

    Well I'm sure it must be something I'm doing, but what?
    I'm able to load another jnilib using a wrapper jar with no problem. I don't have the source to this jar and jnilib so I don't know how it is being done.
    I've created a simple jnilib and wrapper pair using the apple's Xcode template, but get the following error.
    Here is the stack trace:
    java.lang.ExceptionInInitializerError
         at CaMIDIappletTest.init(CaMIDIappletTest.java:86)
         at sun.applet.AppletPanel.run(AppletPanel.java:378)
         at jep.AppletFramePanel.run(AppletFramePanel.java:176)
         at java.lang.Thread.run(Thread.java:613)
    Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission loadLibrary.caMIDI)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         at java.security.AccessController.checkPermission(AccessController.java:427)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
         at java.lang.SecurityManager.checkLink(SecurityManager.java:818)
         at java.lang.Runtime.loadLibrary0(Runtime.java:816)
         at java.lang.System.loadLibrary(System.java:992)
         at JNIWrapper.<clinit>(JNIWrapper.java:14)
    So, why can my applet work with one wrapper jar and jnilib pair, and not my pair?

  • Web Applet: asset related on parent asset

    Hello,
    I managed to create a web applet in order to create a parent - child relationship for Tasks using the following code:
    <script type="text/javascript" id="customJavaScript">
    var Div_id = document.getElementById("customJavaScript").parentNode.id;
    var endIndex = Div_id.indexOf("Div");
    if(endIndex>0) {
    var Title_id = Div_id.substring(0, endIndex) + "_Title";
    var Title_obj = document.getElementById(Title_id);
    var newTD = document.createElement('td');
    newTD.innerHTML = "<div
    onclick=\"doNavigate('TaskNew?OMTGT=TaskEditForm&OMTHD=ActivityNewNav&TaskEditForm.Indexed
    Short Text
    0=%%%Id%%%&TaskEditForm.Type=To+Do&OMRET0=TaskDetail%3fOMTGT%3dTaskDetailForm%26OMT
    HD%3dActivityDetailNav%26OCTYPE%3d%%%Type%%%%26TaskDetailForm.Id%3d%%%Id%%%&OCTYPE=
    To+Do',false, this, null);\" onmouseover=\"toggleNavButton(this);\"
    onmouseout=\"toggleNavButton(this);\" onkeypress=\"onButtonPress(this);\"
    class=\"buttonChildTitleBarTD\" id=\"OpenActivitiesTB31607487*1\">&#160;New Related
    Task&#160;</div>";
    Title_obj.parentNode.insertBefore(newTD, Title_obj.nextSibling );
    </script>
    The child was associated to the parent based on a custom field named Related Activity ID (Indexed Short Text 0).
    Can anyone help me customize this code in order to make it work for Assets related on parent Assets based on the Related Asset ID custom field (ZText_30)?
    Thank you!

    Refer the post, your solution is also on the same lines:
    Web Link to Dashboard - Pass Variable Parameters Prompts
    OR
    Anyone Create a webapplet that displays a report.
    Edited by: NNK on Dec 9, 2010 1:02 PM

  • Web applet LinkedIn

    Hi, I've created a Web Applet under contact related info. the web applet name is LinkedIn and it displays the content of the web page (linkedin web page). the Web Applet HTML I inserted is:
    <IFRAME frameborder="0" src='http://www.linkedin.com/search?search=&keywords=%%%First_Name%%%+%%%Last_Name%%%+%%%Primary_Account_Name%%%' width="100%" height="100%> </IFRAME>
    Its purpose is to grab the name and company of a contact and display it. well it does that but it shrinks the related info display width and the height. another thing that happens is that the links of the Training and Support, Admin, My Setup, Deleted Items, Help, Sign Out will not show. please advise.
    Thanks David

    hi alex
    i am trying to filter my data and use an iframe simultaneously
    these aresome of the html snippets i tried in my applet
    <iframe src='https://secure-ausomxaya.crmondemand.com/OnDemand/user/analytics/saw.dll?Go&Path=%2fshared%2fCompany_31847_Shared_Folder%2fCall+History&Options=rfd&P0=1&P1=eq&P2=Account."Account Name"&P3=%%%Account%%%&Action=Navigate' width="800px" height="200px" frameborder="0" scrolling="auto"></iframe>
    <iframe src='https://secure-ausomxaya.crmondemand.com/OnDemand/user/analytics/saw.dll?Go&Path=%2fshared%2fCompany_31847_Shared_Folder%2fCall+History&Options=rfd&Action=Navigate'&P0=1&P1=eq&P2=Account."Account Name"&P3=%%%Account%%% width="800px" height="200px" frameborder="0" scrolling="auto"></iframe>
    <iframe src='https://secure-ausomxaya.crmondemand.com/OnDemand/user/analytics/saw.dll?Go&Path=%2fshared%2fCompany_31847_Shared_Folder%2fCall+History&Options=rfd&Action=Navigate&P0=1&P1=eq&P2=Account."Account Name"&P3=%%%Account%%%' width="800px" height="200px" frameborder="0" scrolling="auto"></iframe>
    The data doesnt get filtered out but it filters out if i use the url section of the applet and remove the iframe which in turn leaves a big blank space under my report
    Help!
    Edited by: Nick Advani on Dec 11, 2008 5:01 PM

Maybe you are looking for

  • Change logs for Shopping cart

    Hi, Is it possible to get the change logs for a shopping cart in SRM as to who deleted a line item after approval? We are in the SRM 4 version ( classic scenario). The problem is that the batch job user seems to be coming up in the last update for th

  • I had a problem with print preview of billing document.

    HI all, I had a problem with print preview of billing document which contains two output types ZR1 ZR2.. For the footer text of billing document I maintained the font size as 7,5 pts, But when i go for print preview from output type ZR1 the font size

  • JDBC sender adapter outofmemory error

    Dear friends, We are getting following error on JDBC sender Adapter: Error during conversion of query result to XML: java.lang.OutOfMemoryError: Java heap space (failed to allocate 1073741848 bytes) I have read blogs where there have been suggestions

  • Icon problem in photoshop cs4

    when I place a tool icon  such as the move or hand over a picture it shows up three times exp: ( ### ) how can I correct this problem?  to show only one exp: ( # )  using Photoshop  cs4

  • Function Module or BAPI to update a job's parameters like Spool retention

    Hi All, Anyones knows any BAPI or Function Module through with we can update a job's parameters  like Spool retention period or Spool request title or some other printer settings. Thanks in Advance. Regards, Shailendra