Skip to main content
Clarififcation
Source Link
Rob Windsor
  • 12.7k
  • 26
  • 40

_spPageContextInfo can be used in a page in a SharePoint-Hosted app. You will get a "squigly" in the editor because it the _spPageContextInfo object is added to the page dynamically so, thus the editor is not aware of it.

Simple example using _spPageContextInfo :

enter image description here

enter image description here

_spPageContextInfo can be used in a page in a SharePoint-Hosted app. You will get a "squigly" in the editor because it is added to the page dynamically so the editor is not aware of it.

Simple example using _spPageContextInfo :

enter image description here

enter image description here

_spPageContextInfo can be used in a page in a SharePoint-Hosted app. You will get a "squigly" in the editor because it the _spPageContextInfo object is added to the page dynamically, thus the editor is not aware of it.

Simple example using _spPageContextInfo :

enter image description here

enter image description here

Source Link
Rob Windsor
  • 12.7k
  • 26
  • 40

_spPageContextInfo can be used in a page in a SharePoint-Hosted app. You will get a "squigly" in the editor because it is added to the page dynamically so the editor is not aware of it.

Simple example using _spPageContextInfo :

enter image description here

enter image description here