09 Nov 2007
02 Feb 2010
Link to this post
I've just watched the Video, which is great
Adding custom fields for users seems very easy, from the video it looks like I could add all the cities/branches to the config file so they appear in a dropdown box, and you simple select which one is relevant when adding a new user,
However, in my case, I need something a little more involved, so wonder if this solution still fits with these problem areas:
1) A user maybe assigned to many branches
When adding a user, i'd need the ability to select the branch (from a dropdown)
But if they belong to more than 1 branch, ideally i'd have a "Add another branch" link which shows another branch drop down (there could be a lot of branches they are assigned too.
2) Cities and Branches are related, so when adding a user, if I select London, i'd need to show all branches in the London area.
in fact, this functionality will be all over the intranet front end, not just when adding users in the backend.
Would the approach you suggested be suitable for storing information this way, or should i look at something more custom? for the linked Cities and branches
3) I'd need to be able to manage cities and branches through the backend, and not by editing the config.
I'm not sure if its possible, but would it be easier if I split out the functionality so that after you create a user, you then move onto a section that assigns the user to a cities/branches, and just use the userguid to store in a table etc
i'd really appreciate your advice on getting this bit right as the foundation of the intranet will be built on it.
should i store in config or is it worth storing these in a new table?