From: Francois P. <fra...@in...> - 2011-09-02 11:37:16
|
Thanks you all for your answer. I will try the Ian ideas about the userid, but may be I will need some help in the future... François ________________________________________ De: T. Kim Nguyen [ng...@uw...] Enviado el: jueves, 01 de septiembre de 2011 1:25 Para: Ian F. Hood CC: Francois Perruchas; arc...@li... Asunto: populating userid values [was Re: [Archetypes-users] How to modify user properties and how to add an user as an attribute to a class] Ian - thanks for the ideas on how to enter those userid values. I've been working on a uwosh.meeting content type that is basically a Folderish Event; the attendees LinesField is something I'd like to have use an autocomplete widget of some sort (we have 15,000-20,000 LDAP user records). http://www.uwosh.edu/ploneprojects/software/uwosh.meeting/ Kim On Aug 31, 2011, at 2:51 PM, Ian F. Hood wrote: > Alternatively, depending on how long your members list is, you could use a selection field with a vocabulary=methodname that returns a sequence of (id, fullname) tuples. This gives you a chance to filter the users list if that's helpful. > > If the members list is too long for that I've re-tasked a members search form (as a separate form) to return a member Id and stored that in a string. If you're really clever it can also be done by stealing the search from @@sharing form. > > > ~ Ian > > Ian F. Hood > Office: 1 (360) 450-5900 (US) > Twitter, Skype & FB as: IanFHood > Google+ 103220441876580461422 > > > > > On Wed, Aug 31, 2011 at 10:16 AM, T. Kim Nguyen <ng...@uw...> wrote: > François: > > On Aug 31, 2011, at 11:45 AM, peyu wrote: > > > Hi everybody, I don't know if the subject is very clear so I will try to > > explain... > > > > I'm doing an UML model with argouml, to set up some king of intranet in > > plone. > > Right now, every class is working ok, archgenxml doesn't claim any errors > > and I can install and use the package produced by AGX in plone. > > I believe Plone developers have mostly moved away from the ArgoUML/AGX development model. > > > > > I need some help for 2 points: > > - We have a class called "project", which has an attribute called "project > > manager", which a user of the intranet. I have look in the forum, the > > documentation and google but I haven't found anything... > > How can I create this attribute ? does I need to add an attribute with a > > type like "user", or to create an aggregation to the user class? > > I would use a String field and store the userid in it. > > > - I want to create also some kind of yellow pages, so we want to add > > properties to user, like for examples biography, skills, languages spoken, > > etc. How can I do it ? Cand I add directly user attributes, do I need to > > create a new UserProfiles class, is there already something done for this ? > > Have a look at WebLion's FacultyStaffDirectory product, or this: > > http://plone.org/documentation/kb/add-memberdata > > I googled for "how to extend plone user attributes" > > Kim > > > > > Any help will be greatly appreciated. > > > > François > > > > -- > > View this message in context: http://plone.293351.n2.nabble.com/How-to-modify-user-properties-and-how-to-add-an-user-as-an-attribute-to-a-class-tp6747299p6747299.html > > Sent from the Archetypes mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > > Special Offer -- Download ArcSight Logger for FREE! > > Finally, a world-class log management solution at an even better > > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > > download Logger. Secure your free ArcSight Logger TODAY! > > http://p.sf.net/sfu/arcsisghtdev2dev > > _______________________________________________ > > Archetypes-users mailing list > > Arc...@li... > > https://lists.sourceforge.net/lists/listinfo/archetypes-users > > > ------------------------------------------------------------------------------ > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even better > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev > _______________________________________________ > Archetypes-users mailing list > Arc...@li... > https://lists.sourceforge.net/lists/listinfo/archetypes-users > |