Hi all, I am trying to add a new folder into Slide and my contentstore
which is set to my local filesystem, I am able to get an entry to be
inserted into the database but I am unable to get the folder created. I
have set the rootpath to C:\temp\filestore but when I try to create the
new folder eg. slideTestFolder, only the database is updated, folder
slideTestFolder was not created in C:\temp\filestore. In ContentImpt
there are 4 create methods, which 3 have NodeRevisionContent passed as a
parameter, since this is a new folder I am creating, I have no content
yet, so I chose to use the method create (SlideToken token,
java.lang.String strUri, boolean isVersioned) - Create new revision
descriptors. But I do not find any folder created in my filesystem, can
someone tell me what is wrong my code : -------------------
NamespaceAccessToken nat = Domain.accessNamespace(new SecurityToken(""),
"slide"); SlideToken slideToken = new SlideTokenImpl(new
CredentialsToken("john")); structure struct = nat.getStructureHelper();
Content content = nat.getContentHelper(); nat.begin();
struct.create(slideToken, new SubjectNode(), "/slideTestFolder");
content.create(slideToken, "/slideTestFolder", true); nat.commit();
------------------- Thanks. Russ
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>