次の方法で共有


SP へPublishing.AddinSettings.enabled プロパティ (sp.publishing)

取得またはSP へPublishing.AddinSettings オブジェクト (sp.publishing)オブジェクトのSP.Publishing.AddinSettings.enabledプロパティの値を設定します。

**適用対象:**apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var value = SP.Publishing.AddinSettings.get_enabled()
SP.Publishing.AddinSettings.set_enabled(value)