SP.Publishing.SiteServicesAddins.setSettings Method (sp.publishing)
Adds the site services add-in if it does not exist; otherwise, this method updates it.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
SP.Publishing.SiteServicesAddins.setSettings(context)
Parameters
context
addin
Type: SP.Publishing.AddinSettingsSite services addin to add or update.