Problem statement : why after add the column [name is as description]to share document but you click on the folder to edit it you will not see the Column there.
Solution : One quick solution for this weird problem I think of is to use site columns functionality of MOSS
(Solution is from...)
Custom metadata for folders in document library | |
Hi,
My client requested one simple thing, metadata (columns) for document library. I created the metadata for document library as per the requirements. There are columns like single line of text, choice, date time type. I created the columns for the document library.
He started uploading the documents and giving them the metadata (columns) values.
For some reason he wanted to create folder structure in the document library and that's why he created some folders and inside that uploaded documents.
MOSS showed him OOB (out-of-box, typical strange Microsoft term for existing features of MOSS. This is something like for Windows operating systems to Shut down the PC we need to click on "Start") behaviour. He was only able to add the title for the folder. He thought that he can set values for the folder after creating it and saying "Edit Properties" and he did so.
Ohh...Fainted... what he saw is once again only Title for the folder which he was able to edit.
One quick solution for this weired problem I think of is to use site columns functionality of MOSS.
So instead of creating custom metadata for the document library I created the site columns for the site collection. To create site column I followed the steps as below.
I added the column name, select column type, column group and any other settings required for the column and clicked on Ok.
Now I went to the Site settings again and then clicked on the site content types
Then on the Site content types page I clicked on “Folder” content type.
And here I was again stunned……
We cannot add the site columns for the “Folder” content type. It says, it is “Sealed”.
Then I think of the other solution as to create a new custom site content type and then adding a site column for that content type.
So I created a new custom site content type as “New Sub folder”.
After that I went to Document library settings for which I wanted to add metadata for folders.
In the “Advanced Settings” select “Yes” radio button for the “Allow management of content types?”
And clicked on “Ok”.
On the settings page it showed the new section for “Content Types”.
There clicked on “Add from existing site content type”.
On the Add content type screen selected the site content type that I created in previous step and added it in the list box and clicked on “Ok”.
It started showing the new menu called as “New Sub folder” under the “New” menu on the document library.
So now onwards whenever I create a sub folder using this menu I can add the metadata for the folder also.
And after all these long turns and efforts we managed to have same metadata for folder and documents.
No comments:
Post a Comment