Using alerts from ApEx 2.2

I want to use alerts from an ApEx application (after I insert to a table for example), the problem is that alerts can only be run as the apps account.
Is there a way to make alerts work?

The question was misunderstood.
Because Oracle apps uses a different security scheme then apex you'll really have to code for it within your alert. Any user that updates/inserts/deletes on the table you would base your alert on will fire the trigger not just "apps" user. However because the apex users are not apps and not in fnd_user table the transaction would get recorded as anonymous user (user_id = -1). Probably the best you could do would be put some "if" statements in your alert to check for user not found in fnd_user then make a v('APP_USER') call to get the apex user_name. Because your dealing with two different security schemes you can't do anything but work around's.
Todd

Similar Messages

  • Using alerts with ApEx 2.2

    I want to use alerts from an ApEx application (after I insert to a table for example), the problem is that alerts can only be run as the apps account.
    Is there a way to make alerts work?

    The question was misunderstood.
    Because Oracle apps uses a different security scheme then apex you'll really have to code for it within your alert. Any user that updates/inserts/deletes on the table you would base your alert on will fire the trigger not just "apps" user. However because the apex users are not apps and not in fnd_user table the transaction would get recorded as anonymous user (user_id = -1). Probably the best you could do would be put some "if" statements in your alert to check for user not found in fnd_user then make a v('APP_USER') call to get the apex user_name. Because your dealing with two different security schemes you can't do anything but work around's.
    Todd

  • How use DLL from PL/SQL

    Dear Mr/Mrs,
    My system is
    1.Oracle Database 10g express edition(with apex 3.2)
    2.Windows 2003 server
    3.GSM Modem(usb cable + Vendor Provided dll for developer)
    4.Mobile SIM card
    Now ,i want to send SMS from Database.
    N.B: email to sms is not my intention
    Thanks
    Engr.M.K Chowdhury

    Hi,
    What's wrong with the last answer Re: Using DLL from apex ?
    Regards
    Peter

  • Error when print report from apex using apex listener 2

    Hi
    Apex 4.2
    I want print report to pdf from apex using apex listener 2.
    The print server 'Oracle APEX listener' has been defined at the instance-level.
    ACL has been configured.
    I attempt to download a report in PDF mode, it appears that it downloads,
    but when I go to open it up I get an error that the file is of the wrong type or possibly corrupt.
    Upon opening the file in Text editor, there is an error as below
    %PDF-1.4
    1 瀛楄妭鐨?UTF-8 搴忓垪鐨勫瓧鑺?1 鏃犳晥銆?

    If you use Windows the user that runs the reports server is usually LocalSystem. Check this in the Windows Services panel.
    LocalSystem has no printer access. To be able to print, you have to use a real domain user that has access to the printer. So, change the Log on properties in the Services panel.

  • Can BI Publisher comes with EBize be used to print pdf report from APEX?

    Hi,
    We have EBiz suit (11.5.10) with APEX 3.2. Both are working fine. I want to enable APEX to develop PDF reports. I would like to know whether I can use BI Publisher comes with EBiz to print PDF from APEX.
    If yes where can I get instructions on how to setup APEX with BI Publisher with EBiz.
    TIA
    DineshS

    I'm not aware of the BIP/XMLP Web Services being available in the embedded EBS version (XML Publisher 5.6.3). But you might be able to create your own wrapper to the XMLP APIs in EBS.
    Regards,
    Gareth

  • Physically printing a report from Apex using BI Publisher

    Hi,
    I know it is possible to generate and download a PDF (or any other format) in Apex using BI Publisher (Apex 4.0.2)
    But is it possible to physically PRINT a report in a specified printer? For example, the user clicks a button and the report comes out of the printer just like that.
    Note: I am NOT after a solution where the report is firstly displayed on the screen and then the user performs some action to print it from there (that is pretty easy to do.)
    I know that BI Publisher can do it, as its web service has an option to do so.
    Thanks
    Luis

    Hi Luis,
    not sure this is possible.
    Only SOME of the features of BI Publisher are used from APEX as a service to create the reports.
    *) I am not aware of any parameters / attributes in APEX so that you could specify a printer directly
    *) It is not part of the API you could use instead manually:
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_util.htm#CHDGFADB
    I have just recently implemented that myself for an integration with JasperReports. It is currently in beta test:
    http://daust.blogspot.de/2012/08/jasperreportsintegration-200-beta-test.html
    Thus your options are:
    *) I am not sure that BI publisher allows that but perhaps you could first call the apex utility function apex_util.get_print_document to retrieve the blob from bi publisher. Then perhaps (if allowed) send the blob again by yourself and using the print features of bi publisher.
    Here you would have to write the utl_http communication yourself.
    *) If bi publisher doesn't allow the separate process (generation first and then sending it to a printer) then you would also have to write a j2ee application which does that.
    *) another option could be to store the generated blob in the filesystem on the database and call a shell script from within the database. This shell script would send it to the network printer.
    Hope that helps,
    ~Dietmar.

  • Window.open function in java script used to open the BI report from APEX

    Hi,
    I have some oracle reports now which I converted to BI publisher and the reports are now in BI publisher.
    My question is
    To open the BI report from APEX using a button the following code i have written
    window.open
    ('http://bipubdvserver/xmlpserver/testreport/testreport.xdo?_xpf=&_xpt=1&p_dept_no=&deptno',"mywindow");
    I want to pass the parameter deptID dynamically to call the BI report.
    But when I click on the button it is showing the file open/save dialog box without accepting the parameter and finally showing the blank pdf.
    but I want to enter the parameter value dynamically that is when click on button it should allow me to enter the deptno eg. 10 then should show the data related to dept 10 in pdf..
    how to accomplish this could you please help me.
    thanks very much in advance.

    i got this please ignore the post.

  • Can I use Oracle Report Server to print from APEX? How?

    Hello, we have Oracle Application server, Oracle Report server and now we just installed APEX and doing a pilot project. Since we don't have BI Publisher, how can we use our Oracle Report server to print from apex report? Can it be done and if yes where can I get some detail info that I can share with our DBA?
    I have in past asked questions about the printing issues but I have been refered to http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html#01 section 5 which talks about another installation.
    Thanks so very much for any info.
    -iahmadi

    You can use FOP, but the formatting of the xsl (Xml Style Sheets) takes a little work. If you have the Oracle Reports server up and access to the development product, why not go that route?
    You want the filtering and sorting and searching, yes, but then you also want to print them out.. Then you would probably be best looking at replacing the Oracle Reports setup with BI Publisher. You can convert Most your reports over to bi publisher layouts easily.. (I have heard of some reports that do require recreating in Bi Publisher from Oracle Reports..)
    Then you can have your Apex Reports and call Bi Publisher from APEX and everyone wins..
    Is your Oracle Reports stuff used by non-APEX applications, that could be modified to use Bi Publisher?
    Thank you,
    Tony Miller
    Webster, TX

  • XI Alerts from UDF using file adapter.

    I need to send alerts from XI message mapping. I have the file ---> file scenario but don't want he stop the process if any failures in the mapping. If I find any failures, I need to catch the those failures and send as alerts/email report. As per the link /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function,  I am not sure whether  I can use LookupService for file adapter or not. Can anyone give me some idea on how to send the alerts from UDF using he file adapter ?

    Try this...
    public String Mail_Test(String input,Container container){
          // Recipient's email ID needs to be mentioned.
          String to = "<Recipient mail ID>";
            // Sender's email ID needs to be mentioned
          String from = "<Sender mail ID>";
           // Assuming you are sending email from localhost
           String host = "<Hostname of the SMTP server>";
           // Get system properties
           Properties properties = System.getProperties();
          // Setup mail server
          properties.setProperty("mail.smtp.host", host);
          // Get the default Session object.
          Session session = Session.getDefaultInstance(properties);
           try{
                 // Create a default MimeMessage object.
                MimeMessage message = new MimeMessage(session);
                 // Set From: header field of the header.
                 message.setFrom(new InternetAddress(from));
                 // Set To: header field of the header.
                 message.addRecipient(Message.RecipientType.TO,new InternetAddress(to));
                 // Set Subject: header field
                 message.setSubject("Check the problem dude...");
                 // Now set the actual message
                 message.setText("You did blunder correct that...");
                 // Send message
                 Transport.send(message);
                 System.out.println("Sent message successfully....");
          catch (MessagingException mex) {
                mex.printStackTrace();
                throw new RuntimeException(mex.getMessage());
          return input;

  • Dear All, I'm using Cisco ASA 5505 Firewall and I want the email alert from my Firewall if the CPU increase more than 70 %. Is it possible, Please help me. Thanks Vijay

    Dear All,
                         I'm using Cisco ASA 5505 Firewall and I want the email alert from my Firewall if the CPU increase more than 70 %. Is it possible, Please help me.
    Thanks
    Vijay

    Hi Vijay,
    If can be done but you need any network management software. I personally dont think you can ask your ask to send mails. ASA can trigger alert to a SNMP configured server which will intern send mail to you 
    HTH,

  • I bought some ringtones and alerts from itunes and it won't let me use them for text alerts or voicemail.

    I bought some ringtones and alerts from itunes and it won't let me use them for text alerts or voicemail. Am I doing something wrong? Other ringtones I have downloaded work.

    What does won't let you use them mean exactly?

  • Couldn't recieve alerts from Nexus 1000v using CiscoWorks

    I set up automated action and syslog.log shows the message. But still i couldn't recieve alerts from Nexus 1000v switches indicating ESX host is online or offline. I was able to recieve these alerts before. But failed to receive thos recently. What can be the reason. If it helps the SyslogCollector Status shows lots of invalid messages. I am not sure if those are messages that do not confirm to standard syslog messaging format.

    Hi Ming,
    Currently there is not a way to change the the binding type of portgroup. It is always set to "static binding"
    -Sean

  • How to send BI Publisher reports as email attachments from Apex

    Hi there,
    Before I start working on this new endeavor, I would like to check if it is even possible...
    Here we have Apex 4.0.2 and Oracle BI Publisher Enterprise 10.1.3. We use the Apex integration with BI Publisher to generate PDF reports.
    Now there is a requirement that those reports should be optionally sent by email as attachments (ideally from Apex itself or from a database procedure in the Apex application schema.)
    I am not sure how to do it, as such reports are generated by calls to URLs like this:
    http://server/apex/f?p=123:0:3370070991917144:PRINT_REPORT=reportname:NO::PARAM1:123 => opens a PDF in the browser window
    Is it possible to be done? If so, how?
    Thanks
    Luis

    hello,
    there is no native support for directly faxing a report. you could e.g. use a fax-software that has a printer-driver that supports this.
    regards,
    the oracle reports team

  • Calling Oracle Discoverer Report from Apex

    How to call Oracle Discoverer Report from apex application?
    Thanks!

    The report is on a different data base ... need to create a process to get the data into the view behind the report and then materialized view in Apex etc .Then recreate the same report in Apex. But I am trying use the disc report url to invoke the report directly from apex.
    Any suggestions or thoughts are greatly aprreciated.

  • How to open file system file from Apex?

    Hi,
    Can someone help me to find how to open a pdf file e.g. test.pdf from apex when someone click on a button ABC?
    The file is located in /C/
    Thanks in advance
    Dip

    You can use the Onclick event and window.location to show the file when the user clicks a button.
    <input type=button onClick="window.location= 'file:///C:/Documents%20and%20Settings/rchamarthi/Desktop/test.pdf' + document.form1.cmuds.value;" value="Open File">The actual location of the file is "C:/Documents and Settings/rchamarthi/Desktop/test.pdf"
    Since the location is treated as a URL, remember that it should be URL encoded.
    Hence all spaces should be replaced by '%20' (32 being the ASCII for space and 20 in hex -> 32).

Maybe you are looking for