SlideShare a Scribd company logo
1 of 16
Download to read offline
XLS Processor Engine for
 Oracle® BI Publisher

     How To Tutorials/
      Tips & Tricks
Introduction

Oracle BI Publisher (formerly XML Publisher) by Oracle Corporation (the part of Oracle E-
Business Suite technological stack) is a multifunctional report designer. Unfortunately, this product
has got some functional limitations. For instance, you cannot design Microsoft Excel templates and
create reports based on these templates.

Of course, you can design RTF template using Microsoft Word and publish report in Microsoft
Excel based on this template, but there are some shortcomings of this method:

       It’s impossible to use existing XLS templates. You ALWAYS MUST design RTF template.
   ●
       You can’t import existing spreadsheet from Excel to Word.
       There is a tabs limitation. It’s impossible to publish report using Microsoft Word template on
   ●
       separately tabsheets.
       ou cannot create a wide spreadsheet by RTF template if the number of columns is more than
   ●
       64.
       Published Microsoft Excel report differs from the designed template (especially for complex
   ●
       cross table reports).
       Output report is published in HTML format. Microsoft Excel opens such files with a
   ●
       considerable delay.

All of these shortcomings will be considered in detail afterwards.

So we’ve come to the conclusion: the reviewed shortcomings practically disable the design of
complex Excel reports by Oracle BI Publisher. However, design of such reports is one of the largest
part of Oracle E-Business Suite report developers’ work.

So we’ve got next objectives:

       Give a possibility to design templates using Microsoft Excel
   ●
       And publish reports based on these templates using Microsoft Excel
   ●
Solution path

The solution path is base on the following background:

   1. Microsoft Excel (version 2003 and higher) supports “XML Spreadsheet” data format. This
      format is a XML file which contains Excel table structure and data. So this format can be
      used both to design and store templates and to publish reports.
   2. XML Publisher uses XSL-XML templates for publishing reports. These templatess can be
      generated manually or by custom software.

So we should carry out sequence of operations to create a template and publish a report:

   1.   Open Microsoft Excel XLS file (by Excel 2003 or higher).
   2.   Add markup to the template layout using Oracle XML Publisher Report Designer’s Guide.
   3.   Save the template as “XML Spreadsheet”.
   4.   Convert the XML template into the XSL-XML template.
   5.   Upload the XSL-XML template into Oracle XML Publisher.
   6.   Set up a Viewer Options for Oracle e-Business Suite.
   7.   Launch report generating and publishing process.
   8.   View the output report via Microsoft Excel.

Let’s examine each operation in detail below.
How to add markup to the template using Microsoft Excel

We use for template design Microsoft Excel 2003 or higher within the framework of our solution.
Load the existing multisheet template into Microsoft Excel and add markup to the template layout
to create the mapping between the layout and the data source.

Notice: You should follow Oracle XML Publisher Report Designer's Guide[/link] (section
“Creating an RTF Template”).

Then save the finished template as “XML Spreadsheet”.
How to convert XML template into XSL-XML template

Try to use our XLS Processor Engine for Oracle® BI Publisher utility to convert XML template
into XSL-XML template. Trial version of this utility is distibuted free of charge but it's got the
following limitations:

        parse of the first tabsheet of template only;
    •
        period of 14 days for the sole purpose of evaluating.
    •


Actually, you can convert the template via single click. You can choose XML Speadsheet template
by clicking Open And Process button.

At runtime the program is logging errors and warnings of conversion process (you can see it on the
main program window).




As a result of the conversion there’ll be created XSL-XML template in source directory. The name
of XSL-XML template is equal to the source file and the extension is “XSL”.
How to upload XSL-XML template to Oracle® BI Publisher

You should choose template type XSL-XML when you upload your template by Template Manager
How to set up Viewer Options for Oracle e-Business Suite
You will need set up Viewer Options correctly via System Administrator responsibility to view
published reports properly.

Step 1 (Install –> Viewer Options)

You’ll need to create a new record for File Format XML (Mime Type = application/vnd.ms-excel,
Description = Microsoft Excel)




Step 2 (Profile -> System)

You’ll also need to set the value “Microsoft Excel” for the System Profile Option “Viewer:
Application for XML” and set the value “Browser” for the System Profile Option “Viewer: Text”
How to create Placeholders

XLS Processor Engine for Oracle BI Publisher converts the formatting that you apply in your
spreadsheet processing application to XSL-XML. You add markup to create the mapping between
your layout and the XML file and to include features that cannot be represented directly in your
format.

The most basic markup elements are Placeholders, to define the XML data elements; and Groups, to
define the repeating elements. BI Publisher provides tags to add markup to your template.

Creating Placeholders

The Placeholder maps the template field to the XML element data field. At runtime the Placeholder
is replaced by the value of the element of the same name in the XML data file.

XLS Processor Engine for Oracle BI Publisher support only basic method to parse Placeholders.
Enter the Placeholder syntax in your document where you want the XML data value to appear.

Enter the element's XML tag name using the syntax:

<?XML_element_tag_name?>

