Programmatically create a subscription by e-mail interactive report

Hello!

I really like the functionality of interactive report whereby you can automatically send an interactive report as an HTML attachment using the subscription by e-mail. We have sent a requirement of application Apex to automatically send our supplier when their order has been set. What I would do, it is a process of page automatically by e-mail the interactive report (just like the email subscription) installation. However I have no idea how to do that. Anyone has any ideas of how I could do this?

For example programmatically create a new e-mail substription and then deleting it later with a call to the Apex API APEX_UTIL. IR_DELETE

We use the Apex 4.1 on an RDBMS 11 GR 2 on Linux.

-Boketi

I don't think that you can use for this e-mail subscriptions, use instead the PL/SQL to format your data in HTML and send email using APEX_MAIL. SEND APIS.

http://docs.Oracle.com/CD/E23903_01/doc/doc.41/e21676/apex_mail.htm#CHDDAAJE

Look at the post of Richards (rima) to send HTML email formatted APEX

Send the view / table in email

Tags: Database

Similar Questions

  • How to create a horizontal scroll bar for interactive report region?

    Hello

    I use APEX 4.2.5.00.08 and created interactive reports that contain many columns. However when viewing the results of the report, due to the large number of columns report/table data is outside of the region and a horizontal scroll bar appears in the window of my main browser. This seems not very good from the point of view of the customer/end user and I was wondering if it is possible the size of declare the region according to a specific size and have a scroll bar horizontal that it contains, so that users can view the rest of the report columns using the scroll instead bar rather than do what he done right now and go to the screen and having to use the main browsers horizontal scroll bar at the bottom.

    I tried on IE8, Chrome and Firefox 27.0.1 and get the same result. I tried to follow the ideas in this thread, in interactive report horizontal scroll bar, but nothing is.

    You have ideas on how I can get around this please?

    Concerning

    Hi user10248308


    Try this


    Step 1:-modify the interactive report

    Step 2:-under defination region-> header area

    put

    Step 3:-under area Defination-> foot of the region

    put


    Please come back if this is not yet resolved.

  • Interactive report > calculate the creation field > formula

    I am trying to create a calculation field in an interactive report in APEX 3.

    There are two fields: 'Plan Type' and 'Type of product.
    I want to create field calculate - balance 'My '.
    Condition is as follows:
    If the value of the 'Plan Type' field starts with 'FY11 AA' and the value of the field "Product Type" ends with "ABC" then "check my ' value of the field should be 'CHECK' else 'OK '.

    "Type plan"-"product Type" -"my check.
    FY11 AA123 - 123ABC - CHECK
    FY11 BB123 - 123KKK - OK
    FY11 CC123 - 123ZZZ - OK

    Would appreciate if you can write a formula to the previous case to me.

    Thank you
    Guy

    Hello

    CASE WHEN A LIKE 'FY11 AA%' AND B LIKE '%ABC'
         THEN 'CHECK',
         ELSE 'OK'
    END
    

    Replace the 'A' and 'B' with the relevant column alias appears on the screen.

    See you soon

    Ben

    Published by: Munky on 6 Sep, 2010 09:55 - typo

  • Reset the interactive report

    Hello

    Is it possible to create a process that gives an interactive report that is display all of the original columns in the original order etc..


    Thanks Andy

    Hello:

    The APEX_UTIL provides the methods below to achieve

    procedure ir_reset)
    -Interactive reports for application and current user session
    -Identical to a reset of the user via the menu drop-down
    -Reset recreates default filter, control breaks, display columns etc.
    --
    p_page_id number); -Valid number of page within the current application

    procedure ir_clear)
    -Erases an interactive report for application and current user session
    -Remove the filters for an interactive report
    -Clears all report filter, including the default filters
    -Clears all interactive reports for a given application page
    --
    p_page_id number); -Valid number of page within the current application

    CITY

  • Subscriptions interactive report - how to disable

    Our Apex bodies are backed up on a weekly basis. I have a subscription to an interactive report that works very well. I only get it from the production instance AND all instances of backup. I have not found a way to condition the subscription based on which instance it runs in. I can do in the report, but he always sends me a mail with a NULL value report.

    Anyone experience this problem? Is it possible to put a condition on a subscription of interactive report that she will be executed only if this is done in a specified instance?

    Put it anywhere you like. You can update the connection so that the first time someone uses the application, the subscription is disabled.

    However, since it is a single script so why don't you run the anonymous block just after the deployment of the application

    Kind regards

    Vishal

    Oracle APEX 4.2 reports | Packt Publishing

    Vishal blog

    Please mark the reply as useful/correct if it solves your problem

  • Subscription by e-mail IR problem

    Hello
    The subscription by email of my interactive report gets erased whenever I do an export/import of the page. The e-mail address column becomes NULL after import.

    Please help me solve this problem.

    Thank you
    Leo

    Hi Leo,

    When you perform an export of the full implementation of the e-mail subscriptions are included in the export file.
    But when you export a specific page that is not included.
    Because the page is deleted when you import it again attached to this page e-mail subscriptions are also deleted.
    You can use the instructions starting with the export of the application wwv_flow_api.create_worksheet_notify to recreate the subscriptions by e-mail.

    Kind regards
    Erik-jan

  • Programmatically create an appointment: missing variable in the container of result

    Hello world

    For my purpose of tests, I need to programmatically create a sequence. In this sequence, I need to insert steps from Rendezvous.

    Everything works very well when they are created, but when I run the sequence / stages created this error always appear for the appointment stage:

    • Unknown variable 'TimeoutOccured '; Error in the item "Result.TimeoutOccured".

    According to using TS, this variable must be created when I set up stage of the operation to date. Drag and drop step of inserting TS palette works very well, and the variable is created when you select the operation "appointment". But when you do the same thing through programming, the variable is not created.

    Here are the steps performed to create the Appointment stage:

    1. I have create a new step by using the Engine.NewStep method

    2. I put the name of the step using Step.Name

    3. I put the properties of an appointment using a statement (Parameters.BranchesRendezVous.RDVStep is the variable holding the reference of step):

    • Parameters.BranchesRendezVous.RDVStep.AsStep.Operation = 1, //A value that specifies the operation of the step to perform. Valid values are 0 = crΘer, 1 = Rendezvous and 2 = Get Status

    • Parameters.BranchesRendezVous.RDVStep.AsStep.NameOrRefExpr = Parameters.BranchesRendezVous.RefName, //Contains the expression name Rendezvous for operation of creation and expression name Rendezvous or reference for all Rendezvous operations

    • Parameters.BranchesRendezVous.RDVStep.AsStep.TimeoutEnabled = False, //The Timeout allowed for the operation of Rendezvous

    • Parameters.BranchesRendezVous.RDVStep.AsStep.ErrorOnTimeout = True, //The Timeout causes Run-Time Error for the Rendezvous operation

    • Parameters.BranchesRendezVous.RDVStep.AsStep.RendezvousCountExpr = Parameters.NbBranches, //The expression number of Threads by appointment for the create operation

    • Parameters.BranchesRendezVous.RDVStep.AsStep.Lifetime = 3, //A value that specifies the lifetime setting to use for the create operation. Valid values are 0 = same as sequence, 1 = even as a thread, 2 = use reference object, and 3 = same as execution

    1. 4. then I insert the step in my current sequence by using the Sequence.InsertStep method

    Everything works fine, the appointment stage is perfectly created and all the properties are set finely. However, the TimeouOccured variable is missing in the container Step.Result (help says TS that this furniture exists when the step is configured as a date (see operation = 1)).

    I'm doing something wrong somewhere? Why did this variable missing?

    You probably need to create the property programmatically using NewSubProperty().

    -Doug

  • create a group in windows mail

    I want to create a group in Windows mail in Vista.  The help screen tells me to open windows contacts.  In the toolbar, click New Contact Group, type a name in the group name box and then fill in the tabs of the Contact Group and contact information group.

    The problem is that when I open windows contacts, the only options I have are to organize, view, play, Burn

    Can someone point me in the right direction

    Missing the Windows Contacts toolbar buttons
    http://www.vista4beginners.com/missing-buttons-from-Windows-contacts-toolbar

    Vista - "New Contact" and "Contact Group on new" button missing
    http://www.Vistax64.com/tutorials/186477-new-contact-new-contact-group-button-missing.html

  • Cannot create new message in Windows Mail

    Original title: "Windows Mail"

    I'm unable to create new message in Windows Mail, the program stops and restarts everytime I try.

    In addition to what Gary has suggested, try to repair the database and see if that has any impact: seewww.oehelp.com/WMUtil/
     
    Steve
     

    I'm unable to create new message in Windows Mail, the program stops and restarts everytime I try.

  • create folders in Windows live mail on my iPad 2 Air

    Can I create folders in Windows live mail on my iPad 2 Air.  I need folders to organize my email to come.

    Apple products have their own agenda and generally most are not usable on a Windows computer.  Similarly the other way around.

  • When you try to send a file from a Web site, I get a message that doesn't say "none created a profile. Use mail icon in Control Panel.

    When you try to send a file from a Web site, I get a message that doesn't say "none created a profile. Use mail icon in Control Panel.  I searched and can't find this icon.  Can you give me way better?

    You must set up your default email program to send on a Web site.  Go to control panel | Default programs and set your default e-mail program there.  If your e-mail program is web-based, then you probably can't use this feature (sends the Web site file), then you may need to copy the site, and then paste it into a new message and then send it.

    Steve

  • I am creating a desktop for the mail icon

    None of these options work for me.  I am trying to create a desktop for the mail icon.  When I right click on the mail icon, my only choice is "detach from the beginning ' or 'uninstall '.  (Either by the way, I don't like the home screen - messy, confused, not how I work).

    David

    Split from another thread:

    http://answers.Microsoft.com/en-us/Office/Forum/office_2010-Excel/creating-desktop-icons-in-Windows-8/505061e9-e64e-4D42-96d3-30a27725e834

    Hi David,

    By design, we cannot create shortcut on the desktop for Mail App Mail App isn't a desktop program, it is designed to work in the modern user interface Interface.

    For example, you can pin Google Chrome in Start Menu and taskbar. But where you open it open only in desktop mode, because it's a desktop program.

    Hope this information helps. If you need more assistance or information on this question, reply to this post. I'll be happy to help you.

  • How to create interactive reports database connection?

    I installed the interactive web reporting client of hyperion workspace.

    When I create a new document for creating interactive reports in the workspace file > new > Document > create a document of interactive report > data source >

    He is asked to select the database connection, which I am unable to create. Please guide me.

    Thanks in advance.

    Hello

    To create the ECAS, you first have to decide whether to use an ODBC connection or ike Client.Then Oracle create using the Interactive Studio Reporting of the OCÉ customer. Then check if the BQY works with this OCE connection.

    After that you need to publish (import) in the workspace. Also, in the workspace, you must make entries of data (DAS entries) that will allow to use the drivers to connect to the database of the ECO.

    Then, you must publish the BQY and associate it with the ECO.

    HTH,

    Thank you

    KK

  • To create an interactive report in the apex by selecting from multiple tables

    Hi, I am creating an interactive report by selecting from multiple tables.

    SELECT w.FIRST_NAME as name, w.SURNAME as name, i.ROAD Road, i.DATE_OF_INC as DATE_OF_INC, S.STATEMENT as a STATEMENT OF Declaration

    JOIN THE

    WITNESS w

    ON w.witness_id = s.FK1_WITNESS_ID

    JOIN THE

    Incident I have

    WE

    i.incident_no = w.FK1_INCIDENT_NO

    JOIN THE

    user_station ps

    ON ps.station_id = i.nearest_station_id

    JOIN THE

    the user in.

    WE

    in. STATION_ID = ps.station_id

    WHERE po.officer_id = 1

    by I continue to encounter this error "the report query requires a unique key to identify each row. The supplied key cannot be used for this query. Please change the report attributes to define a unique key column. "ORA-01445: cannot select ROWID from where sample, a join without key preserved table view '

    So I googled around and found that in the attibutres tables report, I need to change the "LINK" COLUMN so first, I changed "Link to custom target", but the report is so I changed it to "Exclude link Clolumn" again, the report didn't report and I STILL got a blank page with only the tabs.

    I wonder you can not create a report by selecting from multiple tables?

    If you can please I need your help.

    Thank you

    You can, but in this case, it might be easier to build your report tables that are joined Oracle views and then build your report out of the newly built sight...

    Or wrap a selection around your selection with joins, and then make the where clause on the external selection...

    Thank you

    Tony Miller
    Software LuvMuffin
    Ruckersville, WILL

  • How to programmatically create an instance of the target

    Is there a way to create an instance of the target programmatically. Basically, I have a goal which, in the addition of the target manually, create and instantiate a subtarget including metrics gives the availability. Is there a way in which I can programmatically create an instance of the target.

    I felt the portions of automatic detection of the chapter helped me to meet my needs. Instances of targets could be created as part of the discovery process and thus made available during the process of guided discovery.

Maybe you are looking for

  • Problems with El Capitan 10.11.6 crashing several times?

    Hey all,. Last night I updated from El Capitan 10.11.4 to 10.11.6 and since then I had big problems with my computer reboot several times in a row and beachballing. I have a MacBook Pro mid-2012 with left storage. I play WOW here and it starts me and

  • Earphone Jack does not. Only hear some audio

    My iPhone has recently had a problem with the use of headphones. Whenever I use my earphones on my phone, I can hear little of instrumental music. I don't hear music or videos. My friend and I have already tested the Atria on his MacBook so we know t

  • Flex T400 keyboard

    I have a T400 bought last September and is of type machine 2764. The keyboard is extremely flexy, bowing down, even with slight pressure. It seems that I received a first generation without scaffolding extra keyboard model. I sent the laptop to EasyS

  • my computer will not defrag... Guard reboot

    Computer will not defrag guard reboot... why

  • file wialog.txt

    Hello. I have a file called wialog.txt in C: / is there a reason why I can not remove this file, because it is a large file