cancel
Showing results for 
Search instead for 
Did you mean: 

filling attributes of custon types using CFIS

john84
Champ in-the-making
Champ in-the-making
Hello together,
I just started working with Alfresco and customizing it a little bit. Now while working on my Sandbox came up a new Question.

If I copy a Document in the Alfresco repository let's say into the folder "Letters", all files within the Folder "Letters" get by default the Type "my:letters" which has a attribute called "recipient" (mandatory). If I add a new file using CIFS it gets the type "my:letters" but "recipient" will be NULL and I need to fill the field using Alfresco Explorer. Is it possible show in this case a mask which requires to fill directly the "recipient" field?

Thanks in advance
Johannes
4 REPLIES 4

mrogers
Star Contributor
Star Contributor
No I don't think you can add attributes via CIFS.     CIFS does not know about file properties.

What you may be able to do is extract metadata if you are uploading something with a specific format.  Or to run a rule that applies sensible default values.

Or as you have found you need to use an interface that knows about properties.

john84
Champ in-the-making
Champ in-the-making
Thanks for your answer.

Another Idea, would it be possible to load automatically the Alfresco Web client opened with the File just added so he logs in and can directly fill the meta data.
The idea is to prevent that a user needs to open his browser, login, search the file, select the file before he can fill in the data.

mrogers
Star Contributor
Star Contributor
Or another way would be to add another "upload" form.   Which takes the file and properties and does it in one operation.

Perhaps others reading this thread have other suggestions.

john84
Champ in-the-making
Champ in-the-making
Well thank you, so I think I'll develop a simple tool using Webservices to meet my behavior.
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.