Saturday, 4 July 2020

Drop Zones to Isolate Customizations on Fluid Pages

Configurable Drop Zone, allows users to add fields to pages without customizing the component of page definition. The newly injected fields are considered and processed as a part of the main page. 

Pre-requisites:  Fluid Dropzone: PeopleTools 8.57

Important points to note:

1.       Subpage are created by the customer in Application Designer. Nothing particularly special about these subpages and you can place all the usual fields, buttons, frames, group boxes, etc.

2.       Fields added to your subpage become an intrinsic part of the component buffer at runtime.  This is a powerful feature especially when combined with Event Mapping.

3.       In case of fluid, the Drop Zones exist at Level 0.  Any tables added to your subpage will appear at this level and will be automatically saved and updated by the component processor in the usual manner. Grids and Scroll areas can be added to your subpages but you must add a Horizontal Rule object at the end of your subpage to reset the Level back to 0.

4.       Record field PeopleCode defined on your subpage will execute as part of the events in the component processor flow. If your implementation requires other scenarios or PeopleCode events, (for example, page Activate, PreBuild, PostBuild, component record, or component record field events), then you should use PeopleCode event mapping to avoid customizing delivered components and pages.

5.       Unlike when a subpage is added directly as a page control on a main page definition, with this sort of dynamically injected subpage you cannot perform a record name substitution (that is, identify a from record on the subpage and a to record from the main page).

6.       The fields from your subpage that are dynamically added to the component buffer at runtime are not available in the component’s search record.

DROP ZONE ON FLUID PAGE

If we look at Employee Self Service Personal Details Address, there are 3 drop zones on this page.

On HR_EE_ADDR_FL Component, 3 drop zones are:

  •  Top and Bottom of the Edit Page (the secondary page that opens when editing Addresses)
  • Top and Bottom of the Lookup Page
  • Top, After Home and Bottom of the Address Page

Step 1: Create custom Fluid subpage with customizations to implement and add a groupbox as a container that encompasses the entire subpage. All other page elements on this subpage must be enclosed within this container


Step 2: Configure DropZones

Navigation: PeopleTools > Portal > Configure Drop Zones

Add the name of your subpage where you want to see your customizations

If no subpage is configured to a drop zone it is considered to use related content by default. The ‘Used by Related Content’ value is reset or set based on if subpage is tagged or not.  (Unconfigured drop zones are ignored and not rendered at runtime)





DEMO



Drop Zones to Isolate Customizations on Classic Page

Configurable Drop Zone, allows users to add fields to pages without customizing the component of page definition. The newly injected fields are considered and processed as a part of the main page. 

Pre-requisites:  Classic Dropzone: PeopleTools 8.58

DROP ZONES ON CLASSIC PAGE

On classic pages, a drop zone is a special group box with the Drop Zone Group Box option selected.


LOCATION_TABLE is a classic component in HCM Image 34 which contains Drop Zones




Step 1: Create custom (not fluid) subpage with customizations to implement and add a groupbox as a container that encompasses the entire subpage. All other page elements on this subpage must be enclosed within this container


Step 2: Navigation: PeopleTools > Portal > Configure Drop Zones

Search your component and chose from below.


Add the name of your subpage







DEMO :



Limitations:

a.       Drop Zones generally only exist at the Top and Bottom of the pages and so you'll need to look at grouping together your custom fields.

b.       Drop Zones won't solve requirements such as inserting custom fields into delivered grids or scroll areas.

c.       Design constraints will require compromise from your business users, but the rewards will be faster application of maintenance and reduced cost of ownership.





Friday, 19 June 2020

Related Content: Basics


What is Related Content Service Framework?

The PeopleSoft Related Content Framework enables to link application pages with contextually relevant collaborative content. In simple terms, Related Content Service Framework allows extension of a transaction without customizing the component, also allows the user to perform more actions, tasks, and to see related information without leaving the transaction. Brings additional, supplemental information into the transaction in a bottom or side frame. Related content services are ideal for the scenarios when the user wants to access two pages at same time, or some display only information like Help instructions etc.,

Related content services can be any collaborative, analytical, or informational content that is useful for completing business tasks. Related content services include any content such as PeopleSoft components; pagelets or tiles that are offered as services to be consumed by applications; or related discussion forums, wiki pages, or links. Related content services can be configured within the same database, among multiple PeopleSoft databases, and between a PeopleSoft database and external sources.

