Need a custom scritp to catpure Legal entity or business unit or employer name
Summary:
Hi Team,
In OGL as use the custom script to cature the user_name, user-country, lang to give the condition. In the same way we are trying to capture Legal entity or business unit or employer name.
Need your help to update the existing script so it will work
Content (please ensure you mask any confidential information):
Using the below script
<script>
window.oglInfo = {
fields:
{
first_name:"#{securityContext.userProfile.firstName}",
last_name:"#{securityContext.userProfile.lastName}",
user_country:"#{Profile.values.FND_TERRITORY}",
user_locale:"#{facesContext.viewRoot.locale.language}",
person_ID:"#{HcmFusePlusBean.userPersonId}",
user_legal_entity:"#{Profile.values.PER_LEGAL_EMPLOYER_NAME}",