Note: The placeholder must match the XML element tag name exactly. It is case sensitive.

In the example, the template field quot;Full Namequot; maps to the XML element FULL_NAME. In your
document, enter:

<?FULL_NAME?>

The entry in the template is shown in the following figure (download the example):
How to define Groups

By defining a group, you are notifying BI Publisher that for each occurrence of an element, you
want the included fields displayed. At runtime, BI Publisher will loop through the occurrences of
the element and display the fields each time.

To designate a group of repeating fields, insert the grouping tags around the elements to repeat.

Insert the following tag before the first element:

<?for-each:XML_group_element_tag_name?>

Insert the following tag after the final element:

<?end for-each?>

Grouping scenarios

Note that the group element must be a parent of the repeating elements in the XML input file.

         If you insert the grouping tags around text or formatting elements, the text and formatting
    •
         elements between the group tags will be repeated.
         If you insert the tags around a table, the table will be repeated.
    •
         If you insert the tags around text in a table cell, the text in the table cell between the tags will
    •
         be repeated.
         If you insert the tags around two different table cells, but in the same table row, the single
    •
         row will be repeated.
         If you insert the tags around two different table rows, the rows between the tags will be
    •
         repeated (this does not include the row that contains the quot;end groupquot; tag).

Defining Groups

XLS Processor Engine for Oracle BI Publisher support only basic method to parse Groups. Enter
the tags in your document to define the beginning and end of the repeating element group.

To create the quot;Year of birthquot; group in the example, insert the tag


<?for-each:G_YEAR_OF_BIRTH?>

before the quot;Year of birthquot; field that you previously created.

Insert


<?end for-each?>

in the document after the summary row.
The following figure shows the quot;Employee breakdown by year of birthquot; with the basic Grouping
and Placeholder markup (download the example):
How to define If statements

Use an If statement to define a simple condition; for example, if a data field is a specific value.

    1. Insert the following syntax to designate the beginning of the conditional area:


       <?if:condition?>

    2. Insert the following syntax at the end of the conditional area:


       <?end if?>

For example, to set up the quot;Employee breakdown by year of birthquot; to display emloyees only when
the year of birth is more that 1970, insert the syntax


<?if:YEAR_OF_BIRTH>1970?>

before the YEAR_OF_BIRTH field on the template. Enter the


<?end if?>

tag after the emloyees table.

This example is displayed in the figure below (download the example). Note that you can't insert
the syntax in form fields, only directly into the template:




If Statements in Boilerplate Text

Assume you want to incorporate an If statement into the following free-form text:
The program was (not) successful.

You only want the quot;notquot; to display if the value of an XML tag called equals quot;Nquot;.

To achieve this requirement, you must use the BI Publisher context command to place the if
statement into the inline sequence rather than into the block (the default placement).
If you construct the code as follows:


The program was <?if:SUCCESS='N'?>not<?end if?> successful.

The following undesirable result will occur


The program was
not
successful.

because BI Publisher applies the instructions to the block by default. To specify that the if statement
should be inserted into the inline sequence, enter the following:


The program was <?if@inlines:SUCCESS='N'?>not<?end if?>
successful.

For example, to display in cell 'No Number' message when the employee number is empty, insert
the syntax


<?if@inlines:EMPLOYEE_NUMBER=''?>No Number<?end if?>

before the EMPLOYEE_NUMBER field on the template.

This example is displayed in the figure below (download the example):
How to define Choose statements

Use the choose, when, and otherwise elements to express multiple conditional tests. If certain
conditions are met in the incoming XML data then specific sections of the template will be
rendered. This is a very powerful feature. In regular XSL programming, if a condition is met in the
choose command then further XSL code is executed. In the template, however, you can actually use
visual widgets in the conditional flow (in the following example, a cell borders).

Use the following syntax for these elements:

<?choose:?>

<?when:expression?>

<?otherwise?>

This example is displayed in the figure below (download the example). Note that you can't insert
the syntax in form fields, only directly into the template:




Choose Statements in Boilerplate Text

Assume you want to incorporate an Choose statement into the following free-form text. For
example, to display in cell 'No Number' message when the employee number is empty, insert the
syntax
<?choose@inlines:?>

       <?when@inlines:EMPLOYEE_NUMBER=''?>No Number<?end when?>

       <?otherwise@inlines:?><?EMPLOYEE_NUMBER?><?end otherwise?>

<?end choose?>
This example is displayed in the figure below (download the example):
How to use Extended SQL and XSL Functions

BI Publisher has extended a set of SQL and XSL functions for use in templates. The syntax for
these extended functions is

<?xdofx:expression?>

for extended SQL functions or

<?xdoxslt:expression?>

for extended XSL functions.

Note: Using XLS Processor Engine for Oracle® BI Publisher you CAN mix xdofx and xdoxslt
statements with XSL expressions in the same context.

For example, assume you had two elements, FULL_NAME and EMPLOYEE_NUMBER, that you
wanted to concatenate into a 40-character field and right pad the field with the character quot;xquot;.

You CAN use the following:

