Sie sind auf Seite 1von 5

5/31/13

Share 0

Suresh : A Blog on Oracle Applications: BI/XML Publisher interview questions


More Next Blog Create Blog Sign In

Suresh : A Blog on Oracle Applications


Wednesday, December 14, 2011

About Me

BI/XML Publisher interview questions


1. What is a template Builder?
Suresh Margam View my complete profile

The Template Builder is an extension to Microsoft Word that simplifies the development of RTF templates. The Template Builder is tightly integrated with Microsoft Word and allows you to perform the following functions: Insert data fields Insert data-driven tables Insert data-driven forms Insert data-driven charts Preview your template with sample XML data Browse and update the content of form fields Extract boilerplate text into an XLIFF translation file and test translations

Labels
AP (1) AR (1) Forms (3) General (16) Interview Questions (14) OM (11) PL SQL (3)

Valid template file types are: eText - Inbound, eText - Outbound, PDF, RTF, XSL-FO, XSL-HTML, XSL-TEXT, and XSL-XML. 2. Sub Template into Main Template: Import the subtemplate <?import:file:/// D:\siva\Callsubtempalte\Subtemplatenew.rtf?> In the subtemplate we are calling Headers: <?call@inlines:Tc1?><?with-param:ReportName;string(SIVA REPORT)?> <?end call?> Footers <?call:Tc2?> 3. Translatable (check box) Select this check box if you want this template to be translatable. Only RTF templates are translatable. After the template definition is created, the following fields are not updateable: Application, Code, and Type. Update the template from the View Template page. 4. To handle parameterized layout If the requirement is to display a different layout based on a user parameter value or a List of Value selection, then the parameter can be passed to RTF layout and conditionally display the layout. On the Report Editor you first need to define a parameter with name DeptName. If this parameter has to be associated with a List of Value (LOV), then create a LOV on the Report Editor page. Next, in the parameter definition select parameter type as Menu and then select the LOV from the selection. In the RTF template define a parameter using syntax - <?param@begin:DeptName?> Now when user selects a department name from the List of Value on the report viewer page, the value gets passed to RTF layer into the DeptName parameter. To display the layout based on this user selection, you can use an IF statement or a CHOOSE statement to evaluate the parameter value and call the associated sub template. Use CHOOSE statement when too many conditional tests are to be done and a default action is expected for rest of the values, for example, for each department here we have a different sub template and if the user parameter has a department name with no associated sub template, then a default sub template can be called in otherwise section. <?choose:?>
file:///C:/Users/yogesh/Desktop/New folder/Suresh A Blog on Oracle Applications BI_XML Publisher interview questions....htm

SQL (3) Unix (1) xml publisher (5)

Blog Archive
2013 (7) 2012 (13) 2011 (30) December (23) Delete blank rows or columns in xcel using MACROS Triggers in Oracle Forms Summary column vs. Formula Column vs. Placeholder ... Format USB flash drive to NTFS format BI/XML Publisher interview questions Important apps interview questions General Apps Questions Interface and General Interview Questions General Ledger Interview Questions Account Receivables Interview questions

1/5

5/31/13

Suresh : A Blog on Oracle Applications: BI/XML Publisher interview questions

<?when:$DeptName=Accounting?><?call:tAcc?> <?end when?> <?when:$DeptName=Sales?><?call:tSales?> <?end when?> <?when:$DeptName=Marketing?><?call:tMark?> <?end when?> <?otherwise:?><?call:tDefault?> <end otherwise> <?end choose?> 5. WATERMARK PAGE LAYOUTWATERMARK (Word 2007) Format Background Printed Watermark (Word 2003) 6. TEXT FIELD Developercontrolslegacy toolstext field 7. Add Total Sum in calcualtion in a new row. 8. Adding Page/Brought Forward/Carried Forward Total Placed before the column name PT <?add-page-total:pt;'TRANS_AMOUNT_REMAINING'?> 9. Display Page Total in Footer <xdofo:show-page-total name="pt" format="99G999G999D00"/> 10. Display Brought Forward Total in Header <xdofo:show-brought-forward name="pt" format="99G999G999D00"/> 11. Display Carried Forward Total in Footer <xdofo:show-carry-forward name="pt" format="99G999G999D00"/> 12.

