Javascript for Episerver 7.5 cms

ContentModelServerSync

Location

epi-cms/contentediting/ContentModelServerSync

Extends

Properties

_attrPairNames

Used across all instances a hash to cache attribute names and their getter and setter names.

_publish

_saveDeferred

contentDataStore

Reference to the content data store

contentLink

Reference to the content this sync service instance is saving changes to

hasPendingChanges

processInterval

How often (in milliseconds) should we check the queue to see if there's any items to be synced

Methods

public method _saveProperties ( items )

Validate property value with server.

Parameters

public method pendingSync ( propertyName )

Check if there is any pending synchronization for the property with propertyName

Parameters

public method save ( )

Save updates to server


public method scheduleForSync ( propertyName , value )

Put property update in queue

Parameters