<?xdofx:rpad(concat(FULL_NAME,EMPLOYEE_NUMBER),40,'x')?>

because concat is an XSL expression. Also, you CAN use the following:

<?xdofx:rpad(FULL_NAME||EMPLOYEE_NUMBER),40,'x')?>

Certainly, you CAN also use the following:

<?concat(xdofx:rpad(FULL_NAME,40,'x'),xdofx:rpad(EMPLOYEE_NUMBER,
10,'0'))?>

This example is displayed in the figure below (download the example):
How to define Sorting

You can sort a group by expression of any element within the group. Insert the following syntax
within the group tags:

<?sort:expression?>

For example, to sort the Employee breakdown by Employee Number (EMPLOYEE_NUMBER),
enter the following after the

<?for-each:G_FULL_NAME?>

tag:

<?sort:xdofx:rpad(EMPLOYEE_NUMBER,10,'0')?>

To sort a group by multiple fields, just insert the sort syntax after the primary sort field. To sort by
Full Name and then by Employee Number, enter the following

<?sort:FULL_NAME?><?sort:xdofx:rpad(EMPLOYEE_NUMBER,10,'0')?>

This example is displayed in the figure below (download the example):

More Related Content

What's hot

High Rise Structures case study - The Gherkin & Shanghai financial center.
High Rise Structures  case study - The Gherkin & Shanghai financial center.High Rise Structures  case study - The Gherkin & Shanghai financial center.
High Rise Structures case study - The Gherkin & Shanghai financial center.Shabarinath R
 
Tour and travel management system
Tour and travel management systemTour and travel management system
Tour and travel management systemRavindra Chaudhary
 
highrise report bangladesh (city center)
highrise report bangladesh (city center)highrise report bangladesh (city center)
highrise report bangladesh (city center)iftekhar rafat
 
AA project 1 - blue mansion
AA project 1 - blue mansion AA project 1 - blue mansion
AA project 1 - blue mansion Pei Di
 
Kompleks Perbadanan Putrajaya
Kompleks Perbadanan Putrajaya Kompleks Perbadanan Putrajaya
Kompleks Perbadanan Putrajaya Hilmi Awaludin
 
Method to identify Building Energy Index BEI
Method to identify Building Energy Index BEIMethod to identify Building Energy Index BEI
Method to identify Building Energy Index BEISteve Lojuntin
 
presentation on petronas twin tower
 presentation on petronas twin tower presentation on petronas twin tower
presentation on petronas twin towerKaish Pasha
 
TopDown Construction
TopDown ConstructionTopDown Construction
TopDown ConstructionAditya Mhatre
 
Project proposal for traditional residential dwelling design studio
Project proposal for traditional residential dwelling design studioProject proposal for traditional residential dwelling design studio
Project proposal for traditional residential dwelling design studioAmit Pokharel
 
Elevator
Elevator Elevator
Elevator Eng Eng
 
Informatica PowerCenter
Informatica PowerCenterInformatica PowerCenter
Informatica PowerCenterRamy Mahrous
 

What's hot (20)

Petronas Towers
Petronas TowersPetronas Towers
Petronas Towers
 
Lifts
LiftsLifts
Lifts
 
High Rise Structures case study - The Gherkin & Shanghai financial center.
High Rise Structures  case study - The Gherkin & Shanghai financial center.High Rise Structures  case study - The Gherkin & Shanghai financial center.
High Rise Structures case study - The Gherkin & Shanghai financial center.
 
Tour and travel management system
Tour and travel management systemTour and travel management system
Tour and travel management system
 
highrise report bangladesh (city center)
highrise report bangladesh (city center)highrise report bangladesh (city center)
highrise report bangladesh (city center)
 
AA project 1 - blue mansion
AA project 1 - blue mansion AA project 1 - blue mansion
AA project 1 - blue mansion
 
Kompleks Perbadanan Putrajaya
Kompleks Perbadanan Putrajaya Kompleks Perbadanan Putrajaya
Kompleks Perbadanan Putrajaya
 
Method to identify Building Energy Index BEI
Method to identify Building Energy Index BEIMethod to identify Building Energy Index BEI
Method to identify Building Energy Index BEI
 
petronas twin tower
petronas twin towerpetronas twin tower
petronas twin tower
 
Lift
LiftLift
Lift
 
Locomotive
Locomotive Locomotive
Locomotive
 
LIFT/ELEVATOR
LIFT/ELEVATORLIFT/ELEVATOR
LIFT/ELEVATOR
 
presentation on petronas twin tower
 presentation on petronas twin tower presentation on petronas twin tower
presentation on petronas twin tower
 
TopDown Construction
TopDown ConstructionTopDown Construction
TopDown Construction
 
Project proposal for traditional residential dwelling design studio
Project proposal for traditional residential dwelling design studioProject proposal for traditional residential dwelling design studio
Project proposal for traditional residential dwelling design studio
 
Lift Design
Lift  DesignLift  Design
Lift Design
 
Elevator
Elevator Elevator
Elevator
 
Presentation on building service
Presentation on building servicePresentation on building service
Presentation on building service
 
BEML LIMITED FILE
BEML LIMITED FILEBEML LIMITED FILE
BEML LIMITED FILE
 
Informatica PowerCenter
Informatica PowerCenterInformatica PowerCenter
Informatica PowerCenter
 

Viewers also liked

Oracle XML Publisher / BI Publisher
Oracle XML Publisher / BI PublisherOracle XML Publisher / BI Publisher
Oracle XML Publisher / BI PublisherEdi Yanto
 
XLS Processor Engine How To, Tutorials, Tips & Tricks
XLS Processor Engine How To, Tutorials, Tips & TricksXLS Processor Engine How To, Tutorials, Tips & Tricks
XLS Processor Engine How To, Tutorials, Tips & TricksEarl Grau
 
Contractors Network - Developing Oracle Bi (Xml) Publisher
Contractors Network - Developing Oracle Bi (Xml) PublisherContractors Network - Developing Oracle Bi (Xml) Publisher
Contractors Network - Developing Oracle Bi (Xml) Publisherbraggy
 
RESUME_VIKRANT_PANDEY_ORACLE_APPS_TECHNICAL
RESUME_VIKRANT_PANDEY_ORACLE_APPS_TECHNICALRESUME_VIKRANT_PANDEY_ORACLE_APPS_TECHNICAL
RESUME_VIKRANT_PANDEY_ORACLE_APPS_TECHNICALVikrant Pandey
 
An Introduction on BI Publisher & JD Edwards Integration
An Introduction on BI Publisher & JD Edwards IntegrationAn Introduction on BI Publisher & JD Edwards Integration
An Introduction on BI Publisher & JD Edwards Integrationadivasoft
 
BI Publisher Data model design document
BI Publisher Data model design documentBI Publisher Data model design document
BI Publisher Data model design documentadivasoft
 
Oracle BI publisher intro
Oracle BI publisher introOracle BI publisher intro
Oracle BI publisher introAdil Arshad
 
Report Registration Steps with effected tables in ORACLE Applications R12
Report Registration Steps with effected tables in ORACLE Applications R12Report Registration Steps with effected tables in ORACLE Applications R12
Report Registration Steps with effected tables in ORACLE Applications R12Nagendra Reddy B K
 
Oracle Apps Technical – Short notes on RICE Components.
Oracle Apps Technical – Short notes on RICE Components.Oracle Apps Technical – Short notes on RICE Components.
Oracle Apps Technical – Short notes on RICE Components.Boopathy CS
 
Oracle Apps Technical Manual
Oracle Apps Technical ManualOracle Apps Technical Manual
Oracle Apps Technical ManualHossam El-Faxe
 
Internet of things the salesforce lego machine cloud
Internet of things   the salesforce lego machine cloudInternet of things   the salesforce lego machine cloud
Internet of things the salesforce lego machine cloudandyinthecloud
 
Oracle apps technical profile
Oracle apps technical profileOracle apps technical profile
Oracle apps technical profileRamana Reddy
 
Resume of Sugavanan - Oracle Apps Technical Consultant
Resume of Sugavanan - Oracle Apps Technical ConsultantResume of Sugavanan - Oracle Apps Technical Consultant
Resume of Sugavanan - Oracle Apps Technical ConsultantSugavanan Arunachalam
 
Oracle apps-interview-questions
Oracle apps-interview-questionsOracle apps-interview-questions
Oracle apps-interview-questionsPakeera Mekala
 
Zinnov Zones for IoT Services 2017
Zinnov Zones for IoT Services 2017Zinnov Zones for IoT Services 2017
Zinnov Zones for IoT Services 2017Zinnov
 
Internet of Things & Hardware Industry Report 2016
Internet of Things & Hardware Industry Report 2016Internet of Things & Hardware Industry Report 2016
Internet of Things & Hardware Industry Report 2016Bernard Moon
 
Internet of Things (IoT) - We Are at the Tip of An Iceberg
Internet of Things (IoT) - We Are at the Tip of An IcebergInternet of Things (IoT) - We Are at the Tip of An Iceberg
Internet of Things (IoT) - We Are at the Tip of An IcebergDr. Mazlan Abbas
 
Introduction to IOT & Smart City
Introduction to IOT & Smart CityIntroduction to IOT & Smart City
Introduction to IOT & Smart CityDr. Mazlan Abbas
 

Viewers also liked (20)

Oracle XML Publisher / BI Publisher
Oracle XML Publisher / BI PublisherOracle XML Publisher / BI Publisher
Oracle XML Publisher / BI Publisher
 
XLS Processor Engine How To, Tutorials, Tips & Tricks
XLS Processor Engine How To, Tutorials, Tips & TricksXLS Processor Engine How To, Tutorials, Tips & Tricks
XLS Processor Engine How To, Tutorials, Tips & Tricks
 
Contractors Network - Developing Oracle Bi (Xml) Publisher
Contractors Network - Developing Oracle Bi (Xml) PublisherContractors Network - Developing Oracle Bi (Xml) Publisher
Contractors Network - Developing Oracle Bi (Xml) Publisher
 
