Available dynamic attribute namespaces
There are many available dynamic attribute namespaces, some of which are CommonFields, CurrentUser, and CurrentEnterprise.
has the following special namespaces available for use in dynamic attributes:
- CommonFields - This namespace is only available when using the common_fields JSP. The attributes that are available depend on how the JSP is used.
- CurrentUser - This namespace contains the details about
the current logged-in user using the getUserDetails() API. The exact
XML available is:
<User Activateflag="" BillingaddressKey="" BusinessKey="" ContactaddressKey="" Createprogid="" Createts="" Createuserid="" CreatorOrganizationKey="" Imagefile="" Localecode="" Loginid="" Longdesc="" MenuId="" Modifyprogid="" Modifyts="" Modifyuserid="" NoteKey="" OrganizationKey="" ParentUserKey="" Password="" PreferenceKey="" Pwdlastchangedon="" Theme="" UserKey="" UsergroupKey="" Username="" Usertype=""/>
- CurrentEnterprise - If the current user belongs to an organization that is an enterprise,
this namespace contains the details about that enterprise. If the current user belongs to an
organization that is not an enterprise but participates in an enterprise, this namespace contains
the details about the primary enterprise of the current organization. The details for the
organization are retrieved from the getOrganizationHierarchy() API. The exact XML available
is:
<Organization AccountWithHub="" AuthorityType="" BillingAddressKey="" CatalogOrganizationCode="" CollectExternalThroughAr="" ContactAddressKey="" CorporateAddressKey="" Createprogid="" Createts="" Createuserid="" CreatorOrganizationKey="" DefaultDistributionRuleId="" DefaultPaymentRuleId="" DunsNumber="" InterfaceTime="" InventoryKeptExternally="" InventoryOrganizationCode="" InventoryPublished="" IsHubOrganization="" IsSourcingKept="" IssuingAuthority="" ItemXrefRule="" LocaleCode="" MerchantId="" Modifyprogid="" Modifyts="" Modifyuserid="" OrganizationCode="" OrganizationKey="" OrganizationName="" ParentOrganizationCode="" PaymentProcessingReqd="" PrimaryEnterpriseKey="" PrimarySicCode="" PrimaryUrl="" RequiresChainedOrder="" RequiresChangeRequest="" RulesetKey="" TaxExemptFlag="" TaxExemptionCertificate="" TaxJurisdiction="" TaxpayerId="" XrefAliasType="" XrefOrganizationCode="">
- CurrentOrganization - This namespace contains the details of the organization of the current logged-in user using the getOrganizationHierarchy() API. The exact XML available is the same that is available under the CurrentEnterprise namespace.
- SelectionKeyName - This namespace contains the XML that is bound to the currently active key of the current entity. Typically a list screen forms an XML key and associates that key to the checkbox (or hyperlink) which is used to navigate to the detail screen. This key is known as the current selected entity key. A detail view uses this key to call the detail API for that entity. For more details on this namespace, see "Passing Data to APIs."