|
1 |
| -/** |
2 |
| - * Copyright 2022 Google LLC |
3 |
| - * |
4 |
| - * Licensed under the Apache License, Version 2.0 (the "License"); |
5 |
| - * you may not use this file except in compliance with the License. |
6 |
| - * You may obtain a copy of the License at |
7 |
| - * |
8 |
| - * http://www.apache.org/licenses/LICENSE-2.0 |
9 |
| - * |
10 |
| - * Unless required by applicable law or agreed to in writing, software |
11 |
| - * distributed under the License is distributed on an "AS IS" BASIS, |
12 |
| - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
13 |
| - * See the License for the specific language governing permissions and |
14 |
| - * limitations under the License. |
15 |
| - */ |
| 1 | +/* |
| 2 | +Copyright 2022 Google LLC |
| 3 | +Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +you may not use this file except in compliance with the License. |
| 5 | +You may obtain a copy of the License at |
| 6 | + https://www.apache.org/licenses/LICENSE-2.0 |
| 7 | +Unless required by applicable law or agreed to in writing, software |
| 8 | +distributed under the License is distributed on an "AS IS" BASIS, |
| 9 | +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 10 | +See the License for the specific language governing permissions and |
| 11 | +limitations under the License. |
| 12 | +*/ |
16 | 13 |
|
17 |
| -// To learn how to use this script, refer to the video: https://youtu.be/Utl57R7I2Cs |
| 14 | +/* |
| 15 | +This function will create a new folder in the defined Shard Drive. |
| 16 | +You define the Shared Drive by adding its ID on line number 26. |
| 17 | +The parameter 'project' is passed in from the AppSheet app. |
| 18 | +Please watch this video tutorial to see how to use this script: https://youtu.be/Utl57R7I2Cs |
| 19 | +*/ |
18 | 20 |
|
19 |
| -/** |
20 |
| - * This function will create a new folder in the defined Shard Drive. You define |
21 |
| - * the Shared Drive by adding its ID on line number 28. The parameter `project` |
22 |
| - * is passed in from the AppSheet app. Please watch this video tutorial to see |
23 |
| - * how to use this script: https://youtu.be/Utl57R7I2Cs. |
24 |
| - */ |
25 | 21 | function createNewFolder(project) {
|
26 | 22 | const folder = Drive.Files.insert(
|
27 | 23 | {
|
|
0 commit comments