From 16cd85813931d833b11cbed059e51ced7ba4db30 Mon Sep 17 00:00:00 2001 From: Mick Stanciu Date: Thu, 17 Aug 2023 11:46:37 +1000 Subject: [PATCH] INTG-2972 add unique_id for issues feed (#48) * INTG-2972 add unique_id for issues feed * INTG-2972 add unique_id for issues feed * INTG-2972 add unique_id for issues feed --- README.md | 9 ++++++--- SafetyCulture.pq | 3 ++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b49b0fb..b950c84 100644 --- a/README.md +++ b/README.md @@ -53,9 +53,12 @@ Empty “groups” and “users” tables could mean that you don’t have the - [TripPin Tutorial](https://docs.microsoft.com/en-us/power-query/samples/trippin/readme) is a great starting point to understand how to create a new data source extension for Power Query. ### Testing locally - -- Open the project in Visual Studio Code. -- Build the project. +- Open the project in Visual Studio Code (Windows). +- In PowerShell Admin: + - Set-ExecutionPolicy RemoteSigned + - del .\build\ + - del .\MakePQX_Release\ + - Build the project (execute `\build.ps1`). - Copy `bin\AnyCPU\Debug\SafetyCulture-Power-Query-Connector.mez` into `[My Documents]\Power BI Desktop\Custom Connectors` directory. - Enable the `Custom data connectors` preview feature in Power BI Desktop (under `File > Options and settings > Custom data connectors`). - Open Power BI Desktop. diff --git a/SafetyCulture.pq b/SafetyCulture.pq index 56a38df..867ee31 100644 --- a/SafetyCulture.pq +++ b/SafetyCulture.pq @@ -365,7 +365,8 @@ IssueType = type table [ category_label = nullable text, modified_at = nullable datetimezone, completed_at = nullable datetimezone, - asset_id = nullable text + asset_id = nullable text, + unique_id = nullable text ]; IssueTimelineItemType = type table [