Click or drag to resize

PageCommandsServicesSavePartial Method


Selectively update specific elements and/or attribute on a page

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.169
Syntax
public XHRServiceResponseGeneric<PagePartialSaveResult> SavePartial(
	PagePartialSaveData saveData
)

Parameters

saveData
Type: PagePartialSaveData

Data encapsulate the specific fields to be updated

Examples

Sample JSON input

JavaScript
{
  "PageId": "x31",
  "Elements": [{
    "FullFieldId": [
      "a51f281c78644620a2435357e5bf49d3",
      "7ea83e856f4d4b0f9690cfe9fb4cc27e"
    ],
    "Attributes": [
      {
        "Key": "Component",
        "Value": "x15"
      }],
    "Value": "x15"
  }],
  "Attributes": [
    {
      "Key": "BundleID",
      "Value": "sdfd912h39dlflasdhhf9"
    }
  ],
  "CreateMissingAttributes": false
}

Return Value

Type: XHRServiceResponseGenericPagePartialSaveResult

List of the affected elements, attributes, and missing elements

Examples

Sample JSON return

JavaScript
{
  "UpdateElements": [
    "asdfasdf3894klsdf871",
    "h03sd09jm2d98gllds0g"
  ],
  "MissingElements": [],
  "UpdatedAttributes": [
    "BundleId"
  ]
}
See Also