Snippets

Mythics WebCenter Content - SOAP - Add folder (folders_g)

Updated by Jonathan Hult

File add_folder.xml Modified

  • Ignore whitespace
  • Hide word diff
     </soapenv:Header>
     <soapenv:Body>
         <ucm:GenericRequest webKey="cs">
-            <ucm:Service IdcService="COLLECTION_DELETE_COLLECTION">
+            <ucm:Service IdcService="COLLECTION_ADD">
                 <ucm:Document>
-                    <ucm:Field name="dCollectionID">COLLECTION ID GOES HERE</ucm:Field>
-                    <ucm:Field name="hasCollectionID">1</ucm:Field>
+                    <ucm:Field name="dSecurityGroup">Secure</ucm:Field>
+                    <ucm:Field name="dDocAccount" />
+                    <ucm:Field name="dUser">OWNER GOES HERE</ucm:Field>
+                    <ucm:Field name="dCollectionOwner">OWNER GOES HERE</ucm:Field>
+                    <ucm:Field name="dCollectionCreator">OWNER GOES HERE</ucm:Field>
+                    <ucm:Field name="dCollectionName">NAME OF FOLDER GOES HERE</ucm:Field>
+                    <ucm:Field name="xComments">DESCRIPTION OF FOLDER GOES HERE</ucm:Field>
+
+                    <ucm:Field name="xClbraAliasList">GROUP LIST DATE GOES HERE</ucm:Field>
+                    <ucm:Field name="xClbraUserList">USER LIST GOES HERE</ucm:Field>
+                    <ucm:Field name="hasParentCollectionID">1</ucm:Field>
+                    <ucm:Field name="dParentCollectionID">466102425461000004</ucm:Field>
                 </ucm:Document>
             </ucm:Service>
         </ucm:GenericRequest>
Created by Jonathan Hult

File add_folder.xml Added

  • Ignore whitespace
  • Hide word diff
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ucm="http://www.oracle.com/UCM" xmlns:ns1="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns2="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
+    <soapenv:Header>
+        <ns1:Security>
+            <ns1:UsernameToken>
+                <ns1:Username>USERNAME GOES HERE</ns1:Username>
+                <ns1:Password>PASSWORD GOES HERE</ns1:Password>
+            </ns1:UsernameToken>
+        </ns1:Security>
+    </soapenv:Header>
+    <soapenv:Body>
+        <ucm:GenericRequest webKey="cs">
+            <ucm:Service IdcService="COLLECTION_DELETE_COLLECTION">
+                <ucm:Document>
+                    <ucm:Field name="dCollectionID">COLLECTION ID GOES HERE</ucm:Field>
+                    <ucm:Field name="hasCollectionID">1</ucm:Field>
+                </ucm:Document>
+            </ucm:Service>
+        </ucm:GenericRequest>
+    </soapenv:Body>
+</soapenv:Envelope>
HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.