documents standard attributes

View: New views
6 Messages — Rating Filter:   Alert me  

documents standard attributes

by Renzo Vettori :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Is there a way to configure what (standard) attributes appears in OGo
documents webui (e.g., attributes for a file stored in a db project) via
Defaults ? Is this an extensible set?

Thanks in advance, Renzo Vettori



--
OpenGroupware.org Users
users@...
http://mail.opengroupware.org/mailman/listinfo/users

Re: documents standard attributes

by Adam Tauno Williams :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 2009-09-10 at 11:48 +0200, Renzo Vettori wrote:
> Is there a way to configure what (standard) attributes appears in OGo
> documents webui (e.g., attributes for a file stored in a db project) via
> Defaults ? Is this an extensible set?

This was a bug I worked on, and while you can certainly store any
properties on a document, I couldn't make the WebUI manage them.  

I can't find the bug now.  The problem I had is that I really struggle
with the WebUI WebObjects like code.

--
OpenGroupware.org Users
users@...
http://mail.opengroupware.org/mailman/listinfo/users

Parent Message unknown Re: documents standard attributes

by Renzo Vettori :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Maybe that is not at top of todo list..
Are they accessible via the zogi interface? Is there a guide to configure them?

users@... wrote:
> On Thu, 2009-09-10 at 11:48 +0200, Renzo Vettori wrote:
> > Is there a way to configure what (standard) attributes appears in OGo
> > documents webui (e.g., attributes for a file stored in a db project) via
> > Defaults ? Is this an extensible set?
>
> This was a bug I worked on, and while you can certainly store any
> properties on a document, I couldn't make the WebUI manage them.  

--
OpenGroupware.org Users
users@...
http://mail.opengroupware.org/mailman/listinfo/users

Re: documents standard attributes

by Helge Hess :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 10.09.2009, at 11:48, Renzo Vettori wrote:
> Is there a way to configure what (standard) attributes appears in  
> OGo documents webui (e.g., attributes for a file stored in a db  
> project) via Defaults ? Is this an extensible set?

I don't remember for sure, but I think thats actually possible with  
'project types', which could be configured via defaults. Someone might  
want to dig the archives. I think I've implemented that in 2005 or 2006.

Greets,
   Helge
--
Helge Hess
http://helgehess.eu/
--
OpenGroupware.org Users
users@...
http://mail.opengroupware.org/mailman/listinfo/users

Re: documents standard attributes

by Adam Tauno Williams :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 2009-09-11 at 12:01 +0200, Helge Hess wrote:
> On 10.09.2009, at 11:48, Renzo Vettori wrote:
> > Is there a way to configure what (standard) attributes appears in  
> > OGo documents webui (e.g., attributes for a file stored in a db  
> > project) via Defaults ? Is this an extensible set?
> I don't remember for sure, but I think thats actually possible with  
> 'project types', which could be configured via defaults. Someone might  
> want to dig the archives. I think I've implemented that in 2005 or 2006.

Projects can be grouped by kind, and I think documents as well (see
quoted below).  And there are extended attributes on projects
<http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=1123> but I
don't see anything relating to documents.

<quote
source="http://svn.opengroupware.org/OpenGroupware.org/trunk/WebUI/Project/OGoProject/README">
Configurable Desktop Tabs
=========================

Desktop tabs are configurable using the 'skyp4_desktop_tabs' default,
see the
Defaults.plist. Eg to display all projects of kind 'ABC' in a new tab,
but NOT
in common, use this:
---snip---
  (
    { key = ppublic;   labelKey = common;
      qualifier = "type='common' AND NOT kind='ABC'";   },
    { key = pprivate;  labelKey = private;  qualifier =
"type='private'";  },
    { key = parchived; labelKey = archived; qualifier =
"type='archived'"; },

    { key = ABC; labelKey = ABC;
      qualifier = "kind='ABC'"; },
  )
---snap---


DocViewer Rules
===============

The document viewer looks up the available tabs using the
NGBundleManager. From
that set of tabs you can select those which are to be displayed for a
given
file using NGRule's.

For example to show only the tab with the content for text documents,
you can
use:
  Defaults write ogo-webui-1.0a OGoDocViewerRules \
    '( "document.NSFileName.pathExtension = \"txt\" => tabkeys =
(contents)" )'
</quote>

--
OpenGroupware.org Users
users@...
http://mail.opengroupware.org/mailman/listinfo/users

Re: documents standard attributes

by Adam Tauno Williams :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 2009-09-11 at 07:30 +0000, Renzo Vettori wrote:
> Maybe that is not at top of todo list..
> Are they accessible via the zogi interface?

Should be.  If you want to use them via zOGI we should head over to the
XML-RPC list.

>  Is there a guide to configure them?

Properties use the 'garbage dump' metaphor - you can stick anything you
want in there, for good or ill.  There really isn't anything to
configure except in whatever you UI is.

We use properties a *lot*, so I have confidence the backend at least
works very well.


--
OpenGroupware.org Users
users@...
http://mail.opengroupware.org/mailman/listinfo/users