Inventory interview question Sqlldr Interview questions Plsql Inteview Questions Oracle Reports Interview Questions: Drop Ship Setups order management tables and its details (O2C Cycle... Order Management, Receivables and General Ledger C... Order To Cash Techinical Overview Internal orders ORDER MANAGEMENT BASICS Ship To address and Bill to Address Qry Drop Shipment, BackOrders and Back to Back Or... Drop Shipment July (4) June (3)

Followers

The values for the form fields in the template are shown in the following table: Form Field

Syntax

Description

RtotalVar <?xdoxslt:set_variable($_XDOCTX, 'RTotalVar', 0)? Declares the "RTotalVar" variable > and initializes it to 0. FE <?for-each:INVOICE?> Starts the Invoice group. Invoice Number tag Invoice Date tag Sets the value of RTotalVar to the current value plus the new Invoice Amount. Retrieves the RTotalVar value for display. Ends the INVOICE group.

10001-1 <?INVNUM?> 1-Jan2005 100.00 <?INVDATE?> <?xdoxslt:set_variable($_XDOCTX, 'RTotalVar', xdoxslt:get_variable($_XDOCTX, 'RTotalVar') + INVAMT)?> xdoxslt:get_variable($_XDOCTX, 'RTotalVar')?> EFE <?end for-each?>

file:///C:/Users/yogesh/Desktop/New folder/Suresh A Blog on Oracle Applications BI_XML Publisher interview questions....htm

2/5

5/31/13

Suresh : A Blog on Oracle Applications: BI/XML Publisher interview questions

12. For loop <?for-each:G_CUSTOMER?> <?end for-each?> 13. PAGE BREAK In order to have different set of page number for each customers document you can use a section break. Double click on the first for-each for Customer Name text form. Change the for-each loop to for-each@section Example: Before <?for-each:G_CUSTOMER?> After <?for-each@section:G_CUSTOMER?> Click OK. 14. CONDITIONAL FORMATTING The XSL code you need is: <?if:TRANS_AMOUNT_REMAINING >1000?> <xsl:attribute xdofo:ctx="block" name="background-color">red</xsl:attribute> <?end if?> 15. BARCODE Select File Properties Custom Tab In the Name field enter: xdo-font.Free 3 of 9.normal.normal notice the name of the font must match the name of the font in the MSWord font drop down In the Value field enter: truetype.c:\windows\fonts \FREE3OF9.ttf 16. SORTING: <?sort:TRANS_AMOUNT;'ascending';data-type='text'?> 17. DIFFERENT LAST PAGE:
To utilize this feature, you must create a section break in your template to ensure the content of the final page is separated from the rest of the report and Insert the following syntax on the final page: <?start@last-page:body?> <?end body?>

18. CHART INSERT CHARTTYPE/GROUPING/DIMENSION/MEASURE Follow the following steps to modify the XSL definition. Double click on the Chart image Click Web tab <Cell> <xsl:value-of select="sum(current-group()/TRANS_AMOUNT)"/> </Cell> Change it to <Cell> <xsl:value-of select="sum(current-group()//TRANS_AMOUNT)"/> </Cell> Notice the extra / between current-group() and TRANS_AMOUNT. 19. Table of Contents/Bookmarks Type <?CUSTOMER_NAME?> and remove CUSTOMER_NAME text form, this is because the Table of Content function can not handle the text form. Change the font setting for the <?CUSTOMER_NAME?> to be Heading 1. Insert a section break before the first page header so that you will have a blank page as the first page. You can use MS Words section break for this. (Insert->Break->Section Break->Next Page) Move to the inserted first page and place your mouse cursor into the first page. Click Insert from the tool menu and select Reference-> Index and Tables
3/5

file:///C:/Users/yogesh/Desktop/New folder/Suresh A Blog on Oracle Applications BI_XML Publisher interview questions....htm

5/31/13

Suresh : A Blog on Oracle Applications: BI/XML Publisher interview questions

Click Table of Content tab and choose how you want to display your Table of Contents Click OK.

Make sure that the table of contents has <?CUSTOMER_NAME?> tag inserted. Bookmark 1. Add the following tag before the table of contents. <?convert-to-bookmark:?> 2. Add the following tag after the table of contents. <?end convert-to-bookmark:?>

20. CROSSTAB Create a new RTF template Load Crosstab_Sample_Data.xml Go to File->Page Setup and choose Landscape as Orientation Select Crosstab from the Template Builder tool bar. (Insert->Crosstab) Drag and Drop Flowsto data area Drag and Drop Bus Grp to Row Header area Drag and Drop Type to Column Header area Click OK.

21. Bursting What is a bursting file ? Its an XML file which tells bursting engine a) to split the XML File created. b) to deliver the Documents. Advantages of XMLP bursting a. No Additional Coding, just need to create XML bursting File. ( Isn't it exciting , otherwise we would have to write java program to split the XML File and then use XMLP delivery manager API to send emails . b. Process of Creating XML data Definition and Template remains AS IS . 22. BLOB & CLOB Cant generate xml data for CLOB more than 40 kb in report builder. BLOB Images are supported in XML Publisher 5.6.2 or later. Encode BLOB to CLOB use this following function: CREATE FUNCTION getbase64( p_source BLOB ) RETURN CLOB IS v_result CLOB; BEGIN DBMS_LOB.createtemporary(lob_loc => v_result, CACHE => FALSE, dur => 0); Wf_Mail_Util.EncodeBLOB ( p_source, v_result); RETURN ( v_result ); END getbase64; To show BLOB Images use the following code: <fo:instream-foreign-object content-type=image/jpg><xsl:value-of select=.//IMAGE_/> </fo:instream-foreign-object> XML Publisher supports in general right now only JPG, GIF and PNG.

Posted by Suresh Margam at 3:14 PM Labels: Interview Questions

No comments: Post a Comment


file:///C:/Users/yogesh/Desktop/New folder/Suresh A Blog on Oracle Applications BI_XML Publisher interview questions....htm 4/5

5/31/13

Suresh : A Blog on Oracle Applications: BI/XML Publisher interview questions

User Manuals

Dos and Donts

FAQs

Download

Contact Us

User Manuals

Dos and Donts

FAQs

Newer Post
Subscribe to: Post Comments (Atom)

Home

Older Post

Watermark template. Powered by Blogger.

file:///C:/Users/yogesh/Desktop/New folder/Suresh A Blog on Oracle Applications BI_XML Publisher interview questions....htm

5/5

Das könnte Ihnen auch gefallen