1

I am fairly new to scripting, so keen to understand the difference between Native and iFrame sandbox modes.

I am having difficulty understanding why certain code works on one and not the other (e.g jquery autocomplete working in Native only and Papaparse working in iFrame only).

Besides this documentation, I cannot seem to find much else explaining the difference.

beano
  • 932
  • 1
  • 15
  • 28

1 Answers1

2

in the article you linked there is this link: https://developers.google.com/apps-script/guides/html/restrictions

it explains in detail the different restrictions per mode.

as to why one library or another breaks in one mode is too broad to answer without the specific code.

Zig Mandel
  • 19,571
  • 5
  • 26
  • 36
  • Thank you @Zig Mandel. I totally missed the reference to the HtmlService restrictions link you provided. A simple change to the jQuery UI library (ensuring it was **https**) solved my issue - autocomplete now works in iFrame. Much appreciated. – beano Jul 19 '15 at 01:01