2017-10-20 1 views
0

모든/확장 파일을 웹 앱에서 Google 드라이브 선택 도구에 업로드하는 방법은 무엇인가요? 내가모든/모든 확장 파일을 Google 드라이브에 업로드하는 방법

mimeTypes: "image/png,image/jpeg,image/jpg,application/pdf,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/msword,application/msword", 

을 허용 한

나는 킹 소프트 파일 (XLSX) 당신은 단지 mimeTypes 속성을 제거해야하고 다음의 파일을 업로드 할 수

function initPicker() { 
    return { 
    locale: 'en', 
    token: ScriptApp.getOAuthToken(), 
    origin: "https://script.google.com", 
    parentFolder: "0B0Oj_1v-CAzNYmFMRkVUZjd0aHM", 
    developerKey: "AIzaSyBno-75vfzpW0hnBfagPrU1o5PxZ1yc8C8", 
    dialogDimensions: { 
     width: 600, 
     height: 425 
    }, 
    picker: { 
     viewMode: "LIST", 
     mineOnly: true, 
     mimeTypes: "image/png,image/jpeg,image/jpg,application/pdf,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/msword,application/msword", 
     multiselectEnabled: true, 
     allowFolderSelect: true, 
     navhidden: true, 
     hideTitle: true, 
     includeFolders: true, 
    } 
    }; 
} 
+0

설정하지 않으셨습니까? –

+0

거의, 네, 업로드 할 수 있습니다 MS office 파일 – KiKu

+0

그래서 ... 그게 당신의 문제를 해결합니까? –

답변

1

을 업로드 할 수 없습니다입니다 어떤 유형.

picker: { 
     viewMode: "LIST", 
     mineOnly: true, 
     multiselectEnabled: true, 
     allowFolderSelect: true, 
     navhidden: true, 
     hideTitle: true, 
     includeFolders: true, 
    } 
관련 문제