3.1.4.25.2.2 RenderWebPartForEditResponse
The RenderWebPartForEditResponse element MUST be returned by the server in response to RenderWebPartForEdit. This element is defined as follows:
-
<s:element name="RenderWebPartForEditResponse" xmlns:s="http://www.w3.org/2001/XMLSchema"> <s:complexType> <s:sequence> <s:element name="RenderWebPartForEditResult" type="s:string" minOccurs="1" maxOccurs="1"/> </s:sequence> </s:complexType> </s:element>
RenderWebPartForEditResult: An XML-encoded string that, when decoded, produces XML as follows:
-
<s:element name="Results" xmlns:s="http://www.w3.org/2001/XMLSchema"> <s:complexType> <s:sequence> <s:element name="Result"> <s:complexType> <s:sequence> <s:element name="DesignerInfo"> <s:complexType> <s:sequence> <s:element name="Properties" type="s:string" minOccurs="1" maxOccurs="1"/> <s:element name="Preview" type="s:string" minOccurs="1" maxOccurs="1"/> </s:sequence> </s:complexType> </s:element> </s:sequence> <s:attribute name="ID" type="s:string" use="required"/> <s:attribute name="Code" type="s:int" use="required"/> <s:attribute name="__error" type="s:string" use="optional"/> </s:complexType> </s:element> </s:sequence> </s:complexType> </s:element>
Results: A container element for the Result element.
Results.Result: A container element for the DesignerInfo element.
Results.Result.DesignerInfo: A container element for the Properties and the Preview elements.
Results.Result.DesignerInfo.Properties: An XML-encoded string that, when decoded, is implementation-specific<107> markup containing properties of the Web Part that would be useful for the client application.
Results.Result.DesignerInfo.Preview: An XML-encoded string that, when decoded, is implementation-specific<108> markup suitable for display in the client application as a placeholder for the Web Part.
Results.Result.ID: MUST be set to "0,RenderForEdit".
Results.Result.Code: MUST be set to zero.
Results.Result.__error: If an error occurred during the operation, this attribute MUST contain a non-empty string describing the error. Otherwise, the attribute MUST either be omitted or an empty string.