Login
Register

Home

Trainings

Fusion Blog

EBS Blog

Authors

CONTACT US

Fusion Blog
  • Register

Oracle Gold Partners, our very popular training packages, training schedule is listed here
Designed by Five Star Rated Oracle Press Authors & Oracle ACE's.

webinar new

Search Courses

Introduction

While  I assume most of us are already aware and are using this feature to control report execution based on roles assigned to a user but I would still like to share the step by step of accomplishing the same as it could be helpful for some newbies or other professionals who are not aware of this feature.

This kind of requirement can be met by making use of two concepts :

  1. Executing Report using a Springboard Icon
  2. Use Expression Language to control accessibility of report.

In this example we will demonstrate the following:

  1. All Employees who have the seeded Employee Roles will be able to access a report (PersonAbsenceAccrualDetail)
  2. Only Employees who have Line Manager role assigned will have access to (AccrualDetail) 

For this example, we will use a pre-existing report. The high-level steps to perform this activity include:

  1. Create a New Group Under Tools -> Configuration and use a EL Expression on the Visible property to ensure the Group is only visible to users having “PER_EMPLOYEE_ABSTRACT”
  2. Create a New Page Entry under the newly created group and use a EL Expression on the Visible property to ensure the Group is only visible to users having “PER_EMPLOYEE_ABSTRACT”
  3. Create a New Page Entry under the newly created group and use a EL Expression on the Visible property to ensure the Group is only visible to users having “PER_LINE_MANAGER_ABSTRACT”

Creating “Employee Only Reports” Group

One would need to enable a Sandbox and then use below navigation: 

Navigator->Configuration->Structure->Create->Create Group

Attribute Name

Attribute Value

* Name

Employee Only Reports

Show on Navigator

EL Expression

#{securityContext.userInRole['PER_LINE_MANAGER_ABSTRACT']}

 

A screenshot of a cell phone

Description automatically generated

 

Creating “PersonAbsenceAccrualDetail” Page

We will create a page entry which will be used to call “PersonAccrualDetailReport” which should be visible to all employees.

Properties of the Page will be as follows:

Attribute Name

Attribute Value

*Name

PersonAbsenceAccrualDetails

*Group

Employee Only Reports

Show on Navigator

EL Expression

#{securityContext.userInRole['PER_EMPLOYEE_ABSTRACT']}

Show on Springboard

EL Expression

#{securityContext.userInRole['PER_EMPLOYEE_ABSTRACT']}

Mobile Enabled

Yes

Link Type

Static URL

*Destination

#{EndPointProvider.externalEndpointByModuleShortName['bipServer']}/Custom/Practice+Samples/GetPersonAccrualData.xdo?_xmode=2

 

A screenshot of a social media post

Description automatically generated

 

Creating “AccrualDetail” Page

We will create a page entry which will be used to call “AccrualDetail” which should be visible to line managers.

Properties of the Page will be as follows:

Attribute Name

Attribute Value

*Name

AccrualDetails

*Group

Employee Only Reports

Show on Navigator

EL Expression

#{securityContext.userInRole['PER_LINE_MANAGER_ABSTRACT']}

Show on Springboard

EL Expression

#{securityContext.userInRole['PER_LINE_MANAGER_ABSTRACT']}

Mobile Enabled

Yes

Link Type

Static URL

*Destination

#{EndPointProvider.externalEndpointByModuleShortName['bipServer']}/Custom/Practice+Samples/GetPersonAccrualData.xdo?_xmode=2

 

A screenshot of a cell phone

Description automatically generated

 

Once the setup is complete we can publish the sandbox.

 

Verification: Employee Login

We will login to application as SANDY.KIM who is an employee and check results

A screenshot of a cell phone

Description automatically generated

Verification: Line Manager Login

We will login to application as AMY.MARLIN who is both an employee and a line manager and check results

A close up of text on a black background

Description automatically generated

 

Conclusion

So this is how we can control accessibility and execution of reports based on roles assigned to user. Here, Amy.Marlin is both a Line Manager and Employee having both the roles and hence she is able to access and execute both the reports while Sandy.Kim is an employee and not a manager and so she can only access the report designed to be used by employees.

The same concept can be extended to specific users too such that a report will be accessible to only one user and not to another.


Ashish Harbhajanka

Add comment


Security code
Refresh

About the Author

Ashish Harbhajanka

 

Oracle Fusion HCM Techno Functional Consultant with overall 10 years of Experience in software industry with 5 years in EBS HRMS and rest 5 in Fusion HCM.

My areas of intesrest in Fusion HCM include :

a) Inbound Outbound Integration using FBL/HDL or BIP/HCM Extracts.

b) Fast Formula

c) BIP Reports

d) OTBI Reports

e) RESTFUL API / Web Service Call

f) Functional Setup

g) End to End Testing

h) Regression Testing

i) Preparing COnfiguration Workbooks

j) Creating Speed Solutions

k) Preparing User Guides

l) UPK

........

Search Trainings

Fully verifiable testimonials

Apps2Fusion - Event List

<<  Apr 2024  >>
 Mon  Tue  Wed  Thu  Fri  Sat  Sun 
  1  2  3  4  5  6  7
  8  91011121314
15161718192021
22232425262728
2930     

Enquire For Training

Fusion Training Packages

Get Email Updates


Powered by Google FeedBurner