As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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 modelfor document collaboration and multi-channel publishing even whenour GUI supports metadata assignment for custom AVM asset types.#3 is an intermediate step towards that GUI, as we do look to leverageXForms 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; }