Tracy,
Thanks for the lead. I'm having trouble getting it to recognize RoleName,
though (there is only one role name per role, by the way).
I did this for UserDescription just to prove the method:
protected function displayName (item:Object, column:DataGridColumn):String
{
return item.UserDescription;
}
...
< mx:DataGrid...>
< mx:DataGridColumn headerText="Name" labelFunction="displayName" / >
and that worked fine.
But for rolename, I did this (with and without the .text()):
protected function displayRoles (item:Object, column:DataGridColumn):String
{
return item.Roles.Rolename.text();
}
...
< mx:DataGridColumn headerText="Roles" labelFunction="displayRoles" / >
and no matter, what I get:
Error: Unknown Property: 'Rolename'.
I'm copying the actual XML here in case you can see something I'm missing. I
changed all the < to a < plus a space and all the /> to / > so nothing should
be lost when I submit this.
Thanks,
Jim
< SOAP-ENV:Get__CompIntfc__USER_PROFILEResponse
xmlns:SOAP-ENV="http://xmlns.oracle.com/Enterprise/Tools/schemas/M405276.V1">
< SOAP-ENV:UserID>jgo1216< /SOAP-ENV:UserID>
< SOAP-ENV:UserDescription>James G. Ogletree< /SOAP-ENV:UserDescription>
< SOAP-ENV:PrimaryPermissionList>HCPPST_JGO1216<
/SOAP-ENV:PrimaryPermissionList>
< SOAP-ENV:RowSecurityPermissionList>HCDPALL<
/SOAP-ENV:RowSecurityPermissionList>
< SOAP-ENV:Encrypted>1< /SOAP-ENV:Encrypted>
< SOAP-ENV:SymbolicID>SYSADM1< /SOAP-ENV:SymbolicID>
< SOAP-ENV:LanguageCode>ENG< /SOAP-ENV:LanguageCode>
< SOAP-ENV:MultiLanguageEnabled>1< /SOAP-ENV:MultiLanguageEnabled>
< SOAP-ENV:CurrencyCode>USD< /SOAP-ENV:CurrencyCode>
< SOAP-ENV:AccountLocked>0< /SOAP-ENV:AccountLocked>
< SOAP-ENV:ProcessProfilePermissionList>ALLPAGES<
/SOAP-ENV:ProcessProfilePermissionList>
< SOAP-ENV:NavigatorHomePermissionList>HCSPNAVHP<
/SOAP-ENV:NavigatorHomePermissionList>
< SOAP-ENV:FailedLogins>0< /SOAP-ENV:FailedLogins>
< SOAP-ENV:ExpertEntry>0< /SOAP-ENV:ExpertEntry>
< SOAP-ENV:Opertype>0< /SOAP-ENV:Opertype>
< SOAP-ENV:UserIDAlias/ >
< SOAP-ENV:AllowSwitchUser>0< /SOAP-ENV:AllowSwitchUser>
< SOAP-ENV:WorklistEntriesCount>9< /SOAP-ENV:WorklistEntriesCount>
< SOAP-ENV:ReassignUserID/ >
< SOAP-ENV:ReassignWork>N< /SOAP-ENV:ReassignWork>
< SOAP-ENV:WorklistUser>N< /SOAP-ENV:WorklistUser>
< SOAP-ENV:EmailUser>N< /SOAP-ENV:EmailUser>
< SOAP-ENV:AlternateUserID/ >
< SOAP-ENV:SupervisingUserID/ >
< SOAP-ENV:EmailAddresses>
< SOAP-ENV:EmailType>BUS< /SOAP-ENV:EmailType>
< SOAP-ENV:EmailAddress>[email protected]< /SOAP-ENV:EmailAddress>
< SOAP-ENV:PrimaryEmail>Y< /SOAP-ENV:PrimaryEmail>
< /SOAP-ENV:EmailAddresses>
< SOAP-ENV:EmailAddresses>
< SOAP-ENV:EmailType>OTH< /SOAP-ENV:EmailType>
< SOAP-ENV:EmailAddress>[email protected]< /SOAP-ENV:EmailAddress>
< SOAP-ENV:PrimaryEmail>N< /SOAP-ENV:PrimaryEmail>
< /SOAP-ENV:EmailAddresses>
< SOAP-ENV:IDTypes>
< SOAP-ENV:IDType>NON< /SOAP-ENV:IDType>
< SOAP-ENV:Attributes>
< SOAP-ENV:Fieldname/ >
< SOAP-ENV:Recname/ >
< SOAP-ENV:AttributeValue/ >
< SOAP-ENV:AttributeName/ >
< /SOAP-ENV:Attributes>
< /SOAP-ENV:IDTypes>
< SOAP-ENV:Roles>
< SOAP-ENV:RoleName>APP_MSG_ADMINISTRATOR< /SOAP-ENV:RoleName>
< SOAP-ENV:Dynamic>N< /SOAP-ENV:Dynamic>
< /SOAP-ENV:Roles>
< SOAP-ENV:Roles>
< SOAP-ENV:RoleName>DL_ACCTS_MGR< /SOAP-ENV:RoleName>
< SOAP-ENV:Dynamic>N< /SOAP-ENV:Dynamic>
< /SOAP-ENV:Roles>
< SOAP-ENV:Roles>
< SOAP-ENV:RoleName>DL_ACCTS_MGR_WF_ALT< /SOAP-ENV:RoleName>
< SOAP-ENV:Dynamic>N< /SOAP-ENV:Dynamic>
< /SOAP-ENV:Roles>
< /SOAP-ENV:Get__CompIntfc__USER_PROFILEResponse>