Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
DocumentFodler in worksitemp
gomes
Hi,
I am using worksite 4.1 i am unable to create a documentfolder under workspace.
here is my code .pls anyone help me
Folder folder = workspace.createFolder();
folder.setName("My First Folder");
folder.setDescription("A Folder");
folder.setSecurityPolicy(getSecPolicy(workspace,"public"));
folder.setContentType("DocumentFolder");
folder.update();
folder.refresh();
Thanks in advance
Gom es
Find more posts tagged with
Comments
ramcr
hi gomathi
did you sloved this if its still there try with
setFolderContentTypeObj(Folder.ContentType.DOCUMENT_FOLDER);
mparker
Try:
workspace.update();
workspace.refresh();
instead