AddProfile¶
Populates the document profile defined by its associated content type.
1 | |
Parameters¶
( string | Xml ) input
The profile data as an XML node or string.
Returns¶
The current Document instance.
Remarks¶
Set ContentType on the draft to attach its profile form and data model before supplying profile data. This method copies input according to that content type schema; arbitrary XML does not replace the content type association. Save or Publish afterward to persist the data.