Querying for Persistent User Profile Attributes

When you query for persistent user profile attributes in the Personalization Profile business component, it is important to use the Org. prefix organization-related fields. The following process occurs:

Note: A similar process occurs when persistent user profile attributes are saved, for example when exiting the application.
  • Position the business component to the record corresponding to the person whose attributes are being read.

  • Read all person-related fields.

  • Use either the Primary Account Id Internal or Primary Division Id Internal field (whichever is not empty) as an Id field to query for the organization-related fields.

    Note: If both the Primary Account Id Internal and Primary Division Id Internal fields are populated, then the Org.* fields are based on the Primary Account Id Internal.

    Because both person and organization records are stored in the S_PARTY table and its extensions, you can use the same business component to query for these fields.

  • Read all fields with names Org.*.