From 7bda0cc727a9a2a8bc36c17ee4915bf14850f3d5 Mon Sep 17 00:00:00 2001
From: Manuel <manuel.geyer@rbb-online.de>
Date: Mon, 8 Jan 2024 09:48:43 +0000
Subject: [PATCH] Commit

---
 fluentui-ard/CanvasManifest.json            |  2 +-
 fluentui-ard/Connections/Connections.json   | 62 ++++++++---------
 fluentui-ard/Entropy/AppCheckerResult.sarif | 75 +++++++++++++++++----
 fluentui-ard/Entropy/Entropy.json           |  6 +-
 fluentui-ard/Entropy/checksum.json          | 20 +++---
 fluentui-ard/Src/Screen1.fx.yaml            |  2 +-
 6 files changed, 109 insertions(+), 58 deletions(-)

diff --git a/fluentui-ard/CanvasManifest.json b/fluentui-ard/CanvasManifest.json
index 64bd46b..59a06d3 100644
--- a/fluentui-ard/CanvasManifest.json
+++ b/fluentui-ard/CanvasManifest.json
@@ -98,7 +98,7 @@
       "zeroalltabindexes": false
     },
     "Author": "",
-    "BindingErrorCount": 0,
+    "BindingErrorCount": 1,
     "ContainsThirdPartyPcfControls": false,
     "DefaultConnectedDataSourceMaxGetRowsCount": 500,
     "DocumentAppType": "Phone",
