Add DFF in Your Custom OA Framework Page

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

6/20/12

Add DFF in your Custom OA Framework Page


Search...

Browse

My Account

Contribute

Home
Feb 15 2009

Tags

Search

Feed

Advertisements
OA Framework Training
Learn OAF from the experts.Start at $299 Learn More

Add DFF in your Custom OA Framework Page


Posted by: Sudhakar Mani in OA Framework on Feb 15, 2009 Tagged in: Untagged

We had a requirement to include DFF in our Custom page..That sounds little different right?? Because we had redeveloped the Service Request form in OAF,we need this functionality.Example used is a Service Request Header DFF. Below are the steps to add dff to custom page. Step 1: Define an item of the item style flex in your region. Note: You cannot create a flex item directly under a messageComponentLayout region, but you can create a messageLayout region under the messageComponentLayout region and add the flex item under the messageLayout region.

Oracle SOA Training


Learn SOA 11G from the industry leading professional trainer Learn More

OA Framework Book
Covers java basics,OAF customization and extensions Learn More

Step 2: Set the Read Only property to True or False, depending on whether you want the descriptive flexfield to be read only.

Step 3: Specify a View Instance for your flexfield. The view instance should be the same as the view instance (view object) specified for your region.

Step 4: Set the Appl Short Name property to the short name of the application to which the descriptive flexfield is registered.

Step 5: Set the Name property to the name of the descriptive flexfield as it was registered.

Step 6: Set the Type property to descriptive

Step 7: Set the Segment List property as appropriate

Step 8: Finally, you may set the Display Context Field to True or False, depending on whether you want to hide or show the context for the descriptive flexfield.

Note :

If you leave the Segment List property empty, all segments render. The value you specify for this property must use the following format: Global Data Elements[global segment1][global segment2]...Context1[segment1 for context1][segment2 for context1]...Context2....

For our example shown in Figure 1, Packaging Type is the context field and Warehouse is the global field for the descriptive flexfield. To always display the Warehouse global field and display the context-sensitive fields Items per Box and Box Size for the Box context and Items per Pallet and Pallet Weight for the Pallet context, you would specify the following value for the Segment List property:

oraclearea51.com/browse/blog/add-dff-in-your-custom-oa-framework-page.html

1/2

6/20/12

Add DFF in your Custom OA Framework Page


Global Data ElementsWarehouseBoxItems per BoxBox SizePalletItems per PalletPallet Weight As shown, segments within a certain context are separated by a single pipe, "", while data from a different context is separated by a double pipe, "".

Read-Only Segments

You can also add the read-only token ($RO$) after any of the segments in the list. For example, the ($RO$) designator below sets Segment1 to be read-only:

Context1Segment1($RO$)Segment2...

Setups are as screen Shot:

(Click the Image for Full Screenshot)

BACK 0 Comments

Designed by Cholaglobal.co

Back to Top

oraclearea51.com/browse/blog/add-dff-in-your-custom-oa-framework-page.html

2/2

You might also like