03-21-2007 12:51 PM
03-27-2007 05:01 AM
03-27-2007 05:09 AM
03-27-2007 06:53 AM
03-27-2007 07:16 AM
03-28-2007 10:41 PM
05-02-2007 05:19 PM
Chris:
Different Kevin here (Cochrane versus Roast).
The AVM today supports custom types and aspects (although it does not for a variety of reasons support associations specifically yet). What is missing from web projects today is the GUI for enforcing assignment of metadata, specifically at time of asset submission.
We are investigating this capability for our next feature release, 2.1.0, which is targeted for June (dates are still in flux, however). This capability is likely to push, however, to a subsequent update, 2.x.0, tentatively targeted for end of summer.
With 2.0.0, the general model should be the following:
1. For documents, documents should be created in a regular Alfresco
space. Content types can be enforced and content rules can be
used to transform that document to a web-ready format (PDF) and
promote to multiple web projects (multi-channel publishing). The
promoted PDF asset will carry with it it's metadata upon promotion,
meaning that within a web project there should not be a need for
having metadata assignment enforced by a custom content type.
This is the general model we will follow in all future versions of
Alfresco (knowledge workers originate and collaborate on documents
in a collaborative environment and "publish" either manually or
via a rule to multiple web projects where they can be staged,
linked into web pages, and launched with other "published"
documents from other knowledge workers at an appropriate time.
2. For XML, XML documents should have their metadata captured
in-line with the content itself and have the data defined in it's XSD.
A web form essentially uses XSD to define a custom content type,
where shared elements across XSD are supported in the XSD
via an xsd:include.
3. For cases where users wish to only use a web project for uploading
and publishing documents, a web form can be created to define
the metadata required for a particular document type. This
XSD should include an file browser data type as it's first element,
and end-users can then choose to create a new asset, say a
datasheet, by selecting the database web form. In that web form,
end users can upload the document and then assign the metadata
to that document. The document itself will live as a file in the
web project, and the metadata as a separate XML document.
#1 and #2 will be continue to be the preferred and supported model
for document collaboration and multi-channel publishing even when
our GUI supports metadata assignment for custom AVM asset types.
#3 is an intermediate step towards that GUI, as we do look to leverage
XForms for metadata capture moving forward.
Let me know if any further questions.
Kevin
private static ValueType makeValueType(QName typeQName)
{
ValueType valueType = valueTypesByPropertyType.get(typeQName);
if (valueType == null)
{
throw new AlfrescoRuntimeException(
"Property type not recognised: \n" +
" type: " + typeQName);
}
return valueType;
}
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.