Need help with UocIdentityPicker
Hey all,
I am trying to create a Identity Picker for a custom object that I added to the portal. We plan to use the portal to create contractor user accounts. One of the requirements is that the user be associated with the PO number and contract that they fall
under. I added a Contract object to the portal with 4 attributes:
DisplayName
ContractPO
ContractStart
ContractEnd
I also added a Contract attribute to the portal user object.
I am trying to modify the Create user RCDC with an identity picker that will be used to populate the Contract attribute that I added to the user object. I want to query the Contract objects and pull the displayName to populate this field with. I have also
created a search scope with Usage Keywords "Contract" and "AllContracts"
Here is the code I am trying to use with the picker:
<
my:Control
my:Name="ContractPicker"
my:TypeName="UocIdentityPicker"
my:Caption="%SYMBOL_ContractCaption_END%"
my:Description="%SYMBOL_ContractDescription_END%"
my:RightsLevel="{Binding
Source=rights, Path=Contract}">
<
my:Properties>
<
my:Property
my:Name="ColumnsToDisplay"
my:Value="DisplayName"/>
<
my:Property
my:Name="Mode"
my:Value="SingleResult"/>
<
my:Property
my:Name="Rows"
my:Value="10"/>
<
my:Property
my:Name="ObjectTypes"
my:Value="Contract"/>
<
my:Property
my:Name="ColumnsToDisplay"
my:Value="DisplayName"/>
<
my:Property
my:Name="AttributesToSearch"
my:Value="DisplayName"/>
<
my:Property
my:Name="Value"
my:Value="{Binding
Source=object, Path=Contract, Mode=TwoWay}"/>
<
my:Property
my:Name="UsageKeywords"
my:Value="AllContracts"/>
<
my:Property
my:Name="ResultObjectType"
my:Value="Contract"/>
</
my:Properties>
</
my:Control>
I recieve the error : "There is an error in
the Person display configuration"
Thanks,
Rich
May 28th, 2010 5:30pm
Update:
When I get the error, I can still get to the extended attributes tab, and from there, i can use the picker to resolve contract names. when I click on browse, the search scope defaults to 'All Users'. It would be nice to have that set to my new search scope
of "All Contracts".
Free Windows Admin Tool Kit Click here and download it now
May 28th, 2010 6:33pm
figured this out. It was just some syntax errors.
June 10th, 2010 11:00pm
Rich,
I'm having some problems doing the same that you posted!
I've created a custom object and bound it to te Group Object. Now i'm trying to use an Identity Picker. Can you send me or post the XML of the Create, Edit or View RCDC where you use the UocIdentityPicker ?
Many Thanks,
João
Free Windows Admin Tool Kit Click here and download it now
September 14th, 2010 7:55pm