次の方法で共有


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

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

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

var value = SP.Publishing.AddinSettings.get_headScript()
SP.Publishing.AddinSettings.set_headScript(value)