반응형

전체 글 493

Apps Script로 Google Sheets에서 보고서 양식의 조회저장 기능 구현

요구사항으로 Google Sheets 를 통해 보고서 형식의 조회/입력 양식 개발건이 들어왔다. 조회는 원래 문서번호에 dropdown을 생성하여 변경 시 조회하도록 구성하였으나, Trigger의 속도가 느려, 문서 번호를 Sidebar에서 선택하는 방식으로 수정하였다. 조회 시 : BigQuery에서 데이터를 select 한 후 각각의 셀에 값 할당. 저장 시 : 조회할 영역별로 데이터를 저장. // 미팅목적 const meetingInfo = sheet.getRange("E13:BY15").getValues(); insert query문을 string으로 생성하여 저장하도록 구한함 // 미팅목적 for (i in meetingInfo) { valueText += meetingInfo[i][0] + '..

GCP/Apps Script 2022.10.11

Apache JMeter 부하테스트 (2018)

바야흐로 2018년. 비트코인 1차 wave가 지나고, 신규 암호화폐 거래소 오픈 전 부하테스트를 진행한 경험 Test Plan --Thread Group ----HTTP Cookie Manager Name/Value/Domain/Path/Secure ----CSV Data Set Config Filename/VariableName/Delimiter ----Once Only Controller ------HTTP Request protocol = http/https server name or ip port method path (parameter 를 받고싶을경우 HTTP Request에서 Add) Reqular Experssion Extractor Name/ReqularExpression/Tmplate/..

Study 2022.10.05

Power Apps와 Power Automate를 이용해 Azure Blob Storage의 PDF파일 Viewer로 보여주기

Power Apps에서 기본제공하는 PDF Viewer 컴포넌트를 사용해, 등록한 PDF 파일을 보여주려고한다. Azure Blob Storage에서 파일의 URL을 찾아, 해당 컴포넌트에서 불려오려고 하니 정상적으로 가져오지를 못했다. 그래서 아래와 같이 Power Automate를 이용해 가져와야 했다. Reference Real World PowerApps - How to view SharePoint PDF's in PowerApps (with some help from Flow) Real World PowerApps - How to view SharePoint PDF's in PowerApps (with some help from Flow) In this video Daniela (citizen ..

Azure 2022.09.29

Power Apps를 이용해 Upload Template 설정하기

Power Apps를 이용해 Azure Blob Storage를 연결했다. 이제 Power Apps 에서 파일 업로드를 해본다. 근데 컴포넌트에서 아무리 찾아도 file upload 를 못찾겟다.... 그래서 아래와 같은 방법으로 진행했다. Reference Power Apps File Upload Power Apps File Upload Das ist die englische Version des Artikels. Die deutsche Version findet ihr hier: In this article I summarize my experiences and network research on the subject of file uploads in Power Apps Canvas… stefanri..

Azure 2022.09.29

Power Apps를 이용해 Azure Blob Storage 에 연결하기

1. Add Azure Blob Storage connection 사용할 Azure Blob Storage 를 연결하는 작업 [데이터] → [검색] → [Azure Blob Storage] 2. Azure Blob Storage 리스트 가져오기 2.1. 세로 갤러리 생성 (예시) 2.2. Blob Storage 연결 [속성] → [데이터 원본] 2.3. Container 연결 2.4. 레이아웃 설정 보여줄 레이아웃을 선택 Container 가져오기 datasheet.ListRootFolderV2().value Container 하위 Directory 가져오기 datasheet.ListFolderV2(container_name.Selected.Id).value Directory 하위 파일 가져오기 data..

Azure 2022.09.29

Apps Script로 JDBC를 이용해 Oracle 데이터 가져오기

Apps Script에서 JDBC를 이용해 Oracle 에 접근해 데이터를 가져와 본다. jdbc만 변경하면 mysql, mssql 등도 접근이 가능하다.` // Replace the variables in this block with real values. const address = 'ip'; const port = 'port'; const user = 'user'; const userPwd = 'password'; const db = 'db'; // Read up to 1000 rows of data from the table and log them. function readFromTable() { const dbUrl = `jdbc:oracle:thin:@${address}:${port}:${db..

GCP/Apps Script 2022.09.19

Apps Script로 간단한 웹페이지 배포하기

Apps Script로 간단한 웹페이지를 생성 할 수 있다. 이 웹페이지에서 Bigquery, Database, Google sheets로 데이터를 입력(입력)할 수 있다. Simple Trigger인 doGet()를 이용한다. function doGet(e) { return HtmlService.createTemplateFromFile("form").evaluate() .setTitle("WebApp Form Toggle-Show-Hide Password") .addMetaTag('viewport', 'width=device-width, initial-scale=1') .setXFrameOptionsMode(HtmlService.XFrameOptionsMode.ALLOWALL); } 위 코드는 별도의 ..

GCP/Apps Script 2022.09.19
반응형