public static void createFolder( IInfoStore infoStore, String name, String description, String parentCUID) throws SDKException { IPluginMgr pluginMgr = infoStore.getPluginMgr(); IPluginInfo plugin = pluginMgr.getPluginInfo(CeKind.FOLDER); IInfoObjects newInfoObjects = infoStore.newInfoObjectCollection(); newInfoObjects.add(plugin); IInfoObject infoObject = (IInfoObject)newInfoObjects.get(0); infoObject.setTitle(name); infoObject.setDescription(description); infoObject.properties().setProperty(CePropertyID.SI_PARENT_CUID, parentCUID); infoStore.commit(newInfoObjects); }
How to Create a Folder in CMS using BO Java SDK
Leave a reply