Using BIPublisher excel template in ADF application

Hi everyone,
Like the subject, I want to export excel reports from an **excel template** within ADF application. After searching around, I found **ExcelProcessor** class seem to be able to do the job, but it got no docs. And forums like this don't have much information. So I wonder if this job can be done smoothly using supported class, or we have to use another solution, like create a RTF template and use it instead?
Thanks in advance,
Regards,
VnMa

Hi Puthanampatti ,
RTF is fine. But it don't have features that excel format support: the multi-sheets reports, freeze cell ability, formulas, comments... Just thinking it's really great if we can use an excel template directly.
Edited by: minh_an on 19:43 21-02-2013

Similar Messages

  • How can I modify column width in a spreadsheet report without using an Excel template

    I currently use the LabVIEW Report Generation toolkit in LabVIEW 2011SP1 to create simple spreadsheet reports that I can build/print without having Microsoft Office products installed.  I really like being able to do this, and it allows me to generate nice on-demand data reports - I'm also not tied to having Office installed on the system I'm using, so this works on just about any test fixture I can install the software on.  
    I recently have a requirement that I must have variable-length columns in my report.  I currently use the VI "Append Text Table to Report" in order to create a text table, but the column width requirement is that all columns must be equal width UNLESS I use an Excel Template file to define my column widths.  
    My questions are:
    Is it possible to create a text table and define per-column widths without using an Excel Template?  If so, how?  My report mainly has a lot of small numerical values for the columns, but some columns contain system names or status messages - I really hate the longer text blocks wrapping and taking up so much real-estate when if I could control the column widths I can get all my data on a single line.
    I'll admit I haven't tried this myself yet, but if I use an Excel Template will that require me to have Excel installed on the PC in order to print/generate reports?
    Is there a recommended way (with an example) of generating a text table in a report with or without using the "Append Text Table to Report" VI that allows me to have custom column widths that doesn't require me to manually build a custom print page?  If I do have to create a custom print page, what would be the most straightforward approach?
    Thanks!
    -Danny

    Sure, I'll provide a pared down example that demonstrates my use-case:
    I have a control to the VI that takes in a 2D array of strings representing the data I want printed in a table.  I am generating a standard report, adding a table to the report, and printing it.  The first VI is "New Report.vi", the second VI is "Append Table to Report.vi", and the third is "Print Report.vi", all found standard in the Report Generation palette.
    Note that the "Append Table to Report.vi" has an input parameter "Column Width" with a default value of (1).  This input parameter is a single input parameter, which defines the column widths of ALL the columns in my table - hence, with the VI the way it is, all my columns will be 1 inch wide.  
    I find myself needing to be able to define per-column widths, not just a single global column width parameter.  
    The only way I have found to do this is by using an Excel template file.  The "New Report.vi" takes in a "template" parameter, and if used, the report generation toolkit can be set to ignore the "Column Width" input parameter on the "Append Table to Report.vi" by setting the width value to -1.  Instead it will launch Excel, open the template file provided, build the table using the template, will close Excel, and will attach the generated table to the report.  However, I have a strict requirement that Microsoft Office NOT be required to be installed on the computer.  
    So, without using Excel, is there a way to generate a table in a report and define the width of each column individually?
    -Danny

  • Use a Excel template when saving a csv export

    Hi!
    I wonder if it is possible to use an excel template when export data from a report to excel? If so, is there anyone who have an example how to do this?
    Regards
    /Ulf Jonsson

    Hi Ulf,
    CSV is a generic standard for exchanging tabular data in flat files.
    You can not pass any processing instructions through CSV, for formatting or dynamic behavior in Excel.
    SYLK is a text-based interchange format for spreadsheets; it supports formulas, borders, fonts, point sizes, etc. SYLK is supported by Excel and other spreadsheet packages. SYLK is the RTF of spreadsheets. The problem with SYLK is that it is not well documented.
    Maybe you need to look after a license of Oracle BI Publisher for your Apex environment to do more sophisticated publishing.
    I have no experience with that.
    Regards,
    Martijn

  • Using SAML secured webservice in ADF Application

    I am looking for some tutorial/docs to use SAML secured webservice in ADF application. In my adf application, I am using the webservices using WebProxy and WebServiceDataControls.
    Any pointers in this direction will be helpful.
    Thanks,
    Rajdeep

    Take a look at the following blog posts - which provides some information regarding the SAML security in ADF
    http://biemond.blogspot.com/2009/05/sso-with-saml-adf-security.html
    http://biemond.blogspot.com/2009/05/sso-with-weblogic-103-and-saml.html
    Thanks,
    Navaneeth

  • Using UCM data controls in ADF application

    Using *.6 Jdeveloper/UCM/Protal Application/UCM
    Calling all the experts in Webcenter/Spaces/UCM/ADF.
    We have a requirement to design search inteface for Documents stored in UCM for Webcenter Portal and Spaces application.
    Our approach is
    Design simple ADF application (no security/templates)
    Bounded task flows using fragments.
    Framents to use UCM data controls (provided by oracle)
    UCM data control definition is extended to use custom metadata.
    package the application.
    Added as ADF library jar to portal application
    Added as Shared Library to Spaces application.
    Question.
    Is this approach sound?
    Does UCM data controls provide all the functionality, for example if we want to read a option list for custom metadata or need custom metadata in return table?
    Can we add other methods to UCM data control provided by Oracle or should we create different one?
    Is there good documentation for such requirements. We have acces Webcenter developers guide which throws some light on UCM data controls.
    Let me know if more clarity is needed...
    Regards

    Hi.
    One of my last components was a custom "Document Explorer" and I used for first time JCR Data Control (Custom UCM Data Control provided by Oracle).
    Sharing my experience I did something similar to you:
    1) Create a ADF Bounded Task Flow and test it individually.
    2) Add generated ADF JAR Library to WebCenter Spaces shared-lib.
    3) Add your Task Flow to Resource Catalog.
    Challenges that I found using custom Data Control:
    1) When items retrieved are content/files all custom metadata can be retrieved OOTB.
    2) When retrieving folders don't provide custom metadata like files. I used RIDC with JCR Data Control to provide all the information relative to folders. If you don't need more information about folders than the name, URI and icons then is OK :).
    3) Using JCR Data Control registers in DataControls.dcx UCM Connection name used when generate JCR Data Control. After deploy your ADF JAR Library in WebCenter Spaces you'll have problems if you don't have a WebCenter Content Connection created with the same name. (Not talking about export UCM Connection with ADF JAR Library, Data Control uses a Connection name by itself :)).
    I added extra functionallity with RIDC (not extending JCR Data Control).
    I hope this help you.
    Regards.

  • How to use jquery.hotkeys.js in ADF application

    Hello all,
    I am developing an ADF application where i am trying to use jquery.hotkeys.js file. I have created a folder js inside ViewController\Web Content\js and i have added jquery.hotkeys.js file inside that folder.
    Now i have created a jspx page and inside that i have 3 input text and 1 submit button now I am trying to use keyboard shortcuts say ALT+F8 to clear the form fields. Here is my full jspx form
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <af:document id="d1">
    <af:form id="f1">
    <af:inputText label="First Name" id="it1" value="#{MyBean2.firstName}">
    <af:clientListener method="clearAll" type="keyDown"/>
    </af:inputText>
    <af:inputText label="Last Name" id="it2" value="#{MyBean2.lastName}">
    <af:clientListener method="clearAll" type="keyDown"/>
    </af:inputText>
    <af:inputText label="EmailID" id="it3" value="#{MyBean2.emailId}">
    <af:clientListener method="clearAll" type="keyDown"/>
    </af:inputText>
    <af:commandButton text="Submit" id="cb1"
    action="#{MyBean2.callSubmit}"
    binding="#{MyBean2.cb1}">
    <af:clientListener method="clearAll" type="keyDown"/>
    </af:commandButton>
    </af:form>
    <f:facet name="metaContainer">
    <af:resource type="javascript" source="/js/jquery.hotkeys.js"/>
    <af:resource type="javascript">
    function clearAll() {
    $("*").bind('keydown', 'Alt+F8', function (evt) {
    clearForm();
    evt.stopPropagation();
    return false;
    function clearForm() {
    alert('3');
    curElm = document.activeElement;
    var frm = $(curElm).closest('form');
    var frmname = ($(frm).attr('name'));
    document.forms[frmname].reset();
    document.getElementById('frmname::content').reset();
    document.getElementById('f1::content').reset();
    $("input:visible:enabled:first").focus();
    </af:resource>
    </f:facet>
    </af:document>
    </f:view>
    </jsp:root>
    But that is not working. Can anyone help?
    Thanks

    My requirement is the form should get cleared on pressing ALT + F8.
    Here is my updated jspx page:-
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <af:document id="d1">
    <af:form id="f1">
    <af:inputText label="First Name" id="it1" value="#{MyBean2.firstName}">
    </af:inputText>
    <af:inputText label="Last Name" id="it2" value="#{MyBean2.lastName}">
    </af:inputText>
    <af:inputText label="EmailID" id="it3" value="#{MyBean2.emailId}">
    <af:clientListener method="clearAll" type="keyDown"/>
    </af:inputText>
    <af:commandButton text="Submit" id="cb1"
    action="#{MyBean2.callSubmit}"
    binding="#{MyBean2.cb1}">
    <af:clientListener method="clearAll" type="keyDown"/>
    </af:commandButton>
    </af:form>
    <f:facet name="metaContainer">
    <af:resource type="javascript" source="/js/jquery.hotkeys.js"/>
    <af:resource type="javascript" source="/js/jquery-1.4.4.min.js"/>
    <af:resource type="javascript">
    function clearAll() {
    jQuery('*').bind('keydown', 'Alt+F8', function (evt) {
    clearForm();
    evt.stopPropagation();
    return false;
    function clearForm() {
    curElm = document.activeElement;
    var frm = $(curElm).closest('form');
    var frmname = ($(frm).attr('name'));
    alert(frmname);
    document.forms[frmname].reset();
    $("input:visible:enabled:first").focus();
    </af:resource>
    </f:facet>
    </af:document>
    </f:view>
    </jsp:root>
    But still I am not able to get the desired functionality. Am i missing something here?
    Thanks

  • How can split data into multiple sheets using an excel template

    Hi all,
    I'm using BIP 10.1.3.4.1 upgrated with the latest rollup patch, 9546699.
    I followed the example inside the article "Real Excel Templates 1.5" (on the Tim Dexter's blog)
    http://blogs.oracle.com/xmlpublisher/2010/05/real_excel_templates_i.html
    and I built my report directly from an excel template containing only one sheet (plus the XDO_METADATA sheet), and for one sheet it worked fine !!!
    Now I need to add more sheets to the template.... and I have two big questions:
    1. if I need to create a second sheet which contains almost the same data (with a different layout), I saw that it is not possible to map a value to more than 1 cell....so if I map a value in the first sheet, I can't map it in the second sheet (because it's already used in the first one).
    How can I map same values into two or different execll
    2. if I need to create a second sheet which contains another dataset (completely different from the dataset in the first sheet), I can I do, considering that every BIP report is based on ONLY a data source.
    Tim wrote: The most impressive, for me at least, is the sheet 'bursting'. You can split your hierarchical data across multiple sheets and dynamically name those sheets
    but I didn't yet understand how this bursting it's possible.....considering what I said above.....
    Surely I've a lack of knowledge.....but anybody can help me to understanding the "multiple excel sheets" black hole ?
    I'll appreciate any kind of help
    Thanks in advance
    Alex

    You can find working solution here http://xlspe.com

  • Labview- Excel template path at run time(to build .exe file)

    I am new to labview and I have one doubt in it. I have one main.vi file where I use local drive path to invoke one excel template, Now I have to convert this .vi file in to .exe file. So now I cannot give the local drive path to invoke the template because the client will not have the same path as mine. So what I did is I created one project. Under this project I created one virtual folder which contains the excel templates. My doubt is how to give path for the excel-template in main.vi file. Please let me know if you guys know. thanks in advance.
    Thanks & Regards
    saamy

    Hi again.
    Here is a strategy I always use when I create a project:
    Create a folder named for example "My project". In this folder I create new folders called "Bin", "Doc", "Data" and "Img". I put my main Vi in the "Bin" folder and for example the excel template in the "Data" folder.
    I then create a project in LabVIEW and I add the "My project" folder into this project as an autopopulating folder. This means if I add a file in i.e the "Bin" folder it will automatically come up in the project.
    When I create my Main.vi and want to use the excel template, I simply add a folder path constant to the "Data" folder on my computer. I don't care about the LabVIEW project file.
    After I'm done programming and I'm happy with the result I need to prepare the VI for being converted into an .exe file. This means I have to remove all the path constants and add the application folder node mentioned above. I have to know what folder hiearchy I want the installer to create. In this example we can use the folder where the .exe file will be and then a sub-folder named "Data" where the excel template will be. The path will be like "the_folder_where_the_exe_is\data\exceltemplate.xlsx."
    When I create the .exe file I can add which files that will always be included. Here I add the Data folder containing the excel template. After that I create an installer where I add the folder where the exe file is, which I just created. 
    Regards,
    Even
    Certified LabVIEW Associate Developer
    Automated Test Developer
    Topro AS
    Norway

  • How to reference a parent element in Excel Templates

    I am using an excel template and I have nested groupings of xml that I wish to flatten, for example:
    <G_DEPT>
    <DEPARTMENT_ID>10</DEPARTMENT_ID>
    <DEPARTMENT_NAME>Administration</DEPARTMENT_NAME>
    <LIST_G_EMP>
    <G_EMP>
    <EMPLOYEE_ID>200</EMPLOYEE_ID>
    <EMP_NAME>Jennifer Whalen</EMP_NAME>
    <EMAIL>JWHALEN</EMAIL>
    <PHONE_NUMBER>515.123.4444</PHONE_NUMBER>
    <HIRE_DATE>1987-09-17T00:00:00.000-06:00</HIRE_DATE>
    <SALARY>4400</SALARY>
    <HTML_TEXT>&lt;B&gt;This is some bold text&lt;/B&gt;</HTML_TEXT>
    </G_EMP>
    </LIST_G_EMP>
    <TOTAL_EMPS>1</TOTAL_EMPS>
    <TOTAL_SALARY>4400</TOTAL_SALARY>
    <AVG_SALARY>4400</AVG_SALARY>
    <MAX_SALARY>4400</MAX_SALARY>
    <MIN_SALARY>4400</MIN_SALARY>
    </G_DEPT>
    from the </G_EMP> group, how do I reference elements in the parent group G_DEPT for example? Normally in the rtf templates I would use the xpath <?../../DEPARTMENT_NAME?>
    however in the excel templates, the "define names" does not allow me to use XDO_?../../DEPARTMETN_NAME?
    Any help would be much appreciated.

    You must have done a group on G_DEPT like below:
    XDO_GROUP_?G_DEPT?Refer the dept_name like below in meta data
    XDO_?G_DEPT? <?.//DEPARTMENT_NAME?>Cheers,
    ND
    Use the "helpful" or "correct" buttons to award points to replies / Mark the thread as answered, if your question is answered.

  • Skip a column in BI Publisher Excel Template

    Hi,
    Do anyone know how to skip an entire column based on a condition in BIP Excel Template.  We are able to skip a row in Excel Template using XDO_SKIPROW, Do we have a similar one for skipping columns?
    Thanks in advance

    no its not possible as far as i know if you need different columns in different sheets you need to use xsl excel template only .
    u can do it using rtf template but it wont be as same as regular excel output and you should be on bi publisher 11g to do that u can do like this
    when u preview xslx output using bi publisher rtf template it treats page breaks as new sheet
    <?for-each@section:G_1?>
    ID NAME NUMBER
    <?for-each:G_2?><?ID1?><?NAME?><?NUMBER?><?end for-each?>
    <?split-by-page-break:?>
    ID DEPT ACCOUNT#
    <?for-each:G_2?><?ID?><?DEPT?><?ACCOUNT#?><?end for-each?>
    <?end for-each?>
    Use the "helpful" or "correct" buttons to award points to replies / Mark the thread as answered, if your question is answered.

  • How to give the file path in adf application

    Hii all,
    I want to use castor xml framework in adf application..
    for which i have to un- marshaller the xml file..
    by using following method-
    Person person = (Person)
    Unmarshaller.unmarshal(Person.class,
    new FileReader("src/com/person.xml"));
    if i use this method in a java class inside a main method directly it works fine,
    but when i try to initiate the java class through a jspx page deployed on integrated server..
    it gives the file not found exception..
    how to define the file path so it can be properly used even when application is deployed on server.
    Thanks

    duplicate {thread:id=2418158} ?
    I guess the path you are using is wrong. It works on your mashiene as the src path is available. When you run the app on a server (jspx file) there is no src path as long as you don't include it in your WAR wich you should not do anyway.
    If you need to access such data you can create a folder in your webroot folder and the the resources from there as /xml_folder_name or if the xml files shouldn't be visible from the outside put the folder under hte web-inf folder.
    Timo
    Edited by: Timo Hahn on 23.07.2012 16:20

  • To make adf application secure(HTTPS)----------------urgent !!!!

    Hi all,
    I need to have my application run on HTTPS rather than http .i have used jdev 10 for my adf application and deployed on oracle application server 10 g .
    so can someone help me out how to run or get my url in https.
    Do i need to make settings in Jdev only or do customization in application server.
    Thnks in advance.

    In the app server. Consult the OC4J documentation.
    CM.

  • Do we require to install ADF on weblogic for ADF applications

    Hi All,
    For deploying and running ADF applications do we require to install ADF on weblogic? Can only weblogic installation domain be used to deploy and run ADF applications or we have to install ADF on top of weblogic installation for deplying and running ADF applications?
    Please guide!!

    Roshni,
    You may have to install Application Development Runtime.
    The detailed instructions are available here.. http://www.oracle.com/webfolder/technetwork/jdeveloper/howto/11114/managedserver/wlsadfms.html

  • HTTPS adf application ----urgent !!!!!!

    Hi all,
    I need to have my application run on HTTPS rather than http .i have used jdev 10 for my adf application and deployed on oracle application server 10 g .
    so can someone help me out how to run or get my url in https.
    Do i need to make settings in Jdev only or do customization in application server.
    Thnks in advance.

    hi user11159690
    Maybe this can help:
    "Oracle® HTTP Server Administrator's Guide 10g Release 3 (10.1.3) B25211-02"
    "10 Enabling SSL for Oracle HTTP Server"
    http://download.oracle.com/docs/cd/B25221_04/web.1013/b25211/ssl.htm
    Or maybe you are looking for this:
    "Oracle® Containers for J2EE Security Guide 10g Release 3 (10.1.3) B14429-01"
    "11 Integration with SSL and ORMIS"
    http://download.oracle.com/docs/cd/B25221_04/web.1013/b14429/configssl.htm
    (tip : You can use "Your Control Panel" to make your name visible in forum posts.)
    succes
    Jan Vervecken

  • VF05 Report to be displayed in Excel template.

    1. I am using VF05 report. Once I specify the selection criteria, the screen displays a list of billing documents.
       I would like to use an Excel template to display the billing documents.
       However, when I upload the excel template, SAP only displays the excel spreadsheet without displaying the billing documents.
       I upload the spreadsheet template using the path (settings -> Display variants -> View Tab -> upload the excel template).
    2. Does anybody know on how to get the billing documents on the Excel template?

    Hi Chandra,
                   After executing the report you select List--->Save --> File --> Spred sheet , give your file  and net work path it will get save.
    I hope it will help you,
    Regards,
    Murali.

Maybe you are looking for

  • How do I copy contacts from samsung galaxy tablet to my new ipad mini

    I have just bought the new Apple Ipad mini, and I want to transfer all my contacts from my samsung galaxy tab to the new ipad.  Could you please explain how I can do this, as there is nothing in the instructions. thanking you in anticipation

  • Adobe Reader 11 stopped working and now will not install

    For some reason my Adobe Reader 11 stopped working today when I tried to use it so I figured I would try to re-install it. Well, re-installing it helped none. The same error keeps re-occuring. Here is a screenshot of the error message I keep getting:

  • Help with Guilloches and other things?

    Heya, i've used Illustrator before for a few things, but i'm still quite new to it. Hope you can help. Ok so what im trying to do is make bank note from scratch. Dont worry, its for a college project and it'll be an entirely new design so theres no c

  • Reading each row of a .csv file in 12.1

    I have  a .csv file with the first row as header information and multiple data rows. I aim to insert the data rows into SQL database. The functionality works fine with MII 11.5, where I loaded the content using a text loader and used a flat file pars

  • THe dock should appear (when hide dock option is enabled) while resizing

    This is a suggestion When the dock is hidden, and when one tweaks with options regarding it, it remains so. It should transiently appear while the modifications are being made, for easier tweaks.