Related Content allows you to display associated information on the same page. This tool will split the screen at the bottom (right side, new window) to display additional information for the page you are working on.

Limitations 

  • A  component must be registered to select it to assign related content.
  • The related content menu and the Related Content frame will not be displayed on pages that have the pagebar option set to disabled.
  • The related content menu and the Related Content frame will not be displayed for modal or secondary pages.
  • If the modal or secondary page has a related actions menu or glyph on a field that has a service targeted to open in Target Content, the frame will be opened in a new window instead.
  • The related content menus, the Related Content frame, and related actions menus and links will not be displayed for content that has been produced for WSRP consumption. For example, the Related Actions menu will not be displayed on a pivot grid that has been produced as WSRP content.
  • The Related Content frame configured for a classic page will not be displayed when that page is rendered inside any fluid wrapper, such as in a fluid activity guide or in the fluid master/detail container.

Types of services that can be created

  • Application class: when Peoplecode needs to be run to execute business logic.
  • Non-PeopleSoft service type accesses any non-PeopleSoft pages, external content, or services.
  • PeopleSoft Component: the component can be from the local PeopleSoft system or from a remote PeopleSoft system.  
  • Embeddable Pagelet: is used to define a PeopleSoft Pagelet wizard created embeddable pagelet to be used as a service. 
  • OBIEE (Oracle Business Intelligence Enterprise Edition) Pagelet: is used to define a PeopleSoft Pagelet wizard created OBIEE data source-based pagelet to be used as a service.  
  • PeopleSoft Query: is used to access PeopleSoft Query definitions. The query results can also be filtered based on the query definition and the parameters that it requires.  
  • PeopleSoft Script: can be used in situations in which an iScript has been used to develop the application functionality based on PeopleSoft data or non-PeopleSoft data, such as stock quotes or weather information.



Sample Example:
  • Display Employee Document Component on Maternity Page related content.
1Development Process of the Related Content Service

A. Define Related Content Service.

To define a related Content Service, navigate to
Main Menu -> People Tools -> Portal -> Related Content Service -> Define Related Service


B.   Manage Related Service Definition.

After assigning the related service definition to a PeopleSoft component, user can configure the related content service and related actions. Service parameters, security, layout etc., can be defined.
Main Menu > People Tools > Portal > Related Content Service > Manage Related Content Service  
Page Down you will see Assign Related Content to an Application Page 

Add Service, and find the navigation where related content needs to be used --> Configure Related Content Page.



       Open Content Reference of the employee document component [component that you want to show when clicking Related Content dropdown] and add following information


       Navigation: PeopleTools > Portal> structure and content


      Go to content reference attributes groupbox .
      Name:                RCF_SERVICE_PARAMETER
      Attribute Values: EMPLID, EmployeeId; EMPL_RCD, Employee Record

      When you assign a content reference as an anonymous service, the system automatically defines service parameters for the components that provide either a valid search record or contextual record. You can manually define the RCF_SERVICE_PARAMETER attribute on the Content Ref Administration page for any content reference, such as for pagelets, iScripts, or for other content references that do not have a valid search record. If this RCF_SERVICE_PARAMETER attribute exists, the system automatically uses the attribute values as the service parameters for the content reference.

      The RCF_SERVICE_PARAMETER attribute overrides the default behavior of component-based URLs. The system will not retrieve the service parameters from a valid search record or contextual record, rather the system supplants any search record parameters with the parameters included in the Attribute Value field.




The related content service will be displayed in the component to which it is attached to.



Data Masking Using Page Field Configurator


Important requirements:
1)      You should have PFC Data Masking Admin role [If you don’t have this role, you won’t be able to see configuration type: Mask]
2)      PeopleTools 8.57.11 or higher

To know basics of Page Field Configurator: Page field configuration

Step 1: Define Mask Profiles
Navigation: Enterprise Components > Page and Field Configuration > Define Mask Profiles
While a few Mask Profiles come delivered, you are free to define new ones based on your requirements. Oracle delivers four types of mask profiles


Step 2: Define Field Groups
Navigation: Enterprise Components > Page and Field Configuration > Define Field Groups
Field Groups allow grouping of fields with similar masking requirements.  The mask profile assigned to the field group serves as the default for the field.  


Step3: Configuring Data Masking using PFC
Navigation: Enterprise Components > Page and Field Configuration > Page and Field Configurator
When we now go to PFC, we can see two type of configuration 


When we add a new component, we get options for the configuration.


Examples:
Standard Configuration All other non-masking configurations use a configuration type of Standard.

Masking Configuration Apply Additively is selected by default which allows multiple sequences to be executed if the criteria are satisfied.


·       The EFFDT field is masked Year Mask by default, as it was added in the Field Group.
·       Job Code is not added in any Field Group, hence, is FULL Mask by default.

Step4: User List
Define the list of users to whom the configuration needs to be applied using the User List page.

Only selected users to see the configurations. In this example, the Benefits Administrator should see unmasked data and is excluded from the configuration using the User List tab.


Step5:
Map the configurations to the corresponding portal registry entries using the Map Configuration to Portal Registry page.

Once the configuration is complete, click on Apply Configuration.


MASKING RESULTS:
Included userid: Test( and user with PFC Admin role)
Job Code is Full Masked
Effective Date Year’s is Masked

Excluded users - Benefit Administrator
There is no masking.

Data Masking using Page and Field Configurator is available now in PeopleSoft HCM 9.2 Image 33 and will soon be available in PeopleSoft Financials and Campus Solutions. 

Tuesday, 9 June 2020

Page Field Configurator


PAGE FIELD CONFIGURATION:
It enables the user:
·       To configure certain properties of pages and fields of classic pages based on their business requirements
·       To define multiple configuration for a component based on different user roles or user list.  
·       Reduces cost and impact associated with customisation and upgrades.

Using this feature a user can:
·       hide a field/page
·       change label of a field
·       add default value to a field
·       make the field/page read only
·       mark the field as mandatory
·       permits the user to verify the configuration against the underlying page metadata and flag out if any errors exist.

'Page and Field Configurator' leverages Event Mapping framework behind the scenes!

Requirement: 
1) Hide the link business unit and Status
2) Change the label of Job Title
3) Gray out the reg/temp field
4) Default the value of Medical Checkup Required as 'Y'
5) Default the value of Union Code and Description
6) Make the 'Evaluation Criteria' Page as Display Only
7) Hide the 'Market pay Match' Page
8) Above configuration should only be for GBSHR

Steps to follow:

Navigate to: Enterprise Components > Page and Field Configuration > Page and Field Configurator
Step 1)      Add the component JOB_CODE_TBL with standard configuration

     Step 2) On Page Configuration tab, Click on Select Fields and add your customization.


         For the requirement where you want customizations to be visible to 'GBSHR' setid, create the             criteria. (Note: You can only create criteria for Level 0 fields)




        For page visibility configuration, choose page from the prompt and add your customizations.


              Once the configuration done click on the validate configuration button.

             Step 3) Page and field configuration can be achieve based on security by selecting user list. The                     changes will be shown only for users in the selected list
       Based on level selected
              1)      Header Level – security will be applicable for all sequence.
              2)      Sequence Level – we can provide security for each sequence defined in the             criteria tab

Based on Applies To selected
·       All user with Exceptions –Change visible to all users except for the list in Excluded User grid
·       Selected Role With Exceptions – Changes visible to all users tagged to the mentioned role and not to users in Excluded user grid
·       Selected User – Changes visible to all users provided in the list

Step 4) Go to “Map to Portal Registry” tab
Select the navigation, where you want the customization.

Once we push the 'Apply Configuration' button, we will now notice a new column 'Review/Edit Mapping' as shown in the image below. If we click on the 'Review/Edit Mapping' hyperlink, we will be taken to the corresponding Event Mapping configuration associated with the content reference of this component.


After the 'Map to Portal Registry' step is completed, we can now see the configuration take effect on the page.
RESULTS:
For SETID: 'IRSHR' there is no customization effective


For SETID: 'GBSHR' following customizations are there.

Business unit and status link is hidden, job title label is changed, reg/temp is display only



Page Evaluation Criteria is Display Only and there is no tab for Market pay Match page

When we go on Add Mode, default values will be set.


Limitations:
1)      Cannot create criteria from Level 1,2 and 3
2)      If we have same fields in different pages of same component, then customization done once will be visible on all the pages. We can’t have different set of customizations on same field for different page.
3)      Cannot add fields on the page