- OracleApps Epicenter - http://www.oracleappshub.com -

Enabling Folder – 9 Steps

In oracle Applications' GUI includes unique features to enhance the productivity of Oracle's application users. Folder is one the features, that enhance the feature for high productivity.

What is Folder..

As per documentation is say .."A folder is a special kind of window that allows users to customize the set of fields and records displayed for a particular business entity without programming. Using the folder customization menu or tool palette, users can specify the records and the fields they wish to see, as well as field sequence, field prompts, and field display widths. Users can customize folders at any time, saving them for personal use or sharing them with others."

The most common use of folder technology is in the gateway to a key applications entity. Users can customize the folder window to display the set of fields and records that are most relevant to the business at hand. From the folder window, users can perform an action involving one or more of the returned records. Or, they can select a single record, open a detail window that shows all the fields for that record, and perform an action involving that record.

Here are the 9 steps to enable folders in custom forms.

These Changes will make sure that folder can be saved and its query criteria are also saved.

1. Pick up Template.fmb from your $AU_TOP/resource directory on server where forms are residing.

2. Check out all the libraries get loaded successfully along with the Template.

3. Check for APPDAYPK.pll loaded fine, else copy it from APPSTAND.fmb

4. Attach APPFLDR library/pll

APPFLDR can be found in $AU_TOP/Resource directory on server where forms are residing.

5. Copy the STANDARD_FOLDER Object Group

STANDARD_FOLDER Object group can be referenced from APPSTAND form which resides in $AU_TOP/Resource. This will also copies the dependent objects required for object group.

This will copy Folder Related Blocks,Canvases and other necessary objects.

6. Let us say we have One Main block, Not concerned with Control Blocks
Main Block:


where BLOCKNAME is the name of the block containing columns to be displayed. Data Type should be Number and Put default Value of 2.

You need two canvas- one content and one stacked. Let us name content canvas as XXPH_RCPT_HIS_CONTENT and stacked canvas as XXPH_RCPT_HIS_STACKED. Both the canvas have same window.

Create One Window. Name it XXPH_RCPT_HIS_WIN with view name as XXPH_RCPT_HIS_WIN

Main Block:
XXPH_RCPT_HIS contains database columns. Items should be on Stacked canvas (XXPH_RCPT_HIS_STACKED).

7. Create following eight triggers:


if (:parameter.XXPH_rcpt_his_record_count = 1) then
end if;

if (:parameter.xxph_rcpt_his_record_count = 1) then
end if;






8. PROMPT Block:

Create new block XXPH_RCPT_HIS_PROMPT: which will contain prompts for the column displayed in upper block.

Make subclass information as DYNAMIC_PROMPT.

This block should contain:

Items which will be Prompts for above block columns (Item name should be same as Column name in above block). Prompt Items should be on Stacked canvas (XXPH_RCPT_HIS_STACKED).

Create new Items specified below:
Item Name: FOLDER_OPEN, Item Type: Button, Canvas: XXPH_RCPT_HIS_CONTENT,Subclass:Dynamic_Title
Item Name: FOLDER_DUMMY, Item Type: Text Item , Canvas: TOOLBAR ,Subclass:Folder_Dummy
Item Name: FOLDER_TITLE, Item Type: Display Item, Canvas: XXPH_RCPT_HIS_CONTENT,Subclass:Dynamic_Title

Item Name: ORDER_BY1, Item Type: Button, Canvas: XXPH_RCPT_HIS_STACKED
Item Name: ORDER_BY2, Item Type: Button, Canvas: XXPH_RCPT_HIS_STACKED
Item Name: ORDER_BY3, Item Type: Button, Canvas: XXPH_RCPT_HIS_STACKED
Item Name:Folder_Switcher, Item Type:Text,Canvas: XXPH_RCPT_HIS_CONTENT,Subclass:SWITCHER

Check out your Both Canvases for setting these new buttons,prompts.

9. Form Level Triggers

-- Remove the message and uncomment the line after it to activate the folder actions
-- message('You must modify the FOLDER_ACTION trigger in your form!');

