11-11-2016 10:56 AM
Dear,
I am trying to add custom fields (additional metadata) like code, date of elaboration, contour, country, city, etc; To the documents that I upload to Alfresco, in such a way that I can then search for those new fields created ..
I read in forums that you can do this but still can not find the form.
How can I do this?
Regards,
Geovanny C.
11-11-2016 02:47 PM
You might want to read my tutorial. It discussed how to create custom types and aspects which is where you define your properties. It also discusses form configuration.
The tutorial assumes you want the most power and flexibility possible, so it does everything like a developer would do which means your model is defined in XML. But if you are using Alfresco 5.1 you can use Alfresco Share to define your content model. There are a few things you cannot do by defining your model in the UI, but you can get pretty far with it. It's also easier to declare your form layout and property field controls in the UI than it is editing XML by hand.
If you are interested in using the UI, then take a look at the docs.
11-11-2016 03:50 PM
11-14-2016 11:21 AM
I have an structure of folders and I need to upload files with diferent metadata in each one: For example, I have the next structure:
Main
-Human Resources (Custom properties for files: Name, Age, Language, etc.)
-TIC´s (Custom properties for files: Model, Year, Suppliers, etc.)
-Sales (Custom properties for files: Country, State, etc.)
I have created an specific model for files of every folder (I have three models).Now, when I add a file on any folder I need to change the Type in order to see the corresponding properties and fill them.
There is some way to set a default model to an specific folder and, by inheritance, set by default this model to all the new files that I´m adding?
Thanks in advance,
Regards.
11-14-2016 02:02 PM
Yes, for each of those three folders, click "Manage Rules". Then click "Create Rules". Give the rule a name, like "Set Type to Human Resources" or similar.
Under the "Criteria" dropdown, you should probably pick "Content of Type" and take the default of "Content". That way your rule will only fire when a document's type hasn't been set to a specific type yet. And, it will keep the rule from firing against folders.
Now under "Perform Action" select "Specialise Type" and select your type from the dropdown. If you don't see your type then you may have done something wrong in your content model or your Share configuration.
Test your rule by creating, moving, or copying some content into the folder. You should see that its type gets changed to whatever you specified in the rule. You can see the type in the Node Browser available in the Admin Console, or, if you have properties defined, you should see them in the properties list.
If that works, repeat the steps to configure your other folders and types.
11-14-2016 03:20 PM
Excelent Jeff,
That's what I looking for.
Regards,
Geovanny
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.