RESUME_VIKRANT_PANDEY_ORACLE_APPS_TECHNICAL
RESUME_VIKRANT_PANDEY_ORACLE_APPS_TECHNICALRESUME_VIKRANT_PANDEY_ORACLE_APPS_TECHNICAL
RESUME_VIKRANT_PANDEY_ORACLE_APPS_TECHNICAL
 
Oracle Shop Floor Management R12
Oracle Shop Floor Management R12Oracle Shop Floor Management R12
Oracle Shop Floor Management R12
 
An Introduction on BI Publisher & JD Edwards Integration
An Introduction on BI Publisher & JD Edwards IntegrationAn Introduction on BI Publisher & JD Edwards Integration
An Introduction on BI Publisher & JD Edwards Integration
 
BI Publisher Data model design document
BI Publisher Data model design documentBI Publisher Data model design document
BI Publisher Data model design document
 
Oracle BI publisher intro
Oracle BI publisher introOracle BI publisher intro
Oracle BI publisher intro
 
Report Registration Steps with effected tables in ORACLE Applications R12
Report Registration Steps with effected tables in ORACLE Applications R12Report Registration Steps with effected tables in ORACLE Applications R12
Report Registration Steps with effected tables in ORACLE Applications R12
 
Oracle Apps Technical – Short notes on RICE Components.
Oracle Apps Technical – Short notes on RICE Components.Oracle Apps Technical – Short notes on RICE Components.
Oracle Apps Technical – Short notes on RICE Components.
 
Oracle Apps Technical Manual
Oracle Apps Technical ManualOracle Apps Technical Manual
Oracle Apps Technical Manual
 
Internet of things the salesforce lego machine cloud
Internet of things   the salesforce lego machine cloudInternet of things   the salesforce lego machine cloud
Internet of things the salesforce lego machine cloud
 
Oracle apps-technical-tutorial
Oracle apps-technical-tutorialOracle apps-technical-tutorial
Oracle apps-technical-tutorial
 
Oracle apps technical profile
Oracle apps technical profileOracle apps technical profile
Oracle apps technical profile
 
Resume of Sugavanan - Oracle Apps Technical Consultant
Resume of Sugavanan - Oracle Apps Technical ConsultantResume of Sugavanan - Oracle Apps Technical Consultant
Resume of Sugavanan - Oracle Apps Technical Consultant
 
Oracle apps-interview-questions
Oracle apps-interview-questionsOracle apps-interview-questions
Oracle apps-interview-questions
 
Zinnov Zones for IoT Services 2017
Zinnov Zones for IoT Services 2017Zinnov Zones for IoT Services 2017
Zinnov Zones for IoT Services 2017
 
Internet of Things & Hardware Industry Report 2016
Internet of Things & Hardware Industry Report 2016Internet of Things & Hardware Industry Report 2016
Internet of Things & Hardware Industry Report 2016
 
Internet of Things (IoT) - We Are at the Tip of An Iceberg
Internet of Things (IoT) - We Are at the Tip of An IcebergInternet of Things (IoT) - We Are at the Tip of An Iceberg
Internet of Things (IoT) - We Are at the Tip of An Iceberg
 
Introduction to IOT & Smart City
Introduction to IOT & Smart CityIntroduction to IOT & Smart City
Introduction to IOT & Smart City
 

Similar to XLS PE How To Tutorials Tips & Tricks

Creating reports in oracle e business suite using xml publisher
Creating reports in oracle e business suite using xml publisherCreating reports in oracle e business suite using xml publisher
Creating reports in oracle e business suite using xml publisherSamchi Fouzee
 
( 13 ) Office 2007 Coding With Excel And Excel Services
( 13 ) Office 2007   Coding With Excel And Excel Services( 13 ) Office 2007   Coding With Excel And Excel Services
( 13 ) Office 2007 Coding With Excel And Excel ServicesLiquidHub
 
bi-publisher.pptx
bi-publisher.pptxbi-publisher.pptx
bi-publisher.pptxkjkombrink
 
( 13 ) Office 2007 Coding With Excel And Excel Services
( 13 ) Office 2007   Coding With Excel And Excel Services( 13 ) Office 2007   Coding With Excel And Excel Services
( 13 ) Office 2007 Coding With Excel And Excel ServicesLiquidHub
 
13 Advanced eBusiness Suite Concepts.pdf
13 Advanced eBusiness Suite Concepts.pdf13 Advanced eBusiness Suite Concepts.pdf
13 Advanced eBusiness Suite Concepts.pdfsheriframadan18
 
Microsoft Excel Tutorial
Microsoft Excel TutorialMicrosoft Excel Tutorial
Microsoft Excel TutorialFaHaD .H. NooR
 
Microsoft Excel Dashboards and Their Features.pdf
Microsoft Excel Dashboards and Their Features.pdfMicrosoft Excel Dashboards and Their Features.pdf
Microsoft Excel Dashboards and Their Features.pdfNitin
 
