User Generated Reports and Save.

Hi,
I have the following queries (using ApEx 3.0.1):
1) Is it possible to create a page by where the user can dynamically create there own reports based on a selection of tables they can choose from, together with columns and where conditions, similar to "Query Builder" ?
- are there any how-tos or sample apps that could assist with this?
2) Based on the above, would it be possible to actually save this query to be used again in the future within the application?
Basically want the user to be able to create there own queries/reports and allow them to save the reports for future runs.
Thanks.
Tony.

<quote>If you want to create something yourself like the query builder, you can look how the APEX development team did the query builder and copy that ;-)
Hope that helps,
Dimitri
</quote>
Dimitri or anyone else,
I am looking for a query builder that an Ap-Ex user (not developer) can utilize. How can I look at what you are describing above?
Thanks!
Bryan
Message was edited by:
BryanG
Message was edited by: BryanG
BryanG

Similar Messages

  • Generate SSRS Report and save as PDF in SharePoint

    Hi,
    I am working on a SharePoint 2010 Visual WebPart that lets a user click a button to generata a SSRS report and save the report in a SharePoint Library as a PDF file.  Code is mentioned below:
    try
    string siteContext = SPContext.Current.Web.Url;
    string strReport = siteContext + "/Reports/Quote/Quote.rdl";
    WR_SSRS.ReportExecutionService rs = new WR_SSRS.ReportExecutionService();
    rs.Url = siteContext + "/_vti_bin/ReportServer/ReportExecution2005.asmx";
    rs.Credentials = System.Net.CredentialCache.DefaultCredentials;
    byte[] result;
    string format = "PDF";
    string historyID = null;
    string devInfo = "<DeviceInfo><Toolbar>False</Toolbar></DeviceInfo>";
    WR_SSRS.ParameterValue[] parameters = new WR_SSRS.ParameterValue[3];
    parameters[0] = new WR_SSRS.ParameterValue();
    parameters[0].Name = "EnqID";
    parameters[0].Value = enqID.ToString();
    parameters[1] = new WR_SSRS.ParameterValue();
    parameters[1].Name = "QuotationID";
    parameters[1].Value = quoteID;
    WR_SSRS.DataSourceCredentials[] credentials = null;
    string showHideToggle;
    string encoding;
    string mimeType;
    WR_SSRS.Warning[] warnings;
    WR_SSRS.ParameterValue[] reportHistoryParameters;
    string[] streamIDs;
    WR_SSRS.ExecutionInfo execInfo = new WR_SSRS.ExecutionInfo();
    WR_SSRS.ExecutionHeader execHeader = new WR_SSRS.ExecutionHeader();
    string SessionId = null;
    string extension;
    rs.ExecutionHeaderValue = execHeader;
    execInfo = rs.LoadReport(strReport, historyID);
    rs.SetExecutionParameters(parameters, "en-gb");
    SessionId = rs.ExecutionHeaderValue.ExecutionID;
    result = rs.Render(format, devInfo, out extension, out mimeType, out encoding, out warnings, out streamIDs);
    execInfo = rs.GetExecutionInfo();
    using (SPSite site = new SPSite(SPContext.Current.Site.ID))
    using (SPWeb web = site.OpenWeb())
    web.AllowUnsafeUpdates = true;
    SPFolder folder = web.Folders[siteContext + "/Quotes"];
    string filename = string.Concat(quoteID, ".pdf");
    //remove old copies
    SPList lib = web.Lists["Quotes"];
    foreach (SPListItem i in lib.GetItems())
    if (i.Name == filename)
    i.Delete();
    break;
    SPFile file = folder.Files.Add(filename, result);
    SPListItem item = file.Item;
    item["EnquiryID"] = enqID.ToString();
    item["FinalQuote"] = "No";
    item.Update();
    web.AllowUnsafeUpdates = false;
    catch (Exception ex)
    LogError(ex.Message);
    The WebPart works fine in my local server and even on another development testing server.  However, once deployed to the live server that has claims authentication it stops working and throws an error that says:
    "Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'. 
    The request failed with the error message: 
    <RSError xmlns="http://www.microsoft.com/sql/reportingservices"><MoreInformation><Message>An unknown error occurred with the Reporting Services endpoint on this SharePoint site. Contact the SharePoint site administrator for help.</Message></MoreInformation></RSError> 
    If I open the report manually in SharePoint Site, it works fines it even works fine when try to view in a WebPart. 
    Can someone help me with this ?
    Regards, Vikram

    Hi Vicky,
    Based on the error message, it is related to the service account for reporting service.
    If the Report Server service runs under a built-in account such as NetworkService, the Grant database access option in SharePoint Central Administration will not work correctly.
    Configure the service account to run under a domain user account as follows:
    1. Start the Reporting Services Configuration tool and connect to the report server.
    2. On the Service Account page, click Use another account, enter a domain user account, and click Apply.
    3. Click Web Service Identity, for Report Server, click New, type an application Restart the Report Server service.
    Here is a detailed MSDN article for your reference:
    http://msdn.microsoft.com/en-us/library/ms159704.aspx
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • Can we edit webi and deski reports and save the changes?

    Can we edit webi and deski reports and save the changed values for a particular column?
    If yes what rights should be granted to particular user?
    Will the report changes reflect at database end also?

    Both Web Intelligence and Desktop Intelligence comes with designers, where you have a GUI to design reports. 
    Web Intelligence you'd design in InfoView using the DHTML Report Panel or the applet-based Java Reporting Panel.
    Desktop Intelligence you'd use the Desktop Intelligence client.
    ReportEngine Java SDK (REBean) is what you'd use to programmatically create/modify Web Intelligence Documents.
    Desktop Intelligence Reporter COM SDK is what you'd use to programmatically create/modify Desktop Intelligence Documents.
    Sincerely,
    Ted Ueda

  • What auth obj to use for allowing user to create and save workbook?

    Hi all,
    We are on BI 7.0, we have requirement which will allow users to develop and save workbooks (NOT BEX query) via BEx Analyzer. I have examined the auth obj S_RS_WKBK but it is obsolete auth obj and there is nothing similar obj in BI 7.0.
    i then looked at the S_BDS_D, is this all i need in order to allow user to save workbook on to the backend system?
    pls note, user can only save workbook NOT BEx query.
    regards,
    Joe

    Hi,
    Actually there is no direct away to do it
    First use the Authorisation s_user_agr , here in the activity field assign01,02,03 and 06 , in the role name assign a specific role name.
    In s_user_tcd in transaction asssign - RRMX.
    Got to PFCG, maintain the role.
    Hopr this will be expedite.
    ThaX and Regards
    Vaibhave Sharma

  • Generate reports and sub-reports based on JTable Swing.

    Hello everybody...
    Anyone know like to generate report and subreport dinamicaly using the tool jasper?
    The report will be based on a JTable Swing.
    Java Swing.

    As far as your target platform is supported by Crystal Reports, use it via free API at http://www.must.de/Jareport.htm

  • Scheduling a BI Publisher report and save the results in an external folder

    Hi ,
    I have a requirement like...i need to schedule a BI Publisher report and the saved results(downloaded file of the BI Publisher report) should save in an external folder automatically.
    My development instance is Windows and my Prod instance in Linux and i am running on OBIEE 10.1.3.4.2.
    Thanks in advance,
    Pramod.

    Hi ,
    I have a requirement like...i need to schedule a BI Publisher report and the saved results(downloaded file of the BI Publisher report) should save in an external folder automatically.
    My development instance is Windows and my Prod instance in Linux and i am running on OBIEE 10.1.3.4.2.
    Thanks in advance,
    Pramod.

  • Photoshop creates wonky file permissions after  different user modifies file and saves over

    We have a fileserver sharing out files to Windows clients using samba service on Mac OSX Server 10.6.5.
    We have weird permissions issue with psd files in Photoshop CS5 64 bit.
    A user (userx) belonging to the group wheel creates a file called version1.psd
    POSIX
    ACL
    user    Read & Write
    wheel  Read & Write
    others Read & Write
    A different user (usery) opens version1.psd, makes some modifications and save it out as version2.psd
    POSIX
    ACL
    usery  Read & Write
    wheel  Read & Write
    others Read & Write
    Now userx opens version2.psd and makes modification and saves the current file. Userx can nol onger access the file he just saved.
    POSIX
    usery Custom
    ACL
    userx  No Access
    wheel  Read & Write
    others Read & Write
    This led me to test modifying original file (version1.psd) and save. It does the same thing.
    Don't understand why it has this behaviour. Is this some kind of bug with photoshop as when we do modifications outside of Photoshop, permissions are always fine? Thanks ahead for any help.

    We have solved our issue.
    After running Adobe updates on machine that uses CS6 and then re-starting that machine, our issue seems to have disappeared.
    Hope this helps others.
    Best of luck.

  • SDK Code for bulk opening of Webi reports and Save

    Hi,
    Is it possible to bulk open webi reports using SDK and save it again.
    Thanks,
    Chandra

    Hi Chandra,
    No, This script is for only opening the webi document & saves it back to enterprise without any processing.
    If your webi document have the refresh on open & last prompt value selected properties checked then you don't have to modify the code.
    If you want to handle the prompt as well, then you have to modify the code & write the application flow like below:-
    1. Logon to enterprise.
    2. get infostore service.
    3. get all the webi documents into infoobjects collection
    4. get engines services.
    5. load document instance.
    6. clear the prompt values & set it with new value.
    7. saves the report back to enterprise.
    The 6th point is mossing from the script. You can add that piece of code in the attached script also you can take help from the sample codes & Developer guide & API references.
    Thanks,
    Shailendra

  • Generate pdf file from 9i reports and save it in C:\oracle_reports\

    i want to generate a file from oracle reports in PDF format and want to save it on already defined path.
    c:\oracle_reports\
    right now pdf generation of report is working fine but before generation of pdf report system prompt me or open a dialogue box to save my pdf file on drive. i dont want to see these dialogue box or prompt me to explicitly save it.
    i want all the work done automatically.
    regards
    ------------ source code--------------
    PROCEDURE PRINT_PROC IS
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    pl_id ParamList;
    report_path varchar2(100);
    aud_sno varchar2(1000);
    aud_type varchar2(500);
    BEGIN
         pl_id := Get_Parameter_List('report_data');
         IF NOT Id_Null(pl_id) THEN
              Destroy_Parameter_List( pl_id );
         END IF;
         pl_id := Create_Parameter_List('report_data');
         User parameters : Customize these to fit your report
         report_path := :GLOBAL.Web_BASE_PATH||:GLOBAL.PATH_SCM||'REPORT\scm_rfq.rep';
    -- Initialize your report parameters here
         Add_Parameter(pl_id, 'p_cmp_code'                     , TEXT_PARAMETER, :global.company_code);
         Add_Parameter(pl_id, 'p_rfq_sno'                     , TEXT_PARAMETER, :document_sno);
         Add_Parameter(pl_id, 'P_PATH'                               , TEXT_PARAMETER, REPORT_PATH);
    Standard parameters: Don't change
         Add_Parameter(pl_id, 'PARAMFORM' , TEXT_PARAMETER, 'NO');
         Add_Parameter(pl_id, 'PAGESTREAM' , TEXT_PARAMETER, 'NO');
         Add_Parameter(pl_id, 'MAXIMIZE' , TEXT_PARAMETER, 'YES');
         -- end standard parameters
         repid := find_report_object('REPORT_OBJ');
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rep_oas');
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,report_path);
    -- SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'htmlcss');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'pdf');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,'\\ORCLSRV\UTL_MAIL\'||:doc_type||:receiver_sno||'.pdf');
         v_rep := RUN_REPORT_OBJECT(repid,pl_id);
         rep_status := REPORT_OBJECT_STATUS(v_rep);
         WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
         LOOP
         rep_status := report_object_status(v_rep);
         END LOOP;
    END;

    If you use rwclient you could that easily, from a Form, it requires additional steps.
    Look at this thread Re: save report

  • Web Browser in the output of Report and save the text entered in browser

    Hi All,
    I am having a requirement that i has to show the web browser in the output of the basic list and i has to save the text entered in the web browser and not the URL.
    For example.
    if i am displaying the web browser in the basic list of my report.
    i am having a field to give the URL and i will the give the URL as WWW.GOOGLE.COM and press enter, then the web page will be loaded in the basic list. i am entering some text in the search area .
    let the text may be "SAP-ABAP".
    now i has to save the text "SAP-ABAP" in to my database.
    So , if you have any suggestions please reply to this.
    Thanks in advance.
    Regards,
    Phani.

    Of course there is not going to be any specific example which has been taylored to your exact requirement, which is why you should be looking outside the box.  The reason I suggested that program is so that you can see how to allow the user to access a web page and enter a value, and then allow the application server to access this value, which of course can then be stored on the database. 
    As for you exact requirement, if you are looking to specifically throw a browser with www.google.com in the browswer and have the user enter a value in the search, and then expect that this value be returned to the application which was entered, I don't see a clean/easy way to do this.  Why? Because once the user is veiwing google in the browser, it is now out of your control, because that page is not running on your server.  Not if google had some API, that would be a different story.
    Regards,
    Rich Heilman

  • Web report and save

    Report run under oracle 10G , I can save it as pdf file under local pc's specified path (C:). However I can't find a way to redirect the same file to a local pc when run it in webformat ( using URL) . Does this mean when it is in a web report, it has to be run in cache format first then use browser to save the file ?
    Can you help ? thanks.
    Wana

    this URL invoking (from Apex) will generate a report at Reports server:
    http://167.165.243.209/dev60cgi/rwcgi60?repdevi_key&server=Rep60&report=my_rpt.rdf&DESFORMAT=PDF&DESTYPE=FILE&DESNAME=/arch/chrisweb/devi/cache/my_rpt.PDF&BACKGROUND=YES&P_1=PC00980
    You may try to change /arch/chrisweb/devi/cache/my_rpt.PDF to c:\my_reports\my_rpt.pdf to test it works or not.

  • Automatically generating reports and sending via email...

    How do you create a background job to automatically, periodically run a specific report that will generate a spreadsheet that can be emailed to various personnel?

    Answer - Use the Broadcast funtionality under the "Business Analytics" tab.

  • User Generated Data and Cardinality Estimates

    Platform Information:
    Windows Server 2003 R2
    Oracle Enterprise Edition 10.2.0.4
    Optimizer Parameters:
    NAME                                 TYPE        VALUE
    object_cache_optimal_size            integer     102400
    optimizer_dynamic_sampling           integer     2
    optimizer_features_enable            string      10.2.0.4
    optimizer_index_caching              integer     90
    optimizer_index_cost_adj             integer     30
    optimizer_mode                       string      CHOOSE
    optimizer_secure_view_merging        boolean     TRUE
    Test Case:
    var csv VARCHAR2(250);
    exec :csv := '1,2,3,4,5,6,7,8,9,10';
    EXPLAIN PLAN FOR WITH csv_to_rows AS
            SELECT UPPER(
                            TRIM(
                                    SUBSTR
                                            txt
                                    ,       INSTR (txt, ',', 1, level  ) + 1
                                    ,       INSTR (txt, ',', 1, level+1) - INSTR (txt, ',', 1, level) -1
                    )       AS token
            FROM    (
                            SELECT ','||:csv||',' txt
                            FROM dual
                    )       t
            CONNECT BY LEVEL <= LENGTH(:csv)-LENGTH(REPLACE(:csv,',',''))+1
    SELECT * FROM csv_to_rows;
    SELECT  * FROM TABLE(DBMS_XPLAN.DISPLAY);
    Results:
    Execution Plan
    Plan hash value: 2403765415
    | Id  | Operation                     | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT              |      |     1 |    19 |     2   (0)| 00:00:01 |
    |   1 |  VIEW                         |      |     1 |    19 |     2   (0)| 00:00:01 |
    |*  2 |   CONNECT BY WITHOUT FILTERING|      |       |       |            |          |
    |   3 |    FAST DUAL                  |      |     1 |       |     2   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - filter(LEVEL<=LENGTH(:CSV)-LENGTH(REPLACE(:CSV,',',''))+1)
    Statistics
              1  recursive calls
              0  db block gets
              0  consistent gets
              0  physical reads
              0  redo size
            502  bytes sent via SQL*Net to client
            396  bytes received via SQL*Net from client
              2  SQL*Net roundtrips to/from client
              1  sorts (memory)
              0  sorts (disk)
             10  rows processed
    Question:
    Every once in a while I need to use [Tom Kyte's Varying in Lists|http://tkyte.blogspot.com/2006/06/varying-in-lists.html] method (for 9i as indicated in his blog entry) to convert a comma separated list to a "bindable" in list.
    As one can see above the cardinality estimates are not correct. The execution plans I have seen from this method usually result in a nested loop join using an index. While this makes sense for small result sets it may not be the most efficient method with larger number of entries in the comma separated list.
    Has anyone found a way to expose the correct or near correct cardinality to the optimizer at runtime? I can use the cardinality hint but the problem with that is that it must be defined as a scalar value and that may not work for all cases. The dynamic sampling won't work in this scenario because cardinality statistics already exist against DUAL.
    I haven't noticed any detrimental effects in my environment so this may be purely an academic discussion but I thought I'd throw it out there :)

    I have definitely considered using this as a possibility but I have tried to shy away from writing data (even temporarily) when all I'm looking to do is query data.I agree with you about hard-coding the cardinality values.
    A silight variation on David's suggestion is to use the dynamic sampling hint to get the statistics at run-time. There will be a slight performance cost to do this.
    Remember that all of the explain plan statistics are estimates, which may or may not be accurate. Usually they are good, but every once in a while they are incorrect.

  • User confirm, generated report.

    Using BI published, I created a report that generates and displays all incomplete records inside of the database.
    Is there away to set a an (alert/procedure/trigger/confirm) that asks the user to confirm there transaction?
    For example,
    1. User generate report using BI Publisher
    2. The data is displayed
    3. Confirm ("Did everything display correctly?")
    4. If confirm == yes then run some script
    5. If confirm == no then don't run script.
    Fyi: I am new to BI. If you have the any answers or questions, send me an email.
    Or should I create a dataTemplate? Or this method is not possible?
    Thanks in advance,
    Johnny Words
    email ([email protected])

    Hi Scott, I already have the WCS and I do see the line that I am looking for within the events logs. Unfortunatly it look like I can't generate an authentification failure report and/or export the event logs so I can then parse the csv file for the error I am lookfing for.
    In regard to the syslog, the user name that failed to authentificated doesn't seem to show up, therefore I can't generate report per user as what wer'e looking for.

  • How can we sum three members in pov and generate report

    Hi Everyone
    I am trying to generate report in Hyperion Financial reporting studio 9.3 . I have to pov with one dimension name BAH and we have five members under it. I have to sum four members and generate report and one report with one dimension . should be able to run both things in one report. Is it possible to do it. or else if i have to do it individual how do I do it
    Thanks.

    Hi,
    You can use out of box aggregate from interactive report action menu and safe default layout
    http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/app_comp.htm#sthref962
    Br, Jari

Maybe you are looking for