cancel
Showing results for 
Search instead for 
Did you mean: 

Multples upload and custom folder

gutierrez_ge
Champ in-the-making
Champ in-the-making
Hi, it is possible to upload all the files that are inside of a folder?, and how can i add different meta data fields to different folders

thanks,
7 REPLIES 7

gutierrez_ge
Champ in-the-making
Champ in-the-making
i was reading some stuff and i found this…

<config evaluator="string-compare" condition="Space Wizards">
  <folder-types>
    <type name="my:wikiSpace" [icon="/images/icons/wikiSpace_large.gif"]
              [description-id="wikispace_desc"] [description="Inline description of a wiki space"] [display-label="Wiki Space"] [display-label-id="wikispace"] />
  </folder-types>
</config>

how that code relations with adding new metadata to a specific folder?

kvc
Champ in-the-making
Champ in-the-making
To upload all assets within a folder, you can zip the folder up and then use the Bulk Import option under the Create menu.

Kevin

gutierrez_ge
Champ in-the-making
Champ in-the-making
thanks kevin, and for the second question? it is possible to set different meta data fields to different folders??

kvc
Champ in-the-making
Champ in-the-making
Alas, not presently in the GUI.  This is available from the API only until our 2.1 release.

gutierrez_ge
Champ in-the-making
Champ in-the-making
Ohh i see, well, where i can found documentation about dinamyc combo boxes, i mean i need to load some especific metadata accordingly with the selected option, i mean i'm filling out description and author and then i  need to chose one option of a combobox and then if i chose option1 then i will show fields like name and address and if i chose option2 i will show fields like country and city but not name and adress.

Thanks guys,

alexandra
Champ on-the-rise
Champ on-the-rise
To upload all assets within a folder, you can zip the folder up and then use the Bulk Import option under the Create menu.

Kevin

I have tried to find that option but it is not existant in my 2.0C Alfresco at least. Any more guidelines of how to do bulk upload using the Web Client?

aatamer
Champ in-the-making
Champ in-the-making
our company has document titles like "200-0001" and description of "How to create a simulation model".   I want to have the english-style name in the description, so people at least know what the document is before opening it.

I tried to hack a SQL script that would update the description record in the MySQL database:

update alf_node_properties set string_value='How to create a simulation model' where qname='{http://www.alfresco.org/model/content/1.0}description' and node_id=1870;

and the way I got 1870 is

select distinct max(node_id), string_value from alf_node_properties
where string_value like '200-0001.htm'

this will only work if you have one document with that title on your cms. In my case I was screwed because previous deleted files don't disappear from the DB on their own.

some DBAs would ask "why can't you nest the select query within the update". IT turns out that MySQL has a limitation preventing update queries that have correlated tables.  This is a royal pain, and I had to tediously match up the node ids with the titles of each document.

Still I have no solution for metadata within Alfresco.