Oracle9i reports developer
Oracle9i reports developerOracle9i reports developer
Oracle9i reports developerFITSFSd
 
XMLPublisher
XMLPublisherXMLPublisher
XMLPublisherJAYAARC
 
Fomatting Text Tips
Fomatting Text TipsFomatting Text Tips
Fomatting Text TipsEMAINT
 
Oracle application express
Oracle application expressOracle application express
Oracle application expressAbhinaw Kumar
 
Xcelsius Best Practices 2008
Xcelsius Best Practices 2008Xcelsius Best Practices 2008
Xcelsius Best Practices 2008BI Brainz Group
 
Oracle application express ppt
Oracle application express pptOracle application express ppt
Oracle application express pptAbhinaw Kumar
 
Excel training by rajesh p
Excel training by rajesh pExcel training by rajesh p
Excel training by rajesh pRajesh P
 
Assignment # 2PreliminariesImportant Points· Evidence of acad.docx
Assignment  # 2PreliminariesImportant Points· Evidence of acad.docxAssignment  # 2PreliminariesImportant Points· Evidence of acad.docx
Assignment # 2PreliminariesImportant Points· Evidence of acad.docxjane3dyson92312
 

Similar to XLS PE How To Tutorials Tips & Tricks (20)

Creating reports in oracle e business suite using xml publisher
Creating reports in oracle e business suite using xml publisherCreating reports in oracle e business suite using xml publisher
Creating reports in oracle e business suite using xml publisher
 
( 13 ) Office 2007 Coding With Excel And Excel Services
( 13 ) Office 2007   Coding With Excel And Excel Services( 13 ) Office 2007   Coding With Excel And Excel Services
( 13 ) Office 2007 Coding With Excel And Excel Services
 
Template builder for word tutorial
Template builder for word tutorialTemplate builder for word tutorial
Template builder for word tutorial
 
bi-publisher.pptx
bi-publisher.pptxbi-publisher.pptx
bi-publisher.pptx
 
( 13 ) Office 2007 Coding With Excel And Excel Services
( 13 ) Office 2007   Coding With Excel And Excel Services( 13 ) Office 2007   Coding With Excel And Excel Services
( 13 ) Office 2007 Coding With Excel And Excel Services
 
G10 Unit 4.pptx
G10 Unit 4.pptxG10 Unit 4.pptx
G10 Unit 4.pptx
 
13 Advanced eBusiness Suite Concepts.pdf
13 Advanced eBusiness Suite Concepts.pdf13 Advanced eBusiness Suite Concepts.pdf
13 Advanced eBusiness Suite Concepts.pdf
 
Excel 2007 Unit N
Excel 2007 Unit NExcel 2007 Unit N
Excel 2007 Unit N
 
Microsoft Excel Tutorial
Microsoft Excel TutorialMicrosoft Excel Tutorial
Microsoft Excel Tutorial
 
Microsoft Excel Dashboards and Their Features.pdf
Microsoft Excel Dashboards and Their Features.pdfMicrosoft Excel Dashboards and Their Features.pdf
Microsoft Excel Dashboards and Their Features.pdf
 
Jazz
JazzJazz
Jazz
 
Oracle9i reports developer
Oracle9i reports developerOracle9i reports developer
Oracle9i reports developer
 
MS-Excel
MS-ExcelMS-Excel
MS-Excel
 
XMLPublisher
XMLPublisherXMLPublisher
XMLPublisher
 
Fomatting Text Tips
Fomatting Text TipsFomatting Text Tips
Fomatting Text Tips
 
Oracle application express
Oracle application expressOracle application express
Oracle application express
 
Xcelsius Best Practices 2008
Xcelsius Best Practices 2008Xcelsius Best Practices 2008
Xcelsius Best Practices 2008
 
Oracle application express ppt
Oracle application express pptOracle application express ppt
Oracle application express ppt
 
Excel training by rajesh p
Excel training by rajesh pExcel training by rajesh p
Excel training by rajesh p
 
Assignment # 2PreliminariesImportant Points· Evidence of acad.docx
Assignment  # 2PreliminariesImportant Points· Evidence of acad.docxAssignment  # 2PreliminariesImportant Points· Evidence of acad.docx
Assignment # 2PreliminariesImportant Points· Evidence of acad.docx
 

Recently uploaded

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024The Digital Insurer
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 

Recently uploaded (20)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

