Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Issues in accessing rules in 7.2.2 with Operator IDs of 7.1.8

SA-53748

Summary



The Test system is updated from Pega 7.1.8 to Pega 7.2.2.
Prior to updating the system to Pega 7.2.2, the data is cleared and imported from the Development database. Therefore, the operator IDs of the Development system (created in Pega 7.1.8) are present in the Test system. When logging in with these IDs in the Test system after the update, the UI rules display partially and are distorted in Designer Studio.


Error Messages



Not Applicable


Steps to Reproduce

  1. Clear the Test system.
  2. Import the data from the Development database. Operator IDs of the Development system (created in Pega 7.1.8) are present in the TEST environment.
  3. Update Pega 7.1.8 to Pega 7.2.2.
  4. Log in with these Operator IDs in the Test system.


Root Cause



The issue occurred due to the following:
  1. The section was unable to fetch the application skin rule. Therefore, the section used the pzdesigner studio. As a resutl, UI was distorted.
  2. The GetworkStyle activity, responsible to retrieve the skin rule, did not fetch the skin rule beacuse the skin was set to the pyShowWorkSkin property value.
  3. The pyShowWorkSkin property contained the CompositeBrand value.
  4. The application did not have CompositeBrand skin. Therefore, the application skin was not retrieved
  5. The skin rule was not present in the database.

Resolution



Perform the either of the following local-changes:
  • Import the skin rule in the application from other environments.
  • Remove the skin in the preferences of the operator.


To change the preference for all operators simultaneously, run the following activity:
  1. Set the Page names to the Class as below:

    Set operatorIDPage to Code-Pega-List
    Set operatorIDPage.pxResults to Data-Admin-Operator-ID



     
  2. Set the Method to Page-New on the operatorIDPage step page. 

    In the Method Parameters, set NewClass to Code-Pega-List.


  3. Set the method to Obj-Browse on the operatorIDPage step page.
    In the Method Parameters, set the following,

    PageName to operatorIDPage
    ObjClass to Data-Admin-Operator-ID
    RowKey to pzInsKey



     
  4. Configure Loop on operatorIDPage.pxResults 'For each embedded page' on the Embed-OperatorID-Preferences class.


     
  5. PropertyName: .pyPreferences.pyGeneralPrefs.pyShowWorkSkin
    PropertyValue:  ""

  6. Configure Loop on operatorIDPage.pxResults for each Embedded page on Embed-OperatorID-Preferences class for the Obj-Save method.


     

After writing the activity, perform the below steps to verify if the operator has privileges to modify the Data-Admin-Operator-ID class.

  1. Open the OperatorID.
  2. Open the Available roles in the operatorID 



    Open the Role that is on par with the application.
     
  3. Verify if all the privileges are set to 5.

Run the activity once to change the skin from CompositeBrand to null in all the operators.


 

Suggest Edit

Published October 5, 2018 - Updated October 8, 2020

Did you find this content helpful? Yes No

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us