diff --git a/fluentui-ard/CanvasManifest.json b/fluentui-ard/CanvasManifest.json
index 64bd46baf15044c44576355a5cea2eb4c95f86a5..59a06d37b3cea62336ac4d5df6fb44cd7f15e864 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/Entropy/AppCheckerResult.sarif b/fluentui-ard/Entropy/AppCheckerResult.sarif
index e63ad00540e07c3b68417c1d1e771e71fe994d74..6c0405acc3342ded82733d4e4c412281abfaef3a 100644
--- a/fluentui-ard/Entropy/AppCheckerResult.sarif
+++ b/fluentui-ard/Entropy/AppCheckerResult.sarif
@@ -9,6 +9,47 @@
}
],
"results": [
+ {
+ "locations": [
+ {
+ "logicalLocations": [
+ {
+ "fullyQualifiedName": "Screen1.ConSend.send1.OnSelect"
+ }
+ ],
+ "physicalLocation": {
+ "address": {
+ "fullyQualifiedName": "Screen1.ConSend.send1.OnSelect",
+ "relativeAddress": 0
+ },
+ "region": {
+ "charLength": 39,
+ "charOffset": 0,
+ "snippet": {
+ "text": "ConnectAzureOpenai.Run(textinput1.Text)"
+ }
+ }
+ },
+ "properties": {
+ "member": "OnSelect",
+ "module": "Screen1",
+ "type": "Screen1.ConSend.send1"
+ }
+ }
+ ],
+ "message": {
+ "arguments": [
+ "1",
+ "0"
+ ],
+ "id": "issue"
+ },
+ "properties": {
+ "level": "High"
+ },
+ "ruleId": "app-ErrBadArity",
+ "ruleIndex": 0
+ },
{
"locations": [
{
@@ -36,7 +77,7 @@
"level": "Low"
},
"ruleId": "acc-ReadableScreenNameNeeded",
- "ruleIndex": 0
+ "ruleIndex": 1
},
{
"locations": [
@@ -66,7 +107,7 @@
"level": "Medium"
},
"ruleId": "acc-AccessibleLabelNeeded",
- "ruleIndex": 1
+ "ruleIndex": 2
},
{
"locations": [
@@ -96,7 +137,7 @@
"level": "Medium"
},
"ruleId": "acc-AccessibleLabelNeeded",
- "ruleIndex": 1
+ "ruleIndex": 2
},
{
"locations": [
@@ -126,7 +167,7 @@
"level": "Medium"
},
"ruleId": "acc-TabIndexShouldBeDefinedForInteractiveControl",
- "ruleIndex": 2
+ "ruleIndex": 3
},
{
"locations": [
@@ -156,7 +197,7 @@
"level": "Medium"
},
"ruleId": "acc-FocusBorderShouldBeVisible",
- "ruleIndex": 3
+ "ruleIndex": 4
},
{
"locations": [
@@ -186,7 +227,7 @@
"level": "Medium"
},
"ruleId": "acc-AccessibleLabelNeeded",
- "ruleIndex": 1
+ "ruleIndex": 2
},
{
"locations": [
@@ -216,7 +257,7 @@
"level": "Low"
},
"ruleId": "acc-TabOrderShouldBeChecked",
- "ruleIndex": 4
+ "ruleIndex": 5
},
{
"locations": [
@@ -246,7 +287,7 @@
"level": "Medium"
},
"ruleId": "acc-FocusBorderShouldBeVisible",
- "ruleIndex": 3
+ "ruleIndex": 4
},
{
"locations": [
@@ -276,7 +317,7 @@
"level": "Medium"
},
"ruleId": "acc-HelpfulControlSettingNeeded",
- "ruleIndex": 5
+ "ruleIndex": 6
},
{
"locations": [
@@ -306,7 +347,7 @@
"level": "Medium"
},
"ruleId": "acc-AccessibleLabelNeeded",
- "ruleIndex": 1
+ "ruleIndex": 2
},
{
"locations": [
@@ -336,7 +377,7 @@
"level": "Low"
},
"ruleId": "acc-TabOrderShouldBeChecked",
- "ruleIndex": 4
+ "ruleIndex": 5
},
{
"locations": [
@@ -366,7 +407,7 @@
"level": "Medium"
},
"ruleId": "acc-AccessibleLabelNeeded",
- "ruleIndex": 1
+ "ruleIndex": 2
},
{
"locations": [
@@ -396,7 +437,7 @@
"level": "Medium"
},
"ruleId": "acc-AccessibleLabelNeeded",
- "ruleIndex": 1
+ "ruleIndex": 2
},
{
"locations": [
@@ -426,7 +467,7 @@
"level": "Low"
},
"ruleId": "acc-TabOrderShouldBeChecked",
- "ruleIndex": 4
+ "ruleIndex": 5
},
{
"locations": [
@@ -456,7 +497,7 @@
"level": "Medium"
},
"ruleId": "app-UnusedMediaResources",
- "ruleIndex": 6
+ "ruleIndex": 7
}
],
"tool": {
@@ -464,6 +505,20 @@
"fullName": "PowerApps app checker",
"name": "PowerApps app checker",
"rules": [
+ {
+ "id": "app-ErrBadArity",
+ "messageStrings": {
+ "issue": {
+ "text": "Invalid number of arguments: received {0}, expected {1}."
+ }
+ },
+ "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 5799135290efcba9dc766ab6ad4eee978722ae43..83f7b6e3a9841c2ba8417c8082f4bd40b9d78692 100644
--- a/fluentui-ard/Entropy/Entropy.json
+++ b/fluentui-ard/Entropy/Entropy.json
@@ -21,7 +21,7 @@
},
"FunctionParamsInvariantScripts": {},
"FunctionParamsInvariantScriptsOnInstances": {},
- "HeaderLastSavedDateTimeUTC": "01/04/2024 12:11:58",
+ "HeaderLastSavedDateTimeUTC": "01/04/2024 12:13:12",
"IsLegacyComponentAllowGlobalScopeCase": false,
"LocalConnectionIDReferences": {
"15068a32-6e56-4150-bc99-d730c02bc599": "\"/providers/microsoft.powerapps/apis/shared_office365/connections/shared-office365-691d88fb-dc12-4d7f-afc5-caaebbf651d6\"",
diff --git a/fluentui-ard/Entropy/checksum.json b/fluentui-ard/Entropy/checksum.json
index c10b5aac9eb38f46d65141d3044ea3cf5014140f..8634adedd1167e2ff7e178f39e6cd18e8589618b 100644
--- a/fluentui-ard/Entropy/checksum.json
+++ b/fluentui-ard/Entropy/checksum.json
@@ -4,13 +4,13 @@
"IsLocalBuild": false
},
"ClientPerFileChecksums": {
- "AppCheckerResult.sarif": "C8_iXtYbvqOvV3593D6ybAsZhaE7En7ylT2++XXA1nmtQE=",
+ "AppCheckerResult.sarif": "C8_abVlHF+LaZbVhz/GNyWYSrM/C+QooUD4tI+LD4ZYzAg=",
"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_C04VPmB1us0/AkPrzRv3PheOfOiD9VzcYtd/wUlAuRs=",
- "Header.json": "C8_jXcOaJ29kqf4k7TSvGCGQt6SgKUpE/rcJBoai92KHq0=",
- "Properties.json": "C8_LP0XYgM1iILDNBdhEpiwFJ0qGIHZV3jApTuOTOx73yY=",
+ "Controls\\4.json": "C8_Y6VOSK6IEG6PhDcMfWYODBPL/iqcF3f/3ZDMBWviIlc=",
+ "Header.json": "C8_TyUskO8PcR2Pl+NJoGlZOOiaGlEuFVXyPnrt9KQgJ/U=",
+ "Properties.json": "C8_qOo5Mr83LyfuPwFDb0BsYi+BXvMpmXGJAINiD/TYpBY=",
"References\\DataSources.json": "C8_vF7W9QNH93yO65r9WPigh9BXKUJIDc9t8ccyWQpYRAA=",
"References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=",
"References\\Resources.json": "C8_GlcOe9G4EOeHkH7PyhrYQaASdG/UxXrvtOuGooqcdIk=",
@@ -18,15 +18,15 @@
"References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=",
"Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs="
},
- "ClientStampedChecksum": "C8_uRFlgABEMnGDxceK+sxKX4BQPdAaR9Ls02KktyxBqnc=",
+ "ClientStampedChecksum": "C8_s6tPT6NE2twLUn+EOyMXcGRuBlFtVZqJrSGpB+EQeDE=",
"ServerPerFileChecksums": {
- "AppCheckerResult.sarif": "C8_iXtYbvqOvV3593D6ybAsZhaE7En7ylT2++XXA1nmtQE=",
+ "AppCheckerResult.sarif": "C8_abVlHF+LaZbVhz/GNyWYSrM/C+QooUD4tI+LD4ZYzAg=",
"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_C04VPmB1us0/AkPrzRv3PheOfOiD9VzcYtd/wUlAuRs=",
- "Header.json": "C8_jXcOaJ29kqf4k7TSvGCGQt6SgKUpE/rcJBoai92KHq0=",
- "Properties.json": "C8_LP0XYgM1iILDNBdhEpiwFJ0qGIHZV3jApTuOTOx73yY=",
+ "Controls\\4.json": "C8_Y6VOSK6IEG6PhDcMfWYODBPL/iqcF3f/3ZDMBWviIlc=",
+ "Header.json": "C8_TyUskO8PcR2Pl+NJoGlZOOiaGlEuFVXyPnrt9KQgJ/U=",
+ "Properties.json": "C8_qOo5Mr83LyfuPwFDb0BsYi+BXvMpmXGJAINiD/TYpBY=",
"References\\DataSources.json": "C8_vF7W9QNH93yO65r9WPigh9BXKUJIDc9t8ccyWQpYRAA=",
"References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=",
"References\\Resources.json": "C8_GlcOe9G4EOeHkH7PyhrYQaASdG/UxXrvtOuGooqcdIk=",
@@ -34,5 +34,5 @@
"References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=",
"Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs="
},
- "ServerStampedChecksum": "C8_uRFlgABEMnGDxceK+sxKX4BQPdAaR9Ls02KktyxBqnc="
+ "ServerStampedChecksum": "C8_s6tPT6NE2twLUn+EOyMXcGRuBlFtVZqJrSGpB+EQeDE="
}
\ No newline at end of file
diff --git a/fluentui-ard/Src/Screen1.fx.yaml b/fluentui-ard/Src/Screen1.fx.yaml
index 284b36696b091e37da27c4ee5ac1e418b8b17954..b1cae494b00e83857864b50f55b87ab890547f58 100644
--- a/fluentui-ard/Src/Screen1.fx.yaml
+++ b/fluentui-ard/Src/Screen1.fx.yaml
@@ -238,11 +238,7 @@ Screen1 As screen:
HoverColor: =RGBA(251, 188, 159, 1)
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: "));
- Reset(textinput1);
- Notify("ChatGPT asked", NotificationType.Success , 1000);
+ OnSelect: =ConnectAzureOpenai.Run(textinput1.Text);
PressedBorderColor: =RGBA(0, 0, 0, 0)
PressedColor: =RGBA(251, 188, 159, 1)
PressedFill: =RGBA(0, 0, 0, 0)