Customization in Oracle Fusion Cloud Application.

Fusion applications support to do Customizations at run time and these customizations are called ‘Run time customizations‘ (DT@RT/ design time at run time) using webbcenter composer tool. These are ADF page meta customizations, generally performed by Business Administrators. These customizations are directly stored into runtime MDS repository (tables), hence runtime loads them immediately without any application downtime for deploy/import.

Eg: In an Orders page, if you want to hide the ‘Create Order’ button based on some condition like based on the role of user logged in, this can be achieved by customizing the page’s Create Order button and setting its property ‘disabled‘ like given below
#{securityContext.userInRole[‘MANAGER_ROLE’]} [This means user’s who have the role ‘MANAGER’ role they can only create the order.

Generally to do these customization you need to create a sandbox first and then activate that sandbox, navigate to the required page where customization is planned to perform, then click on user’s drop down menu and click on ‘Customize pages’ link and then click on ‘Structure’ tab -> Hover the mouse on ‘Create Order’ button and click on Edit -> Set the disabled property as required.
The detailed step by step process is given below.

  • Login to Oracle Fusion Cloud Applications.
  • Click on user’s drop down and click on ‘Manage Sandboxes’.
  • Create a new sandbox and activate that sandbox.
  • Once you activate the sandbox, you can see the activated sandbox name in the top of the page. You can click on it anytime to exit from the sandbox.

This slideshow requires JavaScript.

  • Click on Order Management from the Home page or navigator menu.
  • Click on user’s drop down and click on ‘Customize Pages
  • Navigate to the ‘Structure‘ tab and click on the ‘Create Order‘ button, a popup will be hovered where click on Edit button.
  • You’ll be able to see a black strip in the bottom of the page, click on it and drag it upwards and click on Edit icon which will opens a popup where all the properties of the create order button are displayed.

This slideshow requires JavaScript.

  • Select Disabled property and click on Override, which will then shows a blue dot which means this property is customized and at any time by clicking the ‘Reset’ option we can reset it to the original setting.
  • Select the ‘Expression Builder’ button and give the EL (expression language) condition like given below.
    #{!securityContext.userInRole[‘MANAGER_ROLE’]}
  • Click on Apply and OK buttons and close the popup. Close the the composer by click on close button at top right of the page.
  • Now login to the Fusion Applications with the manager credentials who have the role (MANAGER_ROLE) mapped to him and navigate to the Orders page, where ‘Create Order’ button is visible and enabled to the user. [make sure the same sandbox is activate before testing]
  • Now login to the Fusion Applications with non-manager credentials who have not mapped to the role (MANAGER_ROLE) and navigate to the Orders page, where ‘Create Order’ button is disabled to the user. [make sure the same sandbox is activate before testing]
  • Click on sandbox name which appear in the top of the page and Exit from the sandbox. Once your customizations are completed click on user’s drop down and select ‘Manage Sandboxes’ and select the sandbox and click on Publish. Once this is performed all the customizations done in the sandbox will be moved to the root application.

This slideshow requires JavaScript.

 

Best Practice: Always exit from the sandbox after your customization work is completed.  Publish only when you customization work is completed.

References: For EL (https://cdn.app.compendium.com/uploads/user/e7c690e8-6ff9-102a-ac6d-e4aebca50425/f4a5b21d-66fa-4885-92bf-c4e81c06d916/File/b28ce781c5fd97d3066e8a5d1bc0574e/elfusionapps.pdf)

 

Hope you like the post 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s