cancel
Showing results for 
Search instead for 
Did you mean: 

customModel.xml & java API

shay
Champ in-the-making
Champ in-the-making
Hi,

I added a new aspect (ThumbnailAspect) into the customModel.xml,
it all works fine via the alfresco web client but when i'm tring to use it
via the java API i get:

The aspect is invalid: {custom.model}ThumbnailAspect

how should i config the environment so the java api recognise the customModel.xml (where should i put the customModel.xml and what else should i config)?

i use eclipse and my project depends on the "SDK AlfrescoEmbedded" from the SDK 2.

Thanks in advance,
Shay.
1 REPLY 1

itayh
Champ in-the-making
Champ in-the-making
Hi,

I have the same problem. I am trying to upgrade my CMS system to alfresco. I am uploading all my contents to alfresco using java API(embedded) and I can not access all the new properties from custom model. Does anyone know how to add the custom model and web client custom config to any application that access the repository using java API?

Thx in advance,
Itay
Getting started

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.