{"id":79643,"date":"2020-01-14T09:00:00","date_gmt":"2020-01-14T00:00:00","guid":{"rendered":"https:\/\/support.questetra.com\/?p=79643"},"modified":"2022-06-01T16:31:49","modified_gmt":"2022-06-01T07:31:49","slug":"google-drive-file-copy","status":"publish","type":"post","link":"https:\/\/support.questetra.com\/en\/addons\/google-drive-file-copy\/","title":{"rendered":"Google Drive: Copy File"},"content":{"rendered":"<div class=\"su-note\"  style=\"border-color:#e5e54c;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:#FFFF66;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\">\n<h3><i class=\"fal fa-exclamation-circle\"><\/i> PAGE UPDATED<\/h3>\n<div style=\"text-align: center;\"><i class=\"fal fa-truck fa-lg\"><\/i> <a href=\"https:\/\/support.questetra.com\/en\/addons\/google-drive-file-copy-2021\/\">https:\/\/support.questetra.com\/addons\/google-drive-file-copy-2021\/<\/a><\/div>\n<\/div><\/div>\n\n\n\n<div class=\"su-box su-box-style-soft\" id=\"\" style=\"border-color:#cc66cc;border-radius:0px;max-width:none\"><div class=\"su-box-title\" style=\"background-color:#ff99ff;color:#000000;border-top-left-radius:0px;border-top-right-radius:0px\">Google Drive: Copy File<\/div><div class=\"su-box-content su-u-clearfix su-u-trim\" style=\"border-bottom-left-radius:0px;border-bottom-right-radius:0px\">Creates a copy of a file in a chosen Folder<!-- helpPageUrl \u304c\u30b5\u30dd\u30fc\u30c8\u30b5\u30a4\u30c8\u5916\u306a\u3089\u3001\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3092\u5916\u3059\n<br><a href=\"https:\/\/support.questetra.com\/en\/addons\/google-drive-file-copy\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/support.questetra.com\/addons\/google-drive-file-copy\/<\/a> --><br><span style=\"float: right;\">2020-01-10 (C) Questetra, Inc. (MIT License)<\/span><\/div><\/div>\n\n\n\n<div class=\"su-spoiler su-spoiler-style-modern-light su-spoiler-icon-plus-square-1\" data-anchor=\"configs\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Configs<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\"><ul class=\"fa-ul\">\n<li><span class=\"fa-li\"><i class=\"fal fa-caret-square-down fa-lg\"><\/i><\/span> C1: OAuth2 Config Name<span style=\"color:#990000;\"> *<\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"fal fa-pen-square fa-lg\"><\/i><\/span> C2: Source File ID<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"> <sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"fal fa-pen-square fa-lg\"><\/i><\/span> C3: Folder ID to store (When empty, create in origin folder)<span style=\"color:#000099;\"> <sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"fal fa-pen-square fa-lg\"><\/i><\/span> C4: New File Name (When empty, named automatically)<span style=\"color:#000099;\"> <sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"fal fa-caret-square-down fa-lg\"><\/i><\/span> C5: STRING DATA for New File ID<\/li>\n<li><span class=\"fa-li\"><i class=\"fal fa-caret-square-down fa-lg\"><\/i><\/span> C6: STRING DATA for New File Viewing URL<\/li>\n<\/ul><\/div><\/div>\n\n\n<div class=\"su-spoiler su-spoiler-style-modern-light su-spoiler-icon-plus-square-1 su-spoiler-closed\" data-anchor=\"script\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Script (click to open)<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>\nmain();\nfunction main(){\n  \/\/\/\/ == Config Retrieving \/ \u5de5\u7a0b\u30b3\u30f3\u30d5\u30a3\u30b0\u306e\u53c2\u7167 ==\n  const oauth2 = configs.get( &quot;OAuth2&quot; ) + &quot;&quot;;\n  const fileId = configs.get( &quot;SourceFileId&quot; ) + &quot;&quot;;\n  const folderId = configs.get( &quot;FolderId&quot; ) + &quot;&quot;;\n  const saveIdData = configs.get( &quot;DataForId&quot; ) + &quot;&quot;;\n  const saveUrlData = configs.get( &quot;DataForUrl&quot; ) + &quot;&quot;;\n  const newFileName = configs.get( &quot;NewFileName&quot; ) + &quot;&quot;;\n\n  if(fileId === &quot;&quot; || fileId === null){\n    throw &quot;No Source File ID&quot;;\n  }\n\n  \/\/\/\/ == Calculating \/ \u6f14\u7b97 ==\n  const token  = httpClient.getOAuth2Token( oauth2 );\n\n  \/\/ preparing for API Request\n  let apiRequest = httpClient.begin(); \/\/ HttpRequestWrapper\n  \/\/ com.questetra.bpms.core.event.scripttask.HttpClientWrapper\n\n  \/\/ Request HEADER (OAuth2 Token, HTTP Basic Auth, etc)\n\n  apiRequest = apiRequest.bearer( token );\n\n  \/\/ Request PATH (https:\/\/example.com\/abc\/def\/)\n  let apiUri = &quot;https:\/\/www.googleapis.com\/drive\/v3\/files\/&quot;;\n    apiUri += fileId;\n    apiUri += &quot;\/copy&quot;;\n\n  \/\/ Request QUERY (?a=b)\n  apiRequest = apiRequest.queryParam( &quot;supportsTeamDrives&quot;, true );\n  apiRequest = apiRequest.queryParam( &quot;fields&quot;, &quot;id,webViewLink&quot; );\n  \/\/ Request BODY (JSON, Form Parameters, etc)\n  let requestObj = {};\n    requestObj.parents = [];\n  \n  if(folderId !== &quot;&quot; && folderId !== null){\n    requestObj.parents[0] = folderId;\n  }\n    \n  if ( newFileName !== &quot;&quot; && newFileName !== null ){ \n    requestObj.name = newFileName;\n  }\n  apiRequest = apiRequest.body( JSON.stringify( requestObj ), &quot;application\/json&quot; );\n\n  \/\/ Access to the API (POST, GET, PUT, etc)\n  let response = apiRequest.post( apiUri ); \/\/ HttpResponseWrapper\n  const httpStatus = response.getStatusCode() + &quot;&quot;;\n  let accessLog = &quot;---POST request--- &quot; + httpStatus + &quot;\\n&quot;;\n  accessLog += response.getResponseAsString() + &quot;\\n&quot;;\n  if (httpStatus &gt;= 300) {\n    const error = &quot;Failed to copy \\n status:&quot; + httpStatus + &quot;\\n&quot; + response.getResponseAsString();\n    throw error;\n  }\n  const responseObj = JSON.parse( response.getResponseAsString() );\n\n  \/\/ Retrieve Properties from Response-JSON\n  const newFileId = responseObj.id;\n  const newFileUrl = responseObj.webViewLink;\n  \/\/ Error Handling\n  \/\/ (no set)\n\n  \/\/\/\/ == Data Updating \/ \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u3078\u306e\u4ee3\u5165 ==\n  if ( saveIdData !== &quot;&quot; ){ engine.setDataByNumber( saveIdData, newFileId ); }\n  if ( saveUrlData !== &quot;&quot; ){ engine.setDataByNumber( saveUrlData, newFileUrl ); }\n  engine.log(accessLog);\n}\n<\/code><\/pre><\/div>\n\n\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image alignright\"><img decoding=\"async\" src=\"data:image;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAADLUlEQVRYR2NkYGBgZBhAALJ81AFE\nhUBmYabNj19\/dglzM7ERirGerpkshNTA5ImOgvTClGu\/fjEq5AfeYdeX+YrT0cv2S3y69kjgVGv7\nIjdiHEGUAzKK0nKf8X9peyz5ntv5jty\/7qTzTPgML51n+O\/rbyaH6f3TjxByBFEOSMxO\/XZB\/wnH\nd6k\/DGpnRb82WT\/nwhcKF59w\/5++VfnmzP45WhQ7IL0wdfZzga8Rt4xfc4MM43zGwkBMKICi4vBt\nidoZfbMm43ME3hAAJbx\/DL9nHXR+qAEzBOQA2eeCBEMBpD5psv6P+VNnc5HtgOrKuF2XOf5YwnyP\n7oiN4XfAoYILEJMgcYYAyPdPBT5uR7ccFg2gUAgX+\/I3yvEFHyUJEqcDQNnulOZTDVDCQwegaAAB\ng4syPwhlS1CCXL1Xdi+ubInVAbBsh833yNEAcgAb2\/8HM9IvwdMIttDAlyAxHIAt4WEzFJQdJT9w\nrwDJ2am9DMUXFfiyJYYD0LMdNstBUQDyPSyFg8qJebkXOQglyEO3xFfP7J+diqwOxQGk+F7qI08V\nLI+DosxW9UUzoQQJypYcbCxuyCUkigPwJTzkuDe7Ln0DvZQD6c30vqtOqIRET5BwBxCT8ECOsN8r\nf4OJgTUNvZyHhR6pCRLuAOTyHldcwhIeejzC1IPSDyhBBuvu42MXwV4NoGdLsAOISXj4fA9zACwU\nJgavwJktQQ4DZUtYgoQ6AHehAzMc5HvhV9zM\/xkl\/uFL7SA5xv8vmAg1XD7\/\/nsLlI7ADiAm\/i23\nK\/y48ywQnNXY9S0ZePlx1zGfP37D60aZN33fONheVoJyETwN4MsBIN+\/vxADrngIWU4odDjeH\/vP\n93kpvK0AdwCszXfc8wFKgQKyXOi1MuPdp5ZclFoOchz\/3ZZvnKxvPGC5CK0cwGx8gEo8UNBTw3KI\n75fNQ85FGEUxLDvCajtqWQ5KF8ofSzEKMAwHwBIkyAGgoH8iUsSFL8ERinOYPCjoYQkPZ12AKFBS\nrj0X+Cb77f9UbmpYjp7wCDoAlCC\/\/xbZQazviFGHnPAIOoAYA6mlhqh+AbUsw2bOgDsAAHEO2FDM\n6\/Q2AAAAAElFTkSuQmCC\" alt=\"\"\/><\/figure>\n\n\n<div class=\"su-divider su-divider-style-dashed\" style=\"margin:30px 0;border-width:8px;border-color:#009900\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-cloud-download-alt\"><\/i> Download<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/raw.githubusercontent.com\/Questetra\/Addon-XML\/release-2020-01-14\/google-drive-file-copy.xml\" target=\"_blank\" rel=\"noopener noreferrer\">google-drive-file-copy.xml<\/a><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-images\"><\/i> Capture<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"84005\" data-permalink=\"https:\/\/support.questetra.com\/en\/bpmn-icons\/onedrive-file-upload\/attachment\/setting-service-task-pdf-generation-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/01\/setting-service-task-pdf-generation-en.png?fit=959%2C833&amp;ssl=1\" data-orig-size=\"959,833\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"setting-service-task-pdf-generation-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/01\/setting-service-task-pdf-generation-en.png?fit=725%2C630&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/01\/gdrive-copy-file.png?ssl=1\" alt=\"\" class=\"wp-image-84005\" style=\"border:10px solid #aaaaaa; padding:5px; margin:5px;\"><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-lightbulb-exclamation\"><\/i> Notes<\/h3>\n\n\n\n<ol class=\"wp-block-list\"><li>No way to save a copy to &#8220;My Drive&#8221;<\/li><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-balance-scale\"><\/i> See also<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/support.questetra.com\/en\/addons\/google-drive-gfile-export-as-pdf\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Google Drive: GFile; Export as PDF(opens in a new tab)\">Google Drive: GFile; Export as PDF<\/a><\/li><li><a href=\"https:\/\/support.questetra.com\/en\/bpmn-icons\/intermediate-error-catch-event-boundary-type\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Intermediate Error Catch Event (Boundary Type)\n(opens in a new tab)\">Intermediate Error Catch Event (Boundary Type)<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Creates a copy of a file into the Folder<\/p>\n","protected":false},"author":5,"featured_media":79644,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_uag_custom_page_level_css":"","advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"{title}\n\n{excerpt}\n\n{url}","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[168],"tags":[],"class_list":["post-79643","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-addons"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Drive-File-Copy-en.png?fit=1200%2C675&ssl=1","uagb_featured_image_src":{"full":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Drive-File-Copy-en.png?fit=1200%2C675&ssl=1",1200,675,false],"thumbnail":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Drive-File-Copy-en.png?resize=440%2C440&ssl=1",440,440,true],"medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Drive-File-Copy-en.png?fit=560%2C315&ssl=1",560,315,true],"medium_large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Drive-File-Copy-en.png?fit=768%2C432&ssl=1",768,432,true],"large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Drive-File-Copy-en.png?fit=1024%2C576&ssl=1",1024,576,true],"1536x1536":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Drive-File-Copy-en.png?fit=1200%2C675&ssl=1",1200,675,true],"2048x2048":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Drive-File-Copy-en.png?fit=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Drive-File-Copy-en.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-portrait-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Drive-File-Copy-en.png?resize=900%2C675&ssl=1",900,675,true],"newspack-article-block-square-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Drive-File-Copy-en.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Drive-File-Copy-en.png?resize=800%2C600&ssl=1",800,600,true],"newspack-article-block-portrait-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Drive-File-Copy-en.png?resize=600%2C675&ssl=1",600,675,true],"newspack-article-block-square-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Drive-File-Copy-en.png?resize=800%2C675&ssl=1",800,675,true],"newspack-article-block-landscape-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Drive-File-Copy-en.png?resize=600%2C450&ssl=1",600,450,true],"newspack-article-block-portrait-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Drive-File-Copy-en.png?resize=450%2C600&ssl=1",450,600,true],"newspack-article-block-square-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Drive-File-Copy-en.png?resize=600%2C600&ssl=1",600,600,true],"newspack-article-block-landscape-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Drive-File-Copy-en.png?resize=400%2C300&ssl=1",400,300,true],"newspack-article-block-portrait-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Drive-File-Copy-en.png?resize=300%2C400&ssl=1",300,400,true],"newspack-article-block-square-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Drive-File-Copy-en.png?resize=400%2C400&ssl=1",400,400,true],"newspack-article-block-landscape-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Drive-File-Copy-en.png?resize=200%2C150&ssl=1",200,150,true],"newspack-article-block-portrait-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Drive-File-Copy-en.png?resize=150%2C200&ssl=1",150,200,true],"newspack-article-block-square-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Drive-File-Copy-en.png?resize=200%2C200&ssl=1",200,200,true],"newspack-article-block-uncropped":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Drive-File-Copy-en.png?fit=1200%2C675&ssl=1",1200,675,true]},"uagb_author_info":{"display_name":"HatanakaAkihiro","author_link":"https:\/\/support.questetra.com\/en\/author\/hatanaka-akihiro\/"},"uagb_comment_info":4,"uagb_excerpt":"Creates a copy of a file into the Folder","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9DiIh-kIz","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":67279,"url":"https:\/\/support.questetra.com\/en\/addons\/googledrive-filescopy\/","url_meta":{"origin":79643,"position":0},"title":"Google Drive Files Copy","author":"Hirotaka NISHI","date":"2017-11-26","format":false,"excerpt":"Copies a file on Google Drive and save it to the specified directory. Preparing a file to be a template and it will be a copy automatically at the Start of a new Issue. *Note You need to register Project at Google API Manager beforehand If there is no specified\u2026","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/11\/google-drive-file-copy-header.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/11\/google-drive-file-copy-header.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/11\/google-drive-file-copy-header.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/11\/google-drive-file-copy-header.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/11\/google-drive-file-copy-header.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":82966,"url":"https:\/\/support.questetra.com\/en\/addons\/google-drive-file-convert\/","url_meta":{"origin":79643,"position":1},"title":"Google Drive: File, Convert","author":"IMAMURA, Genichi","date":"2019-12-25","format":false,"excerpt":"Converts file in Google Drive and save as another MimeType file. Supports both Google Doc files and common files. File ID can be obtained from URI etc. (If Folder-ID not specified, the file will inherit any discoverable parents of the source file.)","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"Google Drive: File, Convert","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/Google-Drive-File-Convert-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/Google-Drive-File-Convert-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/Google-Drive-File-Convert-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/Google-Drive-File-Convert-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/Google-Drive-File-Convert-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":79829,"url":"https:\/\/support.questetra.com\/en\/addons\/google-docs-document-replace-all-text\/","url_meta":{"origin":79643,"position":2},"title":"Google Docs: Document; Replace All Text","author":"IMAMURA, Genichi","date":"2019-09-25","format":false,"excerpt":"Replaces all instances of text matching the specified string with replace text. The search is case sensitive. The number of replacements is output as a log. In many cases, the automated step \"Google Drive: File; Copy\" is placed upstream.","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Docs-Document-Replace-All-Text-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Docs-Document-Replace-All-Text-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Docs-Document-Replace-All-Text-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Docs-Document-Replace-All-Text-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Docs-Document-Replace-All-Text-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":105799,"url":"https:\/\/support.questetra.com\/en\/addons\/google-drive-file-copy-2021\/","url_meta":{"origin":79643,"position":3},"title":"Google Drive #File: Copy","author":"IMAMURA, Genichi","date":"2021-04-21","format":false,"excerpt":"Creates a copy of a file and saves it in Google Drive. You can save it with any name you like. Note that the name of the file does not necessarily have to be unique within the folder.","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"Google Drive: File, Copy","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/04\/Google-Drive-File-Copy-2021-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/04\/Google-Drive-File-Copy-2021-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/04\/Google-Drive-File-Copy-2021-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/04\/Google-Drive-File-Copy-2021-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/04\/Google-Drive-File-Copy-2021-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":67268,"url":"https:\/\/support.questetra.com\/en\/addons\/googledrive-filesget\/","url_meta":{"origin":79643,"position":4},"title":"Google Drive Files Retrieve","author":"Hirotaka NISHI","date":"2017-11-20","format":false,"excerpt":"Download Drive-File and Add to file-type data (FileID via Link URL at Shareing settings Advanced) *Note You need to register Project at Google API Manager beforehand The file ID is acquired from the shared link in the detailed setting of Shared menu https:\/\/drive.google.com\/file\/d\/023W9z6__EXAMPLE__D45EFmY1E\/view Workflow-Sample 2017-11-27 (Year-end-adjustment): Episode 563: Year-end adjustment\u2026","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/11\/google-drive-files-get-header.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/11\/google-drive-files-get-header.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/11\/google-drive-files-get-header.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/11\/google-drive-files-get-header.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/11\/google-drive-files-get-header.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":79651,"url":"https:\/\/support.questetra.com\/ja\/addons\/google-drive-file-copy\/","url_meta":{"origin":79643,"position":5},"title":"Google Drive: \u30d5\u30a1\u30a4\u30eb\u30b3\u30d4\u30fc","author":"HatanakaAkihiro","date":"2020-01-14","format":false,"excerpt":"\u65e2\u5b58\u30d5\u30a1\u30a4\u30eb\u3092\u8907\u88fd\u3057\u3001\u6307\u5b9a\u30d5\u30a9\u30eb\u30c0\u306b\u65b0\u898f\u4fdd\u5b58\u3057\u307e\u3059","rel":"","context":"In &quot;\u30a2\u30c9\u30aa\u30f3&quot;","block_context":{"text":"\u30a2\u30c9\u30aa\u30f3","link":"https:\/\/support.questetra.com\/ja\/category\/addons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Drive-File-Copy-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Drive-File-Copy-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Drive-File-Copy-ja.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Drive-File-Copy-ja.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/Google-Drive-File-Copy-ja.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"amp_enabled":false,"_links":{"self":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/79643","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/comments?post=79643"}],"version-history":[{"count":13,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/79643\/revisions"}],"predecessor-version":[{"id":122535,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/79643\/revisions\/122535"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media\/79644"}],"wp:attachment":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media?parent=79643"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/categories?post=79643"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/tags?post=79643"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}