cancel
Showing results for 
Search instead for 
Did you mean: 

Display and edit custom metadata in Alfresco Share

ingdade
Champ in-the-making
Champ in-the-making
Hello to everybody,

i'm testing alfresco share becouse i'm searching to implement a new feature.
In simple word i need to display documents and edit metadata (reading from the document) in the same page.

I saw that it's possible to do it with SHARE but only for standard metadata.

It's possible to extend Share to have the possibilty to work also with custom metadata?

The best is that Share know which type of document is displayed and propose the corect metadata form with custom properties.

Anyone has done it or has some suggestions?

Thanks in advantage
22 REPLIES 22

jbarmash
Champ in-the-making
Champ in-the-making
There is currently no out of the box extension mechanism to display / edit custom metadata in Share.  That's planned and being implemented in the next couple of months, but the developers didn't get this released yet.  (It will be pat of the new Forms Service). 

However, if you have metadata you need to display / edit, you can use the Share components as a base to start with, and extend Surf / Share as needed.  It's a bit more cumbersome than it should be, but once again, we are working on improving this in the next few months. 

Here is documentation. 

   http://wiki.alfresco.com/wiki/CategorySmiley Frustratedurf_Platform

There are also webinars that you can view on demand introducing Surf. 

http://www.alfresco.com/about/events/ondemand/

Hope this helps!

jean

ingdade
Champ in-the-making
Champ in-the-making
ok, thank you very much for the tips.
I will study documentation you linked.

But I have an other question: What I need is edit custom metadata readinf from the images I already uploaded from CIFS.

Extend Alfresco is the best, and the fastest, way to get it?

jbarmash
Champ in-the-making
Champ in-the-making
If you upload an image through CIFS, you can use Alfresco explorer to edit the metadata of that image.  If the metadata is inside the image (EXIF, etc), you can extract it using this forge project:
   https://forge.alfresco.com/projects/iptc-exif/

By the way, keep in mind that you can always use Alfresco Explorer to edit your metadata - that' UI has standard way to make that available - it's only share that doesn't yet.

ingdade
Champ in-the-making
Champ in-the-making
mmm, i did'nt understand.

For Alfresco Explorer do you mean  the normal web client that i reach from http://localhost/alfresco?

I dont use EXIF image file.
I will explain better my need:
1) I have to upload through CIFS several images captured by scanner or digital camera. (images are documents like certificates or invoices)
2) I have to insert some custom metadata (N°, customer, address, ecc) that i have to read from the image I uploaded

So my need is to have in the same screen the image and a form to insert metadata.

Using web client i have no this possibility and I have to make some customization. What i have to understand is the best way to do it.
What about modify web client?

protenus
Champ in-the-making
Champ in-the-making
Any pointers on where to get started for adding custom metadata to the document-info page?
Have studied surf documentation.

It looks like share doesnt use the standard "connect" mechanism to get the document data.

Would we need to extend the document-info.js and ftls and connect to alfresco directly from the document-info components?


There is currently no out of the box extension mechanism to display / edit custom metadata in Share.  That's planned and being implemented in the next couple of months, but the developers didn't get this released yet.  (It will be pat of the new Forms Service). 

However, if you have metadata you need to display / edit, you can use the Share components as a base to start with, and extend Surf / Share as needed.  It's a bit more cumbersome than it should be, but once again, we are working on improving this in the next few months. 

Here is documentation. 

   http://wiki.alfresco.com/wiki/CategorySmiley Frustratedurf_Platform

There are also webinars that you can view on demand introducing Surf. 

http://www.alfresco.com/about/events/ondemand/

Hope this helps!

jean

protenus
Champ in-the-making
Champ in-the-making
Smiley Very Happy 

Well, just updated to HEAD.

And I see there has been quite a bit of progress on the custom metadata display!!


Yipee!!

Now Get

"No configuration found for node type XXXXXXX"

Any documentation, advice or insite where to map the custom types, reading code now, but thats gonna take a while Smiley Happy

mikeh
Star Contributor
Star Contributor
As I posted on the thread you bumped, we're currently in the middle of updating HEAD with the new Forms service. This will allow custom metadata viewing and editing - but it's a few weeks off completion yet.

Thanks,
Mike

protenus
Champ in-the-making
Champ in-the-making
Have been working intensely on the HEAD version, looks good,  we have been trying to get the metadata editing to be "inline".

Is that planned?

mikeh
Star Contributor
Star Contributor
Not for the majority of metadata no (there are some thoughts about very simple stuff like name and maybe description, but that's all).

The problem with making everything editable inline is how you manage repository-based constraints, validation, multi-valued properties - and that's just off the top of my head. It's not really feasible for all possible data types.

Mike