Deploying BI publisher report from OEM plug-in

Hi!
I am a bit confused about how to deploy & access BI publisher report from the plugin I develop
I've found only the http://docs.oracle.com/cd/E24628_01/doc.121/e25161/bi_pub.htm and am a bit confused
What I did:
1) Integrated BI publisher with OEM
2) Developed a BI publisher report
3) Downloaded 2 files : xdoz and xdmz (DataModel & report)
4) made folder structure
/bipublisherreports/
/EM_Datamodels
5)packed into jar
jar cf myjar.jar ./bipublisherreports
6)put jar into ../oms/reports/emreports
7)written report.xml (in ../oms/reports/) file:
<?xml version = '1.0' encoding = 'UTF-8' ?>
<BIPublisherReports
xmlns="http://<what ip is here???>/DataCenter/BIPublisherReport">
<ReportFile relativePath="emreports" fileName="myjar.jar"/>
</BIPublisherReports>
The plug-in does not pass validation...
cvc-elt.1: Cannot find the declaration of element 'BIPublisherReports'. for the MDS id report
Error is ungooglable =(
Can anybody help or point to some clear doc?

cd /tmp
mkdir STAGE
cd STAGE
mkdir bipublisherreports
cd bipublisherreports
mkdir EM_Datamodels [notice the underscore]
mkdir "My Sample Report" [notice, the quotes are necessary since the directory name contains spaces]
The datamodel needs to go in the following directory:
-------------- "bipublisherreports/EM_Datamodels/My Datamodel.xdmz" [there is an underscore between EM & Datamodels]
The reports go in a report directory, for example:
--------------- "bipublisherreports/My Sample Report/My Report.xdoz" [use spaces here wherever you prefer]
Make sure your report refers to the datamodel in the right location. So, in BIP, when editing the report, use the above folder names, under the 'Enterprise Manager Cloud Control' shared folder.
For example, your BIP catalog will look like this:
Shared Folders
---Enterprise Manager Cloud Control
-------- EM_Datamodels
-------------- My Datamodel
-------- My Sample Report
-------------- My Report
You then create a jar file with this:
cd /tmp/STAGE
jar cvf myemreports.jar bipublisherreports
Now, you need to make your bip reports part of your plugin source code.
You put your report.xml in your sysman/metadata/bipublisherreport [note the singular] directory.
For example:
<BIPublisherReports
xmlns="http://www.oracle.com/DataCenter/BIPublisherReport">
<ReportFile relativePath="emreports" fileName="myemreports.jar"/>
</BIPublisherReports>
You then create a subdirectory, sysman/metadata/bipublisherreport/emreports
And you put your myemreportrs.jar file here.
You then rebuild your opar using standard EM procedures.
When a customer later on instals your plugin, the BIP reports that go with the plugin are installed into the EM database repository automatically.
they can simply do this to deploy the bi publisher reports from em to BIP at any point:
emcli deploy_bipublisher_reports -plugind="my.sample.plugin" -pluginversion ="12.1.0.3.0" [-force]
The -force operation overwrites the reports.
See the complete help text like this:
emcli help deploy_bipublisher_reprorts
If they have not yet configured BIP with the configureBIP script, this deploy step happens automatically when they run configureBIP.

Similar Messages

  • Error publishing reports from BW

    Hi,
    I am facing some issues while publishing reports from BW system. I have taken care of all the settings mentioned in Integration Kit guide. We are using BOXI 3.1 SP3  OS:windows 2008 (64-bit)
    The error that we are getting is:
    "0000000001 An error occurred when retrieving the role metadata for YBW_BO_CONTENT_PUBLISHER. Returned with RFC code 18 and message: See RFC trace file or SAP system log for more details"
    I have enabled the trace also, still not able to find the root cause.
    Need help urgently. Thanks.
    Amit Tewatia

    Hi Startos,
    I have matched the auth. as per the admin guide, everything is fine with the role. I have checked the trace file logs, part of which is below:
    "Starting up callback server at 10.239.30.2 sapgw00 with prog-id SEGIDC8BBB5A3
    GetRfcHandle() returned with handle 0
    Connection cloning failed. Message: See RFC trace file or SAP system log for more details
    ERROR: .\job_defs.cpp 52: l_rfcDownloadRoleMdata failed with return code l_rcRfc = 18 Exception:
    Leaving job processor CPubJobGetRoleMetaData(YBW_BO_CONTENT_PUBLISHER)"
    No idea why it calling this IP. This is not the IP of our BW server. please suggest where to check for this.
    Regards,
    Amit

  • BW - EP Connection to Publish Reports From BW

    We have implemented Enterprise Portal 6, and are running BW 3.5
    I have been trying set up the connection between the 2 systems, so that I can publish reports from BW to EP
    SSO between EP and BW is working - I can create a BW iview, or run a BW transaction without having to sign on again to the BW server.
    I have checked the RFC connection from BW to EP using transaction SM59, and it all seems to be working fine.
    When I am in the Web Application Designer in BW, there appears the option to Publish to Enterprise Portal 6.0. I can see the destination that I created to point to EP, but I can't see any roles/folders etc within the portal.
    I have been through all of the documents that I have found in SAPHelp on configuring the connection, but have still had no luck.
    Does anyone have any suggestions? Are there some permissions that I need to set up on either BW or EP before this will work?
    Thanks in advance for any assistance.
    Regards
    Richard

    Thanks very much for your assistance!!
    Deepu:
    Thanks for pointing me to the note - that looks like it could be helpful - I need to talk to our basis adminstrator about a couple of things, and he is away for a couple of weeks, so this problem will probably be on hold for a bit now.
    Ashwin:
    Thanks - I've checked the SSO to BW, and can see all of the BW reports in the BW repository in EP. My personal folders are all set up, but are empty.
    I really appreciate your help on this guys. I'll try the changes in the OSS note (but won't be able to do this for a while), and will let you know if it is successful.
    Regards
    Richard
    PS. I'm really sorry, but I don't seem to be able to allocate points for your answers - there are no radio buttons displaying on the screen for some reason - I'll see if I can contact SDN to get this sorted out.

  • Failed to commit objects to server. Error while publishing reports from BW

    Hi,
    I am getting below error while publishing reports from BW to BO.
    "0000000001 Unable to commit the changes to Enterprise. Reason: Failed to commit objects to server : #Duplicate object name in the same folder."
    Anyone having any solution for this. Thanks in advance.

    Hi Amit
    It would be great if you could add a little info about how you solved this issue. Others might run into similar situations - I just did:-(
    Thank you:-)

  • Invoking XML Publisher Report from PL/SQL

    Hi,
    I have a PL/SQL procecedure which invokes the Concurrent Request for the XML Publisher Report. This one finishes with a warning and I get 'Unable to publish output' when I try to view the output. Exact Error: "Unable to find the published output for this request "
    But if I run the same report using Concurrent program, the Report executes with no error. Also the desired output is coming. I am not sure where I am doing wrong in code.
    My code which invokes the XML Publisher Report (from PL/SQL package)is something like this:
    declare
    x boolean;
    l_no_of_copies varchar2(45);
    l_printername varchar2(45);
    l_print_style varchar2(45);
    l_result boolean;
    y number;
    begin
    x := fnd_request.add_layout (template_appl_name => 'XXTMG', template_code => 'XXT_5001_BOL_T', template_language => 'EN', template_territory => 'US', output_format => 'XML');
    l_no_of_copies := fnd_profile.VALUE ('XXTMG_SH_BOL_REPORT_NO_OF_COPIES');
    l_printername := fnd_profile.VALUE ('XXTMG_SH_BOL_REPORT_PRINTER');
    l_print_style := NULL; --For setting the Printer Options
    l_result := fnd_request.set_print_options (l_printername, l_print_style, l_no_of_copies, TRUE, 'N');
    l_result := fnd_request.add_printer (l_printername, 0);
    y := fnd_request.submit_request ('XXTMG', 'XXT_5001_BOL', '', TO_CHAR (SYSDATE, 'YYYY/MM/DD HH24:MI:SS'), FALSE, 'CH-120079') ;
    end;
    Please let me know where I might be going wrong
    Thanks

    Hi Sumit,
    You can try with this code:
    exec dbms_application_info.set_client_info(org_id)
    exec fnd_global.APPS_INITIALIZE(user_id,resp_id,appl_id);
    declare
    x boolean;
    l_no_of_copies varchar2(45);
    l_printername varchar2(45);
    l_print_style varchar2(45);
    l_result boolean;
    y number;
    begin
    x := fnd_request.add_layout ('XXTMG' --template_appl_name 
              ,'XXT_5001_BOL_T' --template_code
              ,'en' --template_language 
         ,'US' --template_territory
         ,'XML' --output_format
    if (x=TRUE) then
    y := fnd_request.submit_request (
                        'XXTMG'           --application 
                        ,'XXT_5001_BOL'      --program
                        ,SYSDATE          --start_time
                        ,FALSE               --sub_request
                        ,'CH-120079'          --argument1 (Program's Parameter)
    if y>0 then
              dbms_output.put_line('Request ID '||y);
    end if;
    end if; --if (x=TRUE) then
    end;
    Make sure that program has only one input parameter. If program has other parameters then you can pass those parameters like argument1, argument2... etc.
    Now you can see this submited request in your application using your user id. If you able to see your request in concurrent request then you can add printer parameters in this programs.
    You don't need to pass all 100 parameters.
    I am executing many programs/reports using this code.
    Thanks
    Ravi
    [email protected]
    Message was edited by:
    Ravi Tripathi

  • Call Xml Publisher report from Jdeveloper

    Hi,
    I am first time integrating XML publisher with Jdevloper.
    I need to call xml publisher report from Jdeveloper.
    I followed all steps from anilpassi link for sample
    its showing error while tring to open pdf file
    Error:
    Adobe Reader could not find 'EmpReport[1].pdf' because it is either not a supported file type or because the file has been damaged.
    Please help ,i m stuvk because of this error.
    below is the code
    EmpCO :
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModuleImpl am =
    (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    am.invokeMethod("initEmpVO");
    // am.invokeMethod("getEmpDataXML");
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModuleImpl am =
    (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    if ("GenerateReport".equals(pageContext.getParameter(EVENT_PARAM)))
    System.out.println("event fired");
    // Get the HttpServletResponse object from the PageContext. The report output is written to HttpServletResponse.
    DataObject sessionDictionary =
    (DataObject)pageContext.getNamedDataObject("_SessionParameters");
    HttpServletResponse response =
    (HttpServletResponse)sessionDictionary.selectValue(null,
    "HttpServletResponse");
    try
    System.out.println("inside try");
    ServletOutputStream os = response.getOutputStream();
    // Set the Output Report File Name and Content Type
    String contentDisposition = "attachment;filename=EmpReport.pdf";
    response.setHeader("Content-Disposition", contentDisposition);
    response.setContentType("application/pdf");
    // Get the Data XML File as the XMLNode
    XMLNode xmlNode = (XMLNode)am.invokeMethod("getEmpDataXML");
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    xmlNode.print(outputStream);
    ByteArrayInputStream inputStream =
    new ByteArrayInputStream(outputStream.toByteArray());
    ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
    //Generate the PDF Report.
    TemplateHelper.processTemplate(((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext(),
    APP_NAME, TEMPLATE_CODE,
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage(),
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getCountry(),
    inputStream,
    TemplateHelper.OUTPUT_TYPE_PDF, null,
    pdfFile);
    // Write the PDF Report to the HttpServletResponse object and flush.
    byte[] b = pdfFile.toByteArray();
    response.setContentLength(b.length);
    os.write(b, 0, b.length);
    os.flush();
    os.close();
    catch (IOException e) {
    System.out.println("Exception1"+e);
    } catch (SQLException e) {
    System.out.println("Exception2"+e);
    } catch (XDOException e) {
    System.out.println("Exception3"+e);
    pageContext.setDocumentRendered(false);
    EmpAMImpl:
    public void initEmpVO() {
    EmpVOImpl vo = getEmpVO1();
    if (vo == null) {
    MessageToken errTokens[] =
    { new MessageToken("OBJECT_NAME", "EmpVO1") };
    throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", errTokens);
    } else {
    vo.executeQuery();
    public XMLNode getEmpDataXML() {
    OAViewObject vo = (OAViewObject)findViewObject("EmpVO1");
    XMLNode xmlNode =
    (XMLNode)vo.writeXML(4, XMLInterface.XML_OPT_ALL_ROWS);
    return xmlNode;
    Please help !!

    Hi,
    I tried the way suggested by Anil in the above link as well today, but still am getting the same error while openning the pdf .
    Dont know why it shows error that either the file is not a supported file type or because the file is damaged.
    Please suggest way to solve this error or some other way of calling xml report from OAF page.
    Edited by: user13573749 on Apr 10, 2011 9:59 PM

  • Open BI Publisher Report From Standard Report Link

    I am having problems opening a bi publisher report from a colomn link in a standard report.
    My standard report is
    select reg_id, frg_no
    from my_tableThen in the REG_ID column, I place the following in the URL link.
    javascript:popupURL('BI_URL.Guest/MERCURY/FORM73/FORM73/FORM73.xdo?_xpt=1&P_REG_ID=&#REG_ID.&_xt=FORM73_xf=rtf');Once I click on the link the BI Publisher report opens in a pop up window, but does not display any data, ie, it does not recognise #REG_ID.
    Any help appreciated
    Gus

    Solved it
    Gus

  • How to generate XML Publisher report from PLSQL Stored Procedure in APPS

    Hi,
    I have concurrent program of type PLSQL Stored procedure.I need to generate XML Publisher report from the same.I have changed the output of the concurrent program as "XML" but when I tried running it,the XML tags are not generated.Due to this I am unable to create the template.Its a urgent issue.
    Please help me out .
    Thanks in advance.
    Kaveri

    Hi Kaveri
    Sadly there is nothing magic about that output field. The only program type that you can flip it to XML and then magically get XML is for Oracle Reports. For plsql you will need to recode the plsql to generate XML rather than text that you have now.
    You have some options, best option first:
    1. Move the sql to a data template - check the user guide and blog for help or
    2. Use SQL XML or XMLGEN (not great for large datasets) or
    3. Use dbms_output.put_line and write the XML file manually - not performant at all
    Regards, Tim

  • Submitting a XML Publisher Report from JSP page

    Hello,
    We have need to submit a XML Publisher report from Quoting/iStore module in Oracle Ebusiness. The out put should be viewable in PDF format and user should be able to print. can anyone pls help on how this can be achieved.
    TIA

    Really appreciate your response. Can you pls give little more details.
    1] Are there any standard API's which I can use to submit XML publisher report from the JSP pages
    2]Is there any sample code snippet for any of the options that I can refer to..or pls let me know the API's, I will check on them
    Appreciate any help

  • Displaying xml publisher report from adf page.

    I am using jdev 10.1.3.3
    I have an requirment of displaying an xml publisher report on click of command button.
    any suggestion.how this can be achived.
    according to my understanding.
    if we create a folder in our web server which oc4j in our case.and we transfer the xml report through FTP in that folder.can we able to pick the report from that folder.
    can we display or call that report.please let me know??
    Is that possible.????????????
    any help would be helpfull

    Really appreciate your response. Can you pls give little more details.
    1] Are there any standard API's which I can use to submit XML publisher report from the JSP pages
    2]Is there any sample code snippet for any of the options that I can refer to..or pls let me know the API's, I will check on them
    Appreciate any help

  • Run BI Publisher report from an application directly to  a printer.

    Dear All,
    I have an HTML page (with JavaScripts),
    I want to Run BI Publisher report from this page directly to a printer. (and send parameters).
    Can anyone help me, and send me Demo URL or Demo code to do this?
    Regards,
    Tovit

    Tovit
    you are going to have build out a servlet that the page can call. The servlet will need to implement the supported web services to schedule a report. The schedule can include the delivery options ie to a printer. So you would create a schedule that runs the report immediately via the scheduler and then to the printer.
    I dont currently have any servlet demos but the services are pretty well covered in the user docs.
    check them out and give it a try, if you get stuck let me know
    Tim

  • Calling bi publisher report from apex.

    good morning all,
    I have a situation at hand, i want to be able to call bi publisher report from a dropdown list in apex. what i did was to create a table in the oracle db with the report name and url as columns, from apex all i did was to create a list item which queries the table a should display the report using the url. but the report is not showing properly, what do you thinl i can do.
    i am using the following verion:
    bi publisher: 11g (11.1.1)
    apex: 4.2.1.00.08
    oracle database: 11.2.0.1.0
    Thanks.
    AbdurRahman

    Hopefully, that could be helpful for you,
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/install/apexinst/apexinst_prod.htm
    http://dgielis.blogspot.jp/2007/12/call-bi-publisher-report-from-apex.html
    https://blogs.oracle.com/xmlpublisher/entry/apex_integration_with_publishe
    Edited by: Weibing.Xia on 2013-5-20 下午5:40

  • Running custom BI (XML) publisher report from BPEL

    We would like to run a custom BI publisher (XML publisher) report from BPEL process and the resultant PDF report output needs to be FTPed to specific location. BPEL can pass on the XML content required for the report.
    Is this possible or any workaround for this ?

    Any light on this ?

  • Launch a BI Publisher Report from ODI 11g

    Hello,
    I have a requirement where after a data load completes in ODI, a BI Publisher report should be launched which will email some pdf output to users.
    Is there a way in ODI that as the last step in the data load process, I can launch a BI Publisher report? We are using OBIEE and BI Publisher is part of that.
    Any pointers appreciated.
    Thanks,
    Manish

    Hi Manish,
    Sorry not been on here for a while.
    In ODI you can create an ODI Package which exposes a bunch of 'ODITools' , one of these being the aforementioned ODIInvokeWebService - you just plug in your parameters and it fires the message across - See docs here : http://docs.oracle.com/middleware/1212/odi/ODIDG/app_tools.htm#ODIDG858
    Once the package is working, you can create a scenario of this package in ODI. Once you have the scenario than you can invoke this from ODI directly or from the command line, or on a schedule, or even via Webservices (but I'd assume you'd just invoke BIP directly in this case !)
    Good luck.
    Alastair

  • RE: Charts are Missing From OEM Plug-In

    Hi:
    - A few weeks ago, we created an OEM plug-in with charts.
    At the time, the charts appeared normally.
    - But when I tried to reload the OEM plug-in, the charts did not appear on the homepage.
    - Could someone please tell me how to troubleshoot missing charts?
    For example, under which directory should the charts xml file appear?
    And, which log file has the chart related log entries ?
    Thanks
    John

    Support does have a force undeploy tool you can use for the case of a decommissioned agent (as you've described). The basic functionality is to remove the deployment entries for the dead agent only from the MP deployment tables (mgmt_mp_deployments, mgmt_mp_deployment_errors, mgmt_mp_nls_substitutions - You'll need to find your MP_GUID from the mgmt_management_plugins table to do it). Of course, doing this manually is not recommended/supported/etc.... so be very careful.
    Then you can undeploy from any other agents where it still exists and delete it from the Management Plug-ins page. In this case, the delete of all versions from the repository will enact the final undeploy from the repository and clean up the plug-in.

Maybe you are looking for

  • Java Text Editor

    I have created an applet editor that will enable a user to break a text file down into a series of smaller html files. This does serve a purpose that is not really important at the moment and I don't want to bore you all. The problem I am having is t

  • Managed Server stuck in starting

    Hi every, thank you for reading. We have a Oracle SOA domain running on WLS 10.3.6. The OS is windows server 2003. Adminserver and soa_server1 are on vmmachine1. proxy server and soa_server2 are on vmmachine2. soa_server1 and soa_server2 are in a clu

  • Visited links behaving badly in IE8

    I have tested my site in many browsers and the links all appear as they are supposed to in all browsers, Mac and PC, except IE8 (surprise, surprise!). Even IE7 is OK. In IE8 only, my visited image links are all showing the underline style border-bott

  • Manager of an org unit

    Dear expert, My company use PA and stored only internal employees (P object) and no external sub contractor. Unfortunatly, an external sub contrator takes the management of an org unit ad interim (temporary), We do not want register this external peo

  • How to lookup the INFOCUBE?

    Hi, How to look up records in Infocube in the Start or Endroutine ? In DSO there ist a active table, i could SELECT * from /BIC/XXXXXXX Where...... but in Infocube there are a Fact table and some dimension tables.