我可以使用文件夹TCMURI创建组件,如下所示:
var schemaInfo = client.ReadSchemaFields(
"tcm:184-1882-8", true, new ReadOptions());
ComponentData component = (ComponentData)client.GetDefaultData(
ItemType.Component, "tcm:19-454-2");我可以在想要创建组件的地方传递WebDavURL而不是这个TCMURI吗?
提前谢谢。
发布于 2012-05-07 12:56:31
您应该简单地使用TCM而不是WebDAV URI:
string folderWebDAVURL = "/webdav/MyPublication/Path/To/Folder";
ComponentData component = (ComponentData)client.GetDefaultData(
ItemType.Component, folderWebDAVURL);https://stackoverflow.com/questions/10476636
复制相似问题