diff --git a/fluentui-ard/Connections/Connections.json b/fluentui-ard/Connections/Connections.json
index 37ab450..7c86383 100644
--- a/fluentui-ard/Connections/Connections.json
+++ b/fluentui-ard/Connections/Connections.json
@@ -1,5 +1,33 @@
 {
-  "2063710a-2d8c-4b1c-8e1e-48d3eec7f01a": {
+  "2eafaae1-0e83-4233-9cb8-428d9f4e9a89": {
+    "connectionRef": {
+      "displayName": "Azure-openai-connector",
+      "iconUri": "https://prodapiicons.cdn.powerappscdn.net/20231208t000000z6ddcf09938484bbb86659a4f81d8d185/customconnectoricon.png",
+      "id": "/providers/microsoft.powerapps/apis/shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50"
+    },
+    "datasets": {},
+    "dataSources": [],
+    "dependencies": {},
+    "dependents": [
+      "9f7a3c70-de91-4f7d-a49c-546c152048d0"
+    ],
+    "id": "2eafaae1-0e83-4233-9cb8-428d9f4e9a89"
+  },
+  "87a18f1f-ceb1-4b3f-94e5-d4c949a2d6f4": {
+    "connectionRef": {
+      "displayName": "Office 365 Outlook",
+      "iconUri": "https://connectoricons-prod.azureedge.net/releases/v1.0.1669/1.0.1669.3522/office365/icon.png",
+      "id": "/providers/microsoft.powerapps/apis/shared_office365"
+    },
+    "datasets": {},
+    "dataSources": [],
+    "dependencies": {},
+    "dependents": [
+      "f5f8dd0c-8ecf-4fc7-ae09-d8d29db70e1e"
+    ],
+    "id": "87a18f1f-ceb1-4b3f-94e5-d4c949a2d6f4"
+  },
+  "9f7a3c70-de91-4f7d-a49c-546c152048d0": {
     "connectionRef": {
       "displayName": "Logic flows",
       "iconUri": "https://connectoricons-prod.azureedge.net/releases/v1.0.1664/1.0.1664.3477/logicflows/icon.png",
@@ -26,38 +54,10 @@
       "ConnectAzureOpenai"
     ],
     "dependencies": {
-      "shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50": "ef82c142-74cb-49f0-9f34-cbd1bd7cf663"
+      "shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50": "2eafaae1-0e83-4233-9cb8-428d9f4e9a89"
     },
     "dependents": [],
-    "id": "2063710a-2d8c-4b1c-8e1e-48d3eec7f01a"
-  },
-  "87a18f1f-ceb1-4b3f-94e5-d4c949a2d6f4": {
-    "connectionRef": {
-      "displayName": "Office 365 Outlook",
-      "iconUri": "https://connectoricons-prod.azureedge.net/releases/v1.0.1669/1.0.1669.3522/office365/icon.png",
-      "id": "/providers/microsoft.powerapps/apis/shared_office365"
-    },
-    "datasets": {},
-    "dataSources": [],
-    "dependencies": {},
-    "dependents": [
-      "f5f8dd0c-8ecf-4fc7-ae09-d8d29db70e1e"
-    ],
-    "id": "87a18f1f-ceb1-4b3f-94e5-d4c949a2d6f4"
-  },
-  "ef82c142-74cb-49f0-9f34-cbd1bd7cf663": {
-    "connectionRef": {
-      "displayName": "Azure-openai-connector",
-      "iconUri": "https://prodapiicons.cdn.powerappscdn.net/20231208t000000z6ddcf09938484bbb86659a4f81d8d185/customconnectoricon.png",
-      "id": "/providers/microsoft.powerapps/apis/shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50"
-    },
-    "datasets": {},
-    "dataSources": [],
-    "dependencies": {},
-    "dependents": [
-      "2063710a-2d8c-4b1c-8e1e-48d3eec7f01a"
-    ],
-    "id": "ef82c142-74cb-49f0-9f34-cbd1bd7cf663"
+    "id": "9f7a3c70-de91-4f7d-a49c-546c152048d0"
   },
   "f5f8dd0c-8ecf-4fc7-ae09-d8d29db70e1e": {
     "connectionRef": {
diff --git a/fluentui-ard/Entropy/AppCheckerResult.sarif b/fluentui-ard/Entropy/AppCheckerResult.sarif
index 4bc28b1..d58f517 100644
--- a/fluentui-ard/Entropy/AppCheckerResult.sarif
+++ b/fluentui-ard/Entropy/AppCheckerResult.sarif
@@ -9,6 +9,43 @@
         }
       ],
       "results": [
+        {
+          "locations": [
+            {
+              "logicalLocations": [
+                {
+                  "fullyQualifiedName": "Screen1.ConSend.send1.OnSelect"
+                }
+              ],
+              "physicalLocation": {
+                "address": {
+                  "fullyQualifiedName": "Screen1.ConSend.send1.OnSelect",
+                  "relativeAddress": 0
+                },
+                "region": {
+                  "charLength": 8,
+                  "charOffset": 153,
+                  "snippet": {
+                    "text": ".message"
+                  }
+                }
+              },
+              "properties": {
+                "member": "OnSelect",
+                "module": "Screen1",
+                "type": "Screen1.ConSend.send1"
+              }
+            }
+          ],
+          "message": {
+            "id": "issue"
+          },
+          "properties": {
+            "level": "High"
+          },
+          "ruleId": "app-ErrInvalidDot",
+          "ruleIndex": 0
+        },
         {
           "locations": [
             {
@@ -36,7 +73,7 @@
             "level": "Low"
           },
           "ruleId": "acc-ReadableScreenNameNeeded",
-          "ruleIndex": 0
+          "ruleIndex": 1
         },
         {
           "locations": [
@@ -66,7 +103,7 @@
             "level": "Medium"
           },
           "ruleId": "acc-TabIndexShouldBeDefinedForInteractiveControl",
-          "ruleIndex": 1
+          "ruleIndex": 2
         },
         {
           "locations": [
@@ -96,7 +133,7 @@
             "level": "Medium"
           },
           "ruleId": "acc-FocusBorderShouldBeVisible",
-          "ruleIndex": 2
+          "ruleIndex": 3
         },
         {
           "locations": [
@@ -126,7 +163,7 @@
             "level": "Medium"
           },
           "ruleId": "acc-AccessibleLabelNeeded",
-          "ruleIndex": 3
+          "ruleIndex": 4
         },
         {
           "locations": [
@@ -156,7 +193,7 @@
             "level": "Low"
           },
           "ruleId": "acc-TabOrderShouldBeChecked",
-          "ruleIndex": 4
+          "ruleIndex": 5
         },
         {
           "locations": [
@@ -186,7 +223,7 @@
             "level": "Medium"
           },
           "ruleId": "acc-FocusBorderShouldBeVisible",
-          "ruleIndex": 2
+          "ruleIndex": 3
         },
         {
           "locations": [
@@ -216,7 +253,7 @@
             "level": "Medium"
           },
           "ruleId": "acc-HelpfulControlSettingNeeded",
-          "ruleIndex": 5
+          "ruleIndex": 6
         },
         {
           "locations": [
@@ -246,7 +283,7 @@
             "level": "Medium"
           },
           "ruleId": "acc-AccessibleLabelNeeded",
-          "ruleIndex": 3
+          "ruleIndex": 4
         },
         {
           "locations": [
@@ -276,7 +313,7 @@
             "level": "Low"
           },
           "ruleId": "acc-TabOrderShouldBeChecked",
-          "ruleIndex": 4
+          "ruleIndex": 5
         },
         {
           "locations": [
@@ -306,7 +343,7 @@
             "level": "Medium"
           },
           "ruleId": "acc-AccessibleLabelNeeded",
-          "ruleIndex": 3
+          "ruleIndex": 4
         },
         {
           "locations": [
@@ -336,7 +373,7 @@
             "level": "Low"
           },
           "ruleId": "acc-TabOrderShouldBeChecked",
-          "ruleIndex": 4
+          "ruleIndex": 5
         },
         {
           "locations": [
@@ -366,7 +403,7 @@
             "level": "Medium"
           },
           "ruleId": "app-UnusedMediaResources",
-          "ruleIndex": 6
+          "ruleIndex": 7
         }
       ],
       "tool": {
@@ -374,6 +411,20 @@
           "fullName": "PowerApps app checker",
           "name": "PowerApps app checker",
           "rules": [
+            {
+              "id": "app-ErrInvalidDot",
+              "messageStrings": {
+                "issue": {
+                  "text": "Invalid use of '.'"
+                }
+              },
+              "properties": {
+                "componentType": "app",
+                "level": "High",
+                "primaryCategory": "formula",
+                "whyFix": ""
+              }
+            },
             {
               "id": "acc-ReadableScreenNameNeeded",
               "messageStrings": {
diff --git a/fluentui-ard/Entropy/Entropy.json b/fluentui-ard/Entropy/Entropy.json
index 47aec05..8b52102 100644
--- a/fluentui-ard/Entropy/Entropy.json
+++ b/fluentui-ard/Entropy/Entropy.json
@@ -21,12 +21,12 @@
   },
   "FunctionParamsInvariantScripts": {},
   "FunctionParamsInvariantScriptsOnInstances": {},
-  "HeaderLastSavedDateTimeUTC": "01/08/2024 09:21:37",
+  "HeaderLastSavedDateTimeUTC": "01/08/2024 09:48:43",
   "IsLegacyComponentAllowGlobalScopeCase": false,
   "LocalConnectionIDReferences": {
-    "2063710a-2d8c-4b1c-8e1e-48d3eec7f01a": "\"/providers/Microsoft.PowerApps/apis/shared_logicflows/connections/EC84356E395FAA1B0FDF1C7E126B562E-C1654A69E558FC9F\"",
+    "2eafaae1-0e83-4233-9cb8-428d9f4e9a89": "\"/providers/microsoft.powerapps/apis/shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50/connections/shared-azure-2dopena-3f4cdc89-63b5-4018-882d-1f1c97eb18e0\"",
     "87a18f1f-ceb1-4b3f-94e5-d4c949a2d6f4": "\"/providers/microsoft.powerapps/apis/shared_office365/connections/shared-office365-691d88fb-dc12-4d7f-afc5-caaebbf651d6\"",
-    "ef82c142-74cb-49f0-9f34-cbd1bd7cf663": "\"/providers/microsoft.powerapps/apis/shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50/connections/shared-azure-2dopena-3f4cdc89-63b5-4018-882d-1f1c97eb18e0\"",
+    "9f7a3c70-de91-4f7d-a49c-546c152048d0": "\"/providers/Microsoft.PowerApps/apis/shared_logicflows/connections/EC84356E395FAA1B0FDF1C7E126B562E-C1654A69E558FC9F\"",
     "f5f8dd0c-8ecf-4fc7-ae09-d8d29db70e1e": "\"/providers/microsoft.powerapps/apis/shared_logicflows/connections/38d6e5b5b5fa999a16ebdf0aa169572f-c1654a69e558fc9f\""
   },
   "LocalDatabaseReferencesAsEmpty": false,
diff --git a/fluentui-ard/Entropy/checksum.json b/fluentui-ard/Entropy/checksum.json
index 89c2d6a..22e4079 100644
--- a/fluentui-ard/Entropy/checksum.json
+++ b/fluentui-ard/Entropy/checksum.json
@@ -4,13 +4,13 @@
     "IsLocalBuild": false
   },
   "ClientPerFileChecksums": {
-    "AppCheckerResult.sarif": "C8_wCLOYCxv9s2XA71mwx7q63iEej3YROn1TiE5SxEUAp4=",
+    "AppCheckerResult.sarif": "C8_mNOZGZbEU47aEGUjivLhWqBNSgrfwHnOL0Cj2TeA3QM=",
     "Assets\\Images\\0001.png": "C8_D0WGiAaxVuIcUWpkdQuVcyQy/gSJZuMRDwL63zxJhAk=",
     "Assets\\Images\\0002.jpg": "C8_Tc/HGdQ62xbtBm/41G1l7DIpMm/RT0cgmhtJyanyURs=",
     "Controls\\1.json": "C8_/PwNEU6dV00x9Xr4Yt93zX1EmsxAh36PVgOdFy9WD8g=",
-    "Controls\\4.json": "C8_R1V7QVeExUHBMzRBjjUe+Cm2th0irM4a8p5QeiuvkFA=",
-    "Header.json": "C8_XoIcmm1oJDxPWSIlwxXygtzzBEOdTgkl7YxpLXyLiCc=",
-    "Properties.json": "C8_5XJcNEK89k7H8UEuiaFyFto3QqKstJYx0ybVYISbiDs=",
+    "Controls\\4.json": "C8_ZR8AuUrdM6JZTnofa6yA4b65fuX8lNJzJWPrNtGVkG8=",
+    "Header.json": "C8_DVMNmhG+G8cFKIZmDtsP+wleKeSoXHy5HYesxLUod5A=",
+    "Properties.json": "C8_XZIVThnPNJ8x/m28QeEuxIBsGzHsI2czSAzkUDerURs=",
     "References\\DataSources.json": "C8_AP4d84zlTNB1G7fOtHn8u+imLVoq5TnEksGjZu6oLIc=",
     "References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=",
     "References\\Resources.json": "C8_ZLoUoOFT2kLg+DiLhoWksOD2qshF1YGEI5V2+LGKSZ8=",
@@ -18,15 +18,15 @@
     "References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=",
     "Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs="
   },
-  "ClientStampedChecksum": "C8_YDEWYaijT/DafQnMTSv0aUjrZLzezCdts5eciRRCGCo=",
+  "ClientStampedChecksum": "C8_DPnzNbFvqcV+H7TBbg5wvNmGrCyKY5+9YbWlL+ffKCg=",
   "ServerPerFileChecksums": {
-    "AppCheckerResult.sarif": "C8_wCLOYCxv9s2XA71mwx7q63iEej3YROn1TiE5SxEUAp4=",
+    "AppCheckerResult.sarif": "C8_mNOZGZbEU47aEGUjivLhWqBNSgrfwHnOL0Cj2TeA3QM=",
     "Assets\\Images\\0001.png": "C8_D0WGiAaxVuIcUWpkdQuVcyQy/gSJZuMRDwL63zxJhAk=",
     "Assets\\Images\\0002.jpg": "C8_Tc/HGdQ62xbtBm/41G1l7DIpMm/RT0cgmhtJyanyURs=",
     "Controls\\1.json": "C8_/PwNEU6dV00x9Xr4Yt93zX1EmsxAh36PVgOdFy9WD8g=",
-    "Controls\\4.json": "C8_R1V7QVeExUHBMzRBjjUe+Cm2th0irM4a8p5QeiuvkFA=",
-    "Header.json": "C8_XoIcmm1oJDxPWSIlwxXygtzzBEOdTgkl7YxpLXyLiCc=",
-    "Properties.json": "C8_5XJcNEK89k7H8UEuiaFyFto3QqKstJYx0ybVYISbiDs=",
+    "Controls\\4.json": "C8_ZR8AuUrdM6JZTnofa6yA4b65fuX8lNJzJWPrNtGVkG8=",
+    "Header.json": "C8_DVMNmhG+G8cFKIZmDtsP+wleKeSoXHy5HYesxLUod5A=",
+    "Properties.json": "C8_XZIVThnPNJ8x/m28QeEuxIBsGzHsI2czSAzkUDerURs=",
     "References\\DataSources.json": "C8_AP4d84zlTNB1G7fOtHn8u+imLVoq5TnEksGjZu6oLIc=",
     "References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=",
     "References\\Resources.json": "C8_ZLoUoOFT2kLg+DiLhoWksOD2qshF1YGEI5V2+LGKSZ8=",
@@ -34,5 +34,5 @@
     "References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=",
     "Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs="
   },
-  "ServerStampedChecksum": "C8_YDEWYaijT/DafQnMTSv0aUjrZLzezCdts5eciRRCGCo="
+  "ServerStampedChecksum": "C8_DPnzNbFvqcV+H7TBbg5wvNmGrCyKY5+9YbWlL+ffKCg="
 }
\ No newline at end of file
diff --git a/fluentui-ard/Src/Screen1.fx.yaml b/fluentui-ard/Src/Screen1.fx.yaml
index 8e19b3b..323288c 100644
--- a/fluentui-ard/Src/Screen1.fx.yaml
+++ b/fluentui-ard/Src/Screen1.fx.yaml
@@ -242,7 +242,7 @@ Screen1 As screen:
             HoverFill: =RGBA(0, 0, 0, 0)
             Icon: =Icon.Send
             OnSelect: |-
-                =If(!IsBlank(textinput1.Text), Set(varResp, varResp & Char(13) & textinput1.Text & Char(13) & Char(13) & "GPT: " & ConnectAzureOpenai.Run(textinput1.Text)));
+                =If(!IsBlank(textinput1.Text), Set(varResp, varResp & Char(13) & textinput1.Text & Char(13) & Char(13) & "GPT: " & ConnectAzureOpenai.Run(textinput1.Text).message));
                 Reset(textinput1); 
                 Notify("ChatGPT asked", NotificationType.Success , 1000); 
             PressedBorderColor: =RGBA(0, 0, 0, 0)
-- 
GitLab