CmsUpdate Example

In this example, a new web page is added to a folder.

Smartsite SXML CopyCode image Copy Code
<se:cmsupdate username="*****" password="*****" >
    <se:parameters>
        <se:parameter name="values">
            <se:collection>
                <se:member name="parent" value="2" />
                <se:member name="title">Hello World</se:member>
                <se:member name="body">This is a test</se:member>
                <se:member name="contenttype" value="CWP" />
                <se:member name="author">John Doe</se:member>
            </se:collection>
        </se:parameter>
    </se:parameters>
</se:cmsupdate>