Showing posts with label embed oaf region in workflow notification. Show all posts
Showing posts with label embed oaf region in workflow notification. Show all posts

Thursday, 23 August 2018

Embed oaf region in workflow notification

Embed oaf region in workflow notification

In this post , I will share the steps to Embed oaf region in workflow notification. Embedding region in workflow notifications means, we are doing changes in the Standard OAF Page. OAF provide the option to add some new region in the Existing region of the Standard OAF page. To  Embed oaf region in OAF means , we are adding new custom region in the Standard OAF Page. Here below I am sharing the steps for Embed oaf region in workflow notification


How to Embed oaf region in workflow notification


Step1:- First we will create a new Custom Region in the JDeveloper.
 
Step2:- Go to J-Developer and create a New Workspace and Project to create a New Region for the Standard OAF Page.
 
Create a New workspace.
 
Embed oaf region in workflow notification
 
Step3:- Create a New Project
 
Project Name : PageExtend
Default Package: oracle.apps.xxap.pageextend
 
Embed oaf region in workflow notification
 
Step4:- Create a New Region As below.
 
Embed oaf region in workflow notification
 
Step5:- Creating New Region
Name : PageExtendRG
Style:- Stack Layout
We have to select the Stack Layout style for the Region when we will try to merge the Custom region in Standard OAF Page.
 
Embed oaf region in workflow notification
 
 
 
Step6:- PageExtendRG Page structure has been created. Now we will create another regions.
Right Click on PageExtendRG Structure and select New and Then Select the Region Option as below


Embed oaf region in workflow notification
 


Step7:- As below Region1 has been create and Region Style we select 'Header'
Embed oaf region in workflow notification


Step8:- Now we create new region again same like previous Step but this time we will right click on region1 and then Select new and select Region Option and region will be created as below
This Region Style Will Be Message Component Layout.
Embed oaf region in workflow notification


Step9:-
Embed oaf region in workflow notification


Step10:- Now we will create new Text Item. Right Click on Region2 and Then Select New and Choose MessageTextInput.
Embed oaf region in workflow notification


Step11:-New Text Item has been created as Below 'item1'
Extend region in oaf
 
Step12:- In this Step , We will Create the Application Module. To find the rest of the Steps 1 to 11 please refer the Part of this Post.
 
Extend region in oaf
 
 
 
Step13:- Creating Application Module
Package : oracle.apps.xxap.pageextend.server
Name : PageExtendAM
 
Extend region in oaf
 
 
Step14:- Now here in this Step , click on the PageExtendRG Structure and then in the Properties of this Region set the Application module created in the Previous Step.
 
Application module : oracle.apps.xxap.pageextend.server.PageExtendAM
Extend region in oaf
 
Now our custom Region is created successfully.
 
Step15:- In the Next Step , we need to move this Custom region and its files to the Java_Top directory and import with the JPX importer Script.
 
 
Step16:- Once our Files moved to Java_Top then we need to go to the Oracle Application OAF Page, In which we want to add this region.
 
Step17:- I have choose Workflow notifications Page for I-Expense.
 
Step18:- Now go to this Page , and Then Click on the Personalization Link.
 
Step19:- Go to the Stack Layout of this Region and Create a New Item as below
 
Embed oaf region in workflow notification

 
 
 Step20:- We will create the Item Style as a 'Stack Layout'
Level will be Site.
 
Given an unique Id of this Region
Most important part of this Item is 'Extends' Column , in this field , you will enter the Path of your Region which you have created in the J Developer (
oracle.apps.xap.pageextend.webui.PageExtendRG) This is the Path in the J Developer but in the Application the Path will be same but we will not use '.' . We will use '/'.
Extends : /oracle/apps/xxap/pageextend/webui/PageExtendRG

 
Embed oaf region in workflow notification
 
After this your Page Extension has been completed and you can see the changes/ custom region in OAF Page.
 
 
 
 
Embed oaf region in workflow notification
 
 

Monday, 18 June 2018

Part2 How to integrate OAF Notifications in Oracle Workflow Builder.How to integrate oaf region in oracle workflow notifications

Part2 How to integrate OAF Notifications in Oracle Workflow Builder. How to integrate oaf region in oracle workflow notifications

This is the Second part of the how to integrate OAF notification in Oracle workflow Builder. In this Post , We will see how we can use the OAF Notifications/ Pages in the Oracle workflow Builder.
 
Please click on the Below Link to visit First part of this Post.
 
Part1 How to integrate OAF Notifications in Oracle Workflow Builder. How to integrate oaf region in oracle workflow notifications

In the Last Post of this Topic we have created OAF Page which will be Integrated to the Workflow Builder.

Step18:- Our OAF Page has been created in the Last Post, Now in this Post , We will register this OAF Page in Oracle application and then Try to use this OAF Notification in the Workflow Builder.

Step19:- Registering OAF Pages in Oracle application

Function : OafWorkflowIntegrationRG
User Function Name : OafWorkflowIntegrationRG
Type : SSWA jsp function
OA.jsp?page=/oracle/apps/xxap/OafWorkflowIntegration/webui/OafWorkflowIntegrationRG

Part2 How to integrate OAF Notifications in Oracle Workflow Builder.How to integrate oaf region in oracle workflow notifications





Step20:- Open the workflow Builder and open the Workflow File in which you want to integrate OAF Notifications.

 This is Our Workflow Builder for 'Travel approval'.
This is our 'Travel Booking Process'.
for this workflow , We will try to Merge the OAF Page in the workflow Builder.


Part2 How to integrate OAF Notifications in Oracle Workflow Builder.How to integrate oaf region in oracle workflow notifications


Step21:- Now we are creating attribute. Right click on the Attribute as below.

Part2 How to integrate OAF Notifications in Oracle Workflow Builder.How to integrate oaf region in oracle workflow notifications



Step22:- Creating Item Attribute 'XXOAF_NOTIFICATION' .
Type: Document
Value:-
JSP:/OA_HTML/OA.jsp?OAFunc=OAFWORKFLOWINTEGRATIONRG

Part2 How to integrate OAF Notifications in Oracle Workflow Builder.How to integrate oaf region in oracle workflow notifications



Step22:- Now We will Create the New Message to Integrate OAF Notification in Workflow Builder.

Part2 How to integrate OAF Notifications in Oracle Workflow Builder.How to integrate oaf region in oracle workflow notifications

Step23:- Creating Workflow Message in the Workflow Builder

Part2 How to integrate OAF Notifications in Oracle Workflow Builder.How to integrate oaf region in oracle workflow notifications


Step24: Now Drag and Drop the OAF notification from Attributes Portion to to OAF Notification Message.

Step25:-
Part2 How to integrate OAF Notifications in Oracle Workflow Builder.How to integrate oaf region in oracle workflow notifications

Step26:- Now again Open the OAF Notification Message in the Workflow Builder.

Now Click on the Body Tab under the OAF Notification Message and Give the Subject to your Workflow Notification and then in the HTML Body tab put the Document Attribute Name with &XXOAF_NOTIFICATION.

Part2 How to integrate OAF Notifications in Oracle Workflow Builder.How to integrate oaf region in oracle workflow notifications


Step27:- Now we Create the Workflow Notification and then assign the OAF Notification Message  to this Workflow Notification and your OAF Notifications Integration with Oracle Workflow Builder is done.
Part2 How to integrate OAF Notifications in Oracle Workflow Builder.How to integrate oaf region in oracle workflow notifications



 

Contact us for any Collaboration, Project Support & On Job Support Work

Name

Email *

Message *