[OGo-Users] OGo customisation
Adam Tauno Williams
users@opengroupware.org
Tue, 29 Jan 2008 12:11:42 -0500
--=-FH21SYc4wG0PLUriVWqk
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
> I have OGo 1.1.7 running on a CentOS 4 server, with openLDAP
> authentication. I can create users, projects etc and can also upload
> documents fine.
> I would like to add the following features to OGo, and hope I can get
> some help/advice from this list :
> 1) When uploading a new document to a project I'd like to add some
> extra attributes as 'standard', namely 'keywords' and 'author'. How
> can I do this ?
There is a properties system; but I don't think it is really documented
anywhere. (Actually I think the property system originated in the
projects/documents module.) There is a property manager page in the
project document view (WebUI/Project/LSWProject/SkyPropertiesEditor.m &=20
WebUI/Project/LSWProject/SkyPropertyEditor.m) I'm not certain if a list
of prescribed properties like is available for appointments exists;
although it probably wouldn't be too hard to add.
Properties are managed by the SkyObjectPropertyManager and at least
partly also exposed through the DocumentAPI. I think the actual
operation of searching is performed through the DocumentAPI and the
"File Manager" (SkyProjectFileManager) object.
http://docs.opengroupware.org/Members/helge/Configurations/ExtendedProjectA=
ttrs/view
http://docs.opengroupware.org/Members/helge/DocumentAPI/ProjectDocAPI/view
http://docs.opengroupware.org/Members/helge/DocumentAPI/SkyProject
http://www.opengroupware.org/en/devs/docs/snippets/DocumentAPI/DocStorage.h=
tml
http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=3D25
The zOGIAction+Property.m
<http://zogi.googlecode.com/svn/trunk/Source/zOGIAction+Property.m> file
might help as a simple example of how to get/set object properties.
There is also, a sadly butchered, patch to add custom attributes to
tasks via the property manager
<http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=3D1043>
> 2) I'd like to search all documents in a project based on the keywords
> entered as extra attributes.
This isn't currently supported to my knowledge, but it would certainly
be useful. =20
> 3) How do I change ownership of a document from one user to another ?
You can grant permissions, but I believe the creator is the owner. I
don't know if there is any explicit operation to change the owner of a
document; although that also seems like a good idea.
> Any help or advice regarding how to make these changes would be
> greatly appreciated.
--=-FH21SYc4wG0PLUriVWqk
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
iD8DBQBHn15OLRePpNle04MRAtkSAJ4xwg0RA6vTdP8mdz2oLpOrR//t7gCfcgZI
pInF6uadHoT+z4URtR0VCwc=
=lHQB
-----END PGP SIGNATURE-----
--=-FH21SYc4wG0PLUriVWqk--