app_folder.define_folder_block(' XXPORCHUK ', -- 'Object Name'
' XXPH_RCPT_HIS ', -- 'folder_block',
' XXPH_RCPT_HIS_PROMPT ', -- 'prompt_block',
'XXPH_RCPT_HIS_STACKED', --'stacked_canvas',
'XXPH_RCPT_HIS_WIN', --'window',
NULL); --'disabled functions');

14 Comments (Open | Close)

14 Comments To "Enabling Folder – 9 Steps"

#1 Comment By Ravi On October 30, 2007 @ 2:04 pm


I tried the same but it dodn’t work. Could you please send me the form you have tried. May be I can change the database source for the block and try it.I appreciate any help

#2 Comment By Anand Chaturvedi On January 21, 2008 @ 9:36 am

Please email me the custom form where you have enabled custom folder.

#3 Comment By Sanjit Anand On January 22, 2008 @ 7:14 am

I did sometime back in one of the project , and these are the steps which was required to enabled.Unfortunatly, I donot have same form,if you need let me know, i will do and will share to you.

#4 Comment By Anand Chaturvedi On January 24, 2008 @ 11:56 am


Please send me the sample form for reference.


#5 Comment By Mahesh On July 24, 2008 @ 7:19 am

We are also trying to implement the folder option in one of our custom form.
It will be great if you can please send me the copy of the form you have customized to enable folder option?
Any kind of direction would be fhelpful

My mail id is: [1]

#6 Pingback By Top 18 EBS UI : Provides all users with a highly productive interface On August 8, 2008 @ 10:36 am

[…] Folders for screen layout in which you can change Prompts, Field Orders, Size etc. Refer this post […]

#7 Comment By Ganapathy On September 28, 2008 @ 10:14 pm

How to create new folder in Oracle Apps.Requesting u give me a suggetion ASAP.

With Regards,
Ganapathy M

#8 Comment By good On October 28, 2008 @ 2:16 am

I test the steps you metioned,but I got the following error when compile the fmb file.

identifier ‘APP_FOLDER.EVENT’ must be declared

It seem the complier can not recognized the APP_FOLDER.EVENT, but I have attached the APPFLDR library/pll.

It is really wired.

#9 Comment By Sanjit Anand On November 3, 2008 @ 9:27 pm

As mention in step 1, 2 you should take a note on these base objects which you use for starting

1) The folder objects
Every folder form must contain the folder objects (such as the windows that are used for saving folders and changing prompts) included in the
STANDARD_FOLDER object group. If this object group does not already exist

In the form, copy it from APPSTAND ($FND_TOP/resource/APPSTAND.fmb)

2) Next is folder library
Every folder form must have the library APPFLDR.pll attached. The library file is $FND_TOP/resource/APPFLDR.pll.

3) then the content canvas
Create a content canvas, as you would for any window. Assign it the property class CANVAS, and cavas type Content and assign it to the appropriate window. This canvas will
hold the block scrollbar, the record indicator, and the folder_open
and folder_title objects.

ANd then proceeed with rest of steps as discussed above.

#10 Comment By Reza On November 17, 2008 @ 6:13 pm

My folder works fine expect when I resize the window. Resizing the window causes tghe vertical scroll bar to disappear. The horizontal scroll bar resizes OK. Do you know what the problem might be?

#11 Comment By Amarnath On February 27, 2009 @ 10:52 am

I need to add a field to existing folder, what are the modifications that are required please suggest.

#12 Comment By ashok On March 20, 2009 @ 2:28 am

Hi Sanjit,

I have tried these steps and is not working. can you please send to me the custom form which you have used.

#13 Comment By shaik On August 9, 2010 @ 10:03 pm

Can we implement the folder option on control blocks in a custom form [not a database block], is it possible

#14 Comment By Aiyaz On January 6, 2011 @ 4:16 am

Please its urgent need. Kindly send me a detail document for creating folder forms in oracle apps for a custom form. Screen shot explanation will be highly appreciated. Thanks in advance.