1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-06-02 23:27:50 +02:00
Vitaly the Alpaca (bot) d2f88b4a8e Main build (Jenkins)
2024-09-29 17:35:23 +03:00

1.2 KiB

sidebar_position
sidebar_position
3

Copy sheet

Copies a sheet from one spreadsheet to another

Function CopySheet(Val Token, Val From, Val Target, Val Sheet) Export

Parameter CLI option Type Description
Token --token String Token
From --from String Source spreadsheet ID
Target --to String Destination spreadsheet ID
Sheet --sheet String CopiedSheetID

Returns: Map Of KeyAndValue - serialized JSON response from Google


    Token  = "ya29.a0AcM612wLdbBK14FR2SE0d3WHabYb8Xtppm0oKCcbVrecgsA-a5DfsgZ29stOw4hu84F_IpHbKTJocsm1WpjLQPBT5MJ6p8D7H1PKa_iT0...";
    From   = "1MvjT6qO5jQzS0O1o33GVv4ui59dIeDkdY8QLR6z5k9o";
    Target = "1dBdQ9ddY6RDhzSrQ3xvab8rwrvXLEzNI-VHDY5gloao";
    Sheet  = "934061197";

    Result = OPI_GoogleSheets.CopySheet(Token, From, Target, Sheet);
    
  oint gsheets CopySheet --token %token% --from "1Pu07Y5UiGVfW4fqfP7tcSQtdSX_2wdm2Ih23zlxJJwc" --to "1tPDQHmduH9NASRhy0I-a6--ebNNJ5A6wXhhTRcNhD7s" --sheet "25093199"