XLS PE How To Tutorials Tips & Tricks

  • 1. XLS Processor Engine for Oracle® BI Publisher How To Tutorials/ Tips & Tricks
  • 2. Introduction Oracle BI Publisher (formerly XML Publisher) by Oracle Corporation (the part of Oracle E- Business Suite technological stack) is a multifunctional report designer. Unfortunately, this product has got some functional limitations. For instance, you cannot design Microsoft Excel templates and create reports based on these templates. Of course, you can design RTF template using Microsoft Word and publish report in Microsoft Excel based on this template, but there are some shortcomings of this method: It’s impossible to use existing XLS templates. You ALWAYS MUST design RTF template. ● You can’t import existing spreadsheet from Excel to Word. There is a tabs limitation. It’s impossible to publish report using Microsoft Word template on ● separately tabsheets. ou cannot create a wide spreadsheet by RTF template if the number of columns is more than ● 64. Published Microsoft Excel report differs from the designed template (especially for complex ● cross table reports). Output report is published in HTML format. Microsoft Excel opens such files with a ● considerable delay. All of these shortcomings will be considered in detail afterwards. So we’ve come to the conclusion: the reviewed shortcomings practically disable the design of complex Excel reports by Oracle BI Publisher. However, design of such reports is one of the largest part of Oracle E-Business Suite report developers’ work. So we’ve got next objectives: Give a possibility to design templates using Microsoft Excel ● And publish reports based on these templates using Microsoft Excel ●
  • 3. Solution path The solution path is base on the following background: 1. Microsoft Excel (version 2003 and higher) supports “XML Spreadsheet” data format. This format is a XML file which contains Excel table structure and data. So this format can be used both to design and store templates and to publish reports. 2. XML Publisher uses XSL-XML templates for publishing reports. These templatess can be generated manually or by custom software. So we should carry out sequence of operations to create a template and publish a report: 1. Open Microsoft Excel XLS file (by Excel 2003 or higher). 2. Add markup to the template layout using Oracle XML Publisher Report Designer’s Guide. 3. Save the template as “XML Spreadsheet”. 4. Convert the XML template into the XSL-XML template. 5. Upload the XSL-XML template into Oracle XML Publisher. 6. Set up a Viewer Options for Oracle e-Business Suite. 7. Launch report generating and publishing process. 8. View the output report via Microsoft Excel. Let’s examine each operation in detail below.
  • 4. How to add markup to the template using Microsoft Excel We use for template design Microsoft Excel 2003 or higher within the framework of our solution. Load the existing multisheet template into Microsoft Excel and add markup to the template layout to create the mapping between the layout and the data source. Notice: You should follow Oracle XML Publisher Report Designer's Guide[/link] (section “Creating an RTF Template”). Then save the finished template as “XML Spreadsheet”.
  • 5. How to convert XML template into XSL-XML template Try to use our XLS Processor Engine for Oracle® BI Publisher utility to convert XML template into XSL-XML template. Trial version of this utility is distibuted free of charge but it's got the following limitations: parse of the first tabsheet of template only; • period of 14 days for the sole purpose of evaluating. • Actually, you can convert the template via single click. You can choose XML Speadsheet template by clicking Open And Process button. At runtime the program is logging errors and warnings of conversion process (you can see it on the main program window). As a result of the conversion there’ll be created XSL-XML template in source directory. The name of XSL-XML template is equal to the source file and the extension is “XSL”.
  • 6. How to upload XSL-XML template to Oracle® BI Publisher You should choose template type XSL-XML when you upload your template by Template Manager
  • 7. How to set up Viewer Options for Oracle e-Business Suite You will need set up Viewer Options correctly via System Administrator responsibility to view published reports properly. Step 1 (Install –> Viewer Options) You’ll need to create a new record for File Format XML (Mime Type = application/vnd.ms-excel, Description = Microsoft Excel) Step 2 (Profile -> System) You’ll also need to set the value “Microsoft Excel” for the System Profile Option “Viewer: Application for XML” and set the value “Browser” for the System Profile Option “Viewer: Text”
  • 8. How to create Placeholders XLS Processor Engine for Oracle BI Publisher converts the formatting that you apply in your spreadsheet processing application to XSL-XML. You add markup to create the mapping between your layout and the XML file and to include features that cannot be represented directly in your format. The most basic markup elements are Placeholders, to define the XML data elements; and Groups, to define the repeating elements. BI Publisher provides tags to add markup to your template. Creating Placeholders The Placeholder maps the template field to the XML element data field. At runtime the Placeholder is replaced by the value of the element of the same name in the XML data file. XLS Processor Engine for Oracle BI Publisher support only basic method to parse Placeholders. Enter the Placeholder syntax in your document where you want the XML data value to appear. Enter the element's XML tag name using the syntax: <?XML_element_tag_name?> Note: The placeholder must match the XML element tag name exactly. It is case sensitive. In the example, the template field quot;Full Namequot; maps to the XML element FULL_NAME. In your document, enter: <?FULL_NAME?> The entry in the template is shown in the following figure (download the example):
  • 9. How to define Groups By defining a group, you are notifying BI Publisher that for each occurrence of an element, you want the included fields displayed. At runtime, BI Publisher will loop through the occurrences of the element and display the fields each time. To designate a group of repeating fields, insert the grouping tags around the elements to repeat. Insert the following tag before the first element: <?for-each:XML_group_element_tag_name?> Insert the following tag after the final element: <?end for-each?> Grouping scenarios Note that the group element must be a parent of the repeating elements in the XML input file. If you insert the grouping tags around text or formatting elements, the text and formatting • elements between the group tags will be repeated. If you insert the tags around a table, the table will be repeated. • If you insert the tags around text in a table cell, the text in the table cell between the tags will • be repeated. If you insert the tags around two different table cells, but in the same table row, the single • row will be repeated. If you insert the tags around two different table rows, the rows between the tags will be • repeated (this does not include the row that contains the quot;end groupquot; tag). Defining Groups XLS Processor Engine for Oracle BI Publisher support only basic method to parse Groups. Enter the tags in your document to define the beginning and end of the repeating element group. To create the quot;Year of birthquot; group in the example, insert the tag <?for-each:G_YEAR_OF_BIRTH?> before the quot;Year of birthquot; field that you previously created. Insert <?end for-each?> in the document after the summary row.
  • 10. The following figure shows the quot;Employee breakdown by year of birthquot; with the basic Grouping and Placeholder markup (download the example):
  • 11. How to define If statements Use an If statement to define a simple condition; for example, if a data field is a specific value. 1. Insert the following syntax to designate the beginning of the conditional area: <?if:condition?> 2. Insert the following syntax at the end of the conditional area: <?end if?> For example, to set up the quot;Employee breakdown by year of birthquot; to display emloyees only when the year of birth is more that 1970, insert the syntax <?if:YEAR_OF_BIRTH>1970?> before the YEAR_OF_BIRTH field on the template. Enter the <?end if?> tag after the emloyees table. This example is displayed in the figure below (download the example). Note that you can't insert the syntax in form fields, only directly into the template: If Statements in Boilerplate Text Assume you want to incorporate an If statement into the following free-form text: The program was (not) successful. You only want the quot;notquot; to display if the value of an XML tag called equals quot;Nquot;. To achieve this requirement, you must use the BI Publisher context command to place the if statement into the inline sequence rather than into the block (the default placement).
  • 12. If you construct the code as follows: The program was <?if:SUCCESS='N'?>not<?end if?> successful. The following undesirable result will occur The program was not successful. because BI Publisher applies the instructions to the block by default. To specify that the if statement should be inserted into the inline sequence, enter the following: The program was <?if@inlines:SUCCESS='N'?>not<?end if?> successful. For example, to display in cell 'No Number' message when the employee number is empty, insert the syntax <?if@inlines:EMPLOYEE_NUMBER=''?>No Number<?end if?> before the EMPLOYEE_NUMBER field on the template. This example is displayed in the figure below (download the example):
  • 13. How to define Choose statements Use the choose, when, and otherwise elements to express multiple conditional tests. If certain conditions are met in the incoming XML data then specific sections of the template will be rendered. This is a very powerful feature. In regular XSL programming, if a condition is met in the choose command then further XSL code is executed. In the template, however, you can actually use visual widgets in the conditional flow (in the following example, a cell borders). Use the following syntax for these elements: <?choose:?> <?when:expression?> <?otherwise?> This example is displayed in the figure below (download the example). Note that you can't insert the syntax in form fields, only directly into the template: Choose Statements in Boilerplate Text Assume you want to incorporate an Choose statement into the following free-form text. For example, to display in cell 'No Number' message when the employee number is empty, insert the syntax <?choose@inlines:?> <?when@inlines:EMPLOYEE_NUMBER=''?>No Number<?end when?> <?otherwise@inlines:?><?EMPLOYEE_NUMBER?><?end otherwise?> <?end choose?>
  • 14. This example is displayed in the figure below (download the example):
  • 15. How to use Extended SQL and XSL Functions BI Publisher has extended a set of SQL and XSL functions for use in templates. The syntax for these extended functions is <?xdofx:expression?> for extended SQL functions or <?xdoxslt:expression?> for extended XSL functions. Note: Using XLS Processor Engine for Oracle® BI Publisher you CAN mix xdofx and xdoxslt statements with XSL expressions in the same context. For example, assume you had two elements, FULL_NAME and EMPLOYEE_NUMBER, that you wanted to concatenate into a 40-character field and right pad the field with the character quot;xquot;. You CAN use the following: <?xdofx:rpad(concat(FULL_NAME,EMPLOYEE_NUMBER),40,'x')?> because concat is an XSL expression. Also, you CAN use the following: <?xdofx:rpad(FULL_NAME||EMPLOYEE_NUMBER),40,'x')?> Certainly, you CAN also use the following: <?concat(xdofx:rpad(FULL_NAME,40,'x'),xdofx:rpad(EMPLOYEE_NUMBER, 10,'0'))?> This example is displayed in the figure below (download the example):
  • 16. How to define Sorting You can sort a group by expression of any element within the group. Insert the following syntax within the group tags: <?sort:expression?> For example, to sort the Employee breakdown by Employee Number (EMPLOYEE_NUMBER), enter the following after the <?for-each:G_FULL_NAME?> tag: <?sort:xdofx:rpad(EMPLOYEE_NUMBER,10,'0')?> To sort a group by multiple fields, just insert the sort syntax after the primary sort field. To sort by Full Name and then by Employee Number, enter the following <?sort:FULL_NAME?><?sort:xdofx:rpad(EMPLOYEE_NUMBER,10,'0')?> This example is displayed in the figure below (download the example):