-->

Saturday, 20 June 2015

Creating an Access Group: &FieldValue

Edit Input


This is used to convert a value from one format to the other.
This mainly uses JAVA code to perform the conversion. The JAVA code always appends {return theValue;} to the code.
It is of type Rule-Edit-Input.
Some of the built-in Edit Input rules in PEGA are,
DateTime-Calender  à Converts the JAVA date to a standard Date format.
toUppercase  à Converts the received text to UPPERCASE.
appendDash  à Appends a Dash (-) at the end of the text


Example Edit Input Rule


It is referred mainly in Property rules under the Edit Input option of the Advanced tab.




-----------

Creating an Access Group:


On Selecting Access Group from Security, a new Pop-Up will be displayed.


Provide a new Access Group Name,


An Access Group is created like the one below.


------------------------

Creating an Application


On Selecting Application from Application Definition, the below screen will be Popped Up.


Provide a Name and Version for the Application


Click on Create
The Application Created will be as below,
Specify all the Application Rule Sets that will be used in the Application.




-----------

Rule-Obj-FieldValue


Field Values rules (Rule-Obj-FieldValue) are mainly used for supporting localization by overriding an english word or a sentence in other supported languages.


Provide a value in the Localized Label field ( No data available as above). This is the value that will be changed to other languages as required.

References:
1)      Referenced in Property rules as below,


Some of the standard Field Value rules:
pyStatusCustomerStat à Localizes customer satisfaction status. (Used mainly for frameworks like CPM)
pyActionPrompt à Localizes the Flow Action names.
pyCountry à Localizes Country names.

Standard Library functions for localization:
getLocalizedValue() àReturns the localized value of the property.
getLocalizedText() à Get the localized text for the proeprty specified.

Other standard PEGA rules for Localization:
GetLocalizedTextForString à Activity
GetLocalizedValue à HTML rule to return the Localized value for display purpose.


No comments:

Post a Comment

 online food ordering system project using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.U...