Google Sheets allows you to protect the contents of your Google worksheet using Protected Sheets and Protected Ranges.

Appsheet is not aware of and does nothing special for Google Sheets having Protected Sheets or Protected Ranges.

  1. Appsheet is not aware of the presence of Protected Sheets or Protected Ranges in your Google worksheets.

  2. Appsheet does nothing to enforce the rules defined for the Protected Sheets or Protected Ranges in your worksheets. Google Sheets does all such enforcement.

  3. Appsheet always updates entire rows of a worksheet. It does nothing to avoid updating cells contained in a Protected Range. For example, if your worksheet contains five cells per row of which two are in a Protected Range, Appsheet will update all five cells. This may lead to update errors as described below.

Update Errors for Worksheets Having Protected Ranges

Appsheet may encounter update errors if your Google worksheet contains a Protected Range depending on how you set the permissions of that Protected Range and how you set the Access Mode in your Appsheet application.

We recommend that you set Access Mode to "as app creator" and define all Protected Ranges in your Google worksheet to allow update by the app creator. This will ensure that Appsheet can update your worksheet regardless of which of your users makes updates through your application. In this case, Appsheet performs all updates under the identity of the app creator and the Protected Ranges in your Google worksheet will permit those updates. You can use the Editable if feature of Appsheet to control which fields your users can update.

If you set Access Mode to "as app user", you may encounter update errors when your user makes a update through your Appsheet application. This may occur when Appsheet attempts to apply the change to your worksheet by updating all cells in the affected worksheet row. An update error will occur if the affected row contains one or more cells in a Protected Range and that user does not have permission to update those cells. This will occur even if the user is only updating values outside the Protected Range because Appsheet updates the entire row.

Did this answer your question?