UocDropDownList values filled from other objects
Hello everyone, i have an resource type in FIM called "company" where users can create new company objects. there is also the normal user object and there is an attribute for this user object called "usercompany". for every new user to be created, i want to be able to select the "usercompany" attribute where the value of this "usercompany" attribute is selected from the values of company objects (display name of the company objects) created earlier. could we do this through a dropdownlist that dynamically reads the display names of company objects or is there another method for doing this? ThanksMM
September 21st, 2010 5:04pm

Hi! I'm afraid you wont be able to use the dropdownlist since there's no RCDC datasource available that could supply you with your company objects dynamically (It would be nice to have one though and I've requested one on Connect but that idea sadly ended up as "by design"). The solution is to use the IdentityPicker that allows you to to pick a resource of any type as a reference. Check out the RCDC Schema Reference for more info. //HenrikHenrik Nilsson, ILM/FIM MVP Blog: http://www.idmcrisis.com Company: Cortego (http://www.cortego.se)
Free Windows Admin Tool Kit Click here and download it now
September 22nd, 2010 1:30pm

This has to be one of the stupidest design decisions ever. Re-use a mechanism that everyone knows and loves, and then cripple it by not allowing it to use resource types. What's the point in having it then? Identity pickers are slow and throw away any form of UX benefit we've developed from the web over the last 20 years. /rant.
September 22nd, 2010 1:35pm

Thank you henrik, Eventually i am using the IdentityPicker but my problem is that is value i want to use it as a string (the displayname of the object) as part of the value of the DN of the user. How can i do this, is there a function to do this? Thanks MM
Free Windows Admin Tool Kit Click here and download it now
September 22nd, 2010 1:49pm

The problem is there´s no way at all getting dynamic information into your RCDC during run time. I'd suggest you connect the company by reference instead and then lookup required information from company resource using workflows after create or edit of a user resource. This will give you a cleaner more object oriented solution to the problem where you can store company specific information in one place instead of in all user resources. This is likely the approach I'm gonna use for a customer I'm working on right know that wishes to use FIM for managing company information as well. //HenrikHenrik Nilsson, ILM/FIM MVP Blog: http://www.idmcrisis.com Company: Cortego (http://www.cortego.se)
September 22nd, 2010 2:02pm

Henrik's way is also how we are doing it with our solution, which has a very comprehensive set of resource-types for the whole enterprise hierarchy.
Free Windows Admin Tool Kit Click here and download it now
September 22nd, 2010 4:20pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics