Skip to content
Snippets Groups Projects
Commit 6f8c0154 authored by Manuel Geyer's avatar Manuel Geyer
Browse files

Commit

parent ff0882df
Branches
No related tags found
No related merge requests found
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
"zeroalltabindexes": false "zeroalltabindexes": false
}, },
"Author": "", "Author": "",
"BindingErrorCount": 0, "BindingErrorCount": 2,
"ContainsThirdPartyPcfControls": false, "ContainsThirdPartyPcfControls": false,
"DefaultConnectedDataSourceMaxGetRowsCount": 500, "DefaultConnectedDataSourceMaxGetRowsCount": 500,
"DocumentAppType": "Phone", "DocumentAppType": "Phone",
... ...
......
...@@ -9,6 +9,83 @@ ...@@ -9,6 +9,83 @@
} }
], ],
"results": [ "results": [
{
"locations": [
{
"logicalLocations": [
{
"fullyQualifiedName": "Screen1.ConSend.send1.OnSelect"
}
],
"physicalLocation": {
"address": {
"fullyQualifiedName": "Screen1.ConSend.send1.OnSelect",
"relativeAddress": 0
},
"region": {
"charLength": 4,
"charOffset": 168,
"snippet": {
"text": ".res"
}
}
},
"properties": {
"member": "OnSelect",
"module": "Screen1",
"type": "Screen1.ConSend.send1"
}
}
],
"message": {
"arguments": [
"res"
],
"id": "issue"
},
"properties": {
"level": "High"
},
"ruleId": "app-ErrInvalidName",
"ruleIndex": 0
},
{
"locations": [
{
"logicalLocations": [
{
"fullyQualifiedName": "Screen1.ConSend.send1.OnSelect"
}
],
"physicalLocation": {
"address": {
"fullyQualifiedName": "Screen1.ConSend.send1.OnSelect",
"relativeAddress": 0
},
"region": {
"charLength": 59,
"charOffset": 114,
"snippet": {
"text": "Set(returnCAO, ConnectAzureOpenai.Run(textinput1.Text).res)"
}
}
},
"properties": {
"member": "OnSelect",
"module": "Screen1",
"type": "Screen1.ConSend.send1"
}
}
],
"message": {
"id": "issue"
},
"properties": {
"level": "High"
},
"ruleId": "app-ErrIncompatibleCtxtVariableTypes",
"ruleIndex": 1
},
{ {
"locations": [ "locations": [
{ {
...@@ -36,7 +113,7 @@ ...@@ -36,7 +113,7 @@
"level": "Low" "level": "Low"
}, },
"ruleId": "acc-ReadableScreenNameNeeded", "ruleId": "acc-ReadableScreenNameNeeded",
"ruleIndex": 0 "ruleIndex": 2
}, },
{ {
"locations": [ "locations": [
...@@ -66,7 +143,7 @@ ...@@ -66,7 +143,7 @@
"level": "Medium" "level": "Medium"
}, },
"ruleId": "acc-TabIndexShouldBeDefinedForInteractiveControl", "ruleId": "acc-TabIndexShouldBeDefinedForInteractiveControl",
"ruleIndex": 1 "ruleIndex": 3
}, },
{ {
"locations": [ "locations": [
...@@ -96,7 +173,7 @@ ...@@ -96,7 +173,7 @@
"level": "Medium" "level": "Medium"
}, },
"ruleId": "acc-FocusBorderShouldBeVisible", "ruleId": "acc-FocusBorderShouldBeVisible",
"ruleIndex": 2 "ruleIndex": 4
}, },
{ {
"locations": [ "locations": [
...@@ -126,7 +203,7 @@ ...@@ -126,7 +203,7 @@
"level": "Medium" "level": "Medium"
}, },
"ruleId": "acc-AccessibleLabelNeeded", "ruleId": "acc-AccessibleLabelNeeded",
"ruleIndex": 3 "ruleIndex": 5
}, },
{ {
"locations": [ "locations": [
...@@ -156,7 +233,7 @@ ...@@ -156,7 +233,7 @@
"level": "Low" "level": "Low"
}, },
"ruleId": "acc-TabOrderShouldBeChecked", "ruleId": "acc-TabOrderShouldBeChecked",
"ruleIndex": 4 "ruleIndex": 6
}, },
{ {
"locations": [ "locations": [
...@@ -186,7 +263,7 @@ ...@@ -186,7 +263,7 @@
"level": "Medium" "level": "Medium"
}, },
"ruleId": "acc-FocusBorderShouldBeVisible", "ruleId": "acc-FocusBorderShouldBeVisible",
"ruleIndex": 2 "ruleIndex": 4
}, },
{ {
"locations": [ "locations": [
...@@ -216,7 +293,7 @@ ...@@ -216,7 +293,7 @@
"level": "Medium" "level": "Medium"
}, },
"ruleId": "acc-HelpfulControlSettingNeeded", "ruleId": "acc-HelpfulControlSettingNeeded",
"ruleIndex": 5 "ruleIndex": 7
}, },
{ {
"locations": [ "locations": [
...@@ -246,7 +323,7 @@ ...@@ -246,7 +323,7 @@
"level": "Medium" "level": "Medium"
}, },
"ruleId": "acc-AccessibleLabelNeeded", "ruleId": "acc-AccessibleLabelNeeded",
"ruleIndex": 3 "ruleIndex": 5
}, },
{ {
"locations": [ "locations": [
...@@ -276,7 +353,7 @@ ...@@ -276,7 +353,7 @@
"level": "Low" "level": "Low"
}, },
"ruleId": "acc-TabOrderShouldBeChecked", "ruleId": "acc-TabOrderShouldBeChecked",
"ruleIndex": 4 "ruleIndex": 6
}, },
{ {
"locations": [ "locations": [
...@@ -306,7 +383,7 @@ ...@@ -306,7 +383,7 @@
"level": "Medium" "level": "Medium"
}, },
"ruleId": "acc-AccessibleLabelNeeded", "ruleId": "acc-AccessibleLabelNeeded",
"ruleIndex": 3 "ruleIndex": 5
}, },
{ {
"locations": [ "locations": [
...@@ -336,7 +413,7 @@ ...@@ -336,7 +413,7 @@
"level": "Low" "level": "Low"
}, },
"ruleId": "acc-TabOrderShouldBeChecked", "ruleId": "acc-TabOrderShouldBeChecked",
"ruleIndex": 4 "ruleIndex": 6
}, },
{ {
"locations": [ "locations": [
...@@ -366,7 +443,7 @@ ...@@ -366,7 +443,7 @@
"level": "Medium" "level": "Medium"
}, },
"ruleId": "app-UnusedVariables", "ruleId": "app-UnusedVariables",
"ruleIndex": 6 "ruleIndex": 8
}, },
{ {
"locations": [ "locations": [
...@@ -396,7 +473,7 @@ ...@@ -396,7 +473,7 @@
"level": "Medium" "level": "Medium"
}, },
"ruleId": "app-UnusedMediaResources", "ruleId": "app-UnusedMediaResources",
"ruleIndex": 7 "ruleIndex": 9
} }
], ],
"tool": { "tool": {
...@@ -404,6 +481,40 @@ ...@@ -404,6 +481,40 @@
"fullName": "PowerApps app checker", "fullName": "PowerApps app checker",
"name": "PowerApps app checker", "name": "PowerApps app checker",
"rules": [ "rules": [
{
"id": "app-ErrInvalidName",
"messageStrings": {
"issue": {
"text": "Name isn't valid. '{0}' isn't recognized."
}
},
"properties": {
"componentType": "app",
"howToFix": [
"Remove or correct the reference to the name that isn't valid."
],
"level": "High",
"primaryCategory": "formula",
"whyFix": ""
}
},
{
"id": "app-ErrIncompatibleCtxtVariableTypes",
"messageStrings": {
"issue": {
"text": "Incompatible type. We can't evaluate your formula because the context variable types are incompatible with the types of values in other places in your app."
}
},
"properties": {
"componentType": "app",
"howToFix": [
"Look at places where you use a context variable and make sure that the type (e.g., text, number, date, record, table) is compatible."
],
"level": "High",
"primaryCategory": "formula",
"whyFix": ""
}
},
{ {
"id": "acc-ReadableScreenNameNeeded", "id": "acc-ReadableScreenNameNeeded",
"messageStrings": { "messageStrings": {
... ...
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
}, },
"FunctionParamsInvariantScripts": {}, "FunctionParamsInvariantScripts": {},
"FunctionParamsInvariantScriptsOnInstances": {}, "FunctionParamsInvariantScriptsOnInstances": {},
"HeaderLastSavedDateTimeUTC": "01/09/2024 07:54:06", "HeaderLastSavedDateTimeUTC": "01/09/2024 07:54:44",
"IsLegacyComponentAllowGlobalScopeCase": false, "IsLegacyComponentAllowGlobalScopeCase": false,
"LocalConnectionIDReferences": { "LocalConnectionIDReferences": {
"17c07572-84cb-4d9c-9518-f20f5e87496d": "\"/providers/microsoft.powerapps/apis/shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50/connections/shared-azure-2dopena-3f4cdc89-63b5-4018-882d-1f1c97eb18e0\"", "17c07572-84cb-4d9c-9518-f20f5e87496d": "\"/providers/microsoft.powerapps/apis/shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50/connections/shared-azure-2dopena-3f4cdc89-63b5-4018-882d-1f1c97eb18e0\"",
... ...
......
...@@ -4,13 +4,13 @@ ...@@ -4,13 +4,13 @@
"IsLocalBuild": false "IsLocalBuild": false
}, },
"ClientPerFileChecksums": { "ClientPerFileChecksums": {
"AppCheckerResult.sarif": "C8_d29ku0bfNVhM5JFAjQClF39Risr1NyOswzHRy2Pb7AY=", "AppCheckerResult.sarif": "C8_Ol8GdQXHhVp7H0W2sYXxYKwP3xjX2yYuvZhxjznV4TM=",
"Assets\\Images\\0001.png": "C8_D0WGiAaxVuIcUWpkdQuVcyQy/gSJZuMRDwL63zxJhAk=", "Assets\\Images\\0001.png": "C8_D0WGiAaxVuIcUWpkdQuVcyQy/gSJZuMRDwL63zxJhAk=",
"Assets\\Images\\0002.jpg": "C8_Tc/HGdQ62xbtBm/41G1l7DIpMm/RT0cgmhtJyanyURs=", "Assets\\Images\\0002.jpg": "C8_Tc/HGdQ62xbtBm/41G1l7DIpMm/RT0cgmhtJyanyURs=",
"Controls\\1.json": "C8_/PwNEU6dV00x9Xr4Yt93zX1EmsxAh36PVgOdFy9WD8g=", "Controls\\1.json": "C8_/PwNEU6dV00x9Xr4Yt93zX1EmsxAh36PVgOdFy9WD8g=",
"Controls\\4.json": "C8_chut3GJVrY+ymZQmHfeTGqHUkiBrXLxMFh3LQ5ehY4I=", "Controls\\4.json": "C8_kRVPY0UJcLb376mKNfSEOp7czJj0GAsqeKPd6ZQ7LhU=",
"Header.json": "C8_2R3LX/HOZA17zN5+d/e1o1QnhO/2w7AAfahBhLzVWoY=", "Header.json": "C8_I+IAnKQfDg0g4vWyKxzaUSQ/1C09K8iIkMNYqXrnlls=",
"Properties.json": "C8_5deWqCxxriGT3YTJukCL1dH5XuxF3bnrrKgosChgcDk=", "Properties.json": "C8_ZHl/3tastjA34hDR/ungL02EusBw9WwjSM4MrB1OBIc=",
"References\\DataSources.json": "C8_hZonlLs+ZZuCGAan64f1s1wi2KCSyCuNfteMp7oyb8A=", "References\\DataSources.json": "C8_hZonlLs+ZZuCGAan64f1s1wi2KCSyCuNfteMp7oyb8A=",
"References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=", "References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=",
"References\\Resources.json": "C8_UNTVuoIzsYS26NhxW7MfONPP+D4NAZwfrri76J5lIUU=", "References\\Resources.json": "C8_UNTVuoIzsYS26NhxW7MfONPP+D4NAZwfrri76J5lIUU=",
...@@ -18,15 +18,15 @@ ...@@ -18,15 +18,15 @@
"References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=", "References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=",
"Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs=" "Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs="
}, },
"ClientStampedChecksum": "C8_9OdT9yHmkPGenJPeEnsL0j14JGPBVkFzXGMvEvDldRU=", "ClientStampedChecksum": "C8_tGW6yHo/4m5POlLw7KsftnwTzlCV+8BWaU4SEsFvkw8=",
"ServerPerFileChecksums": { "ServerPerFileChecksums": {
"AppCheckerResult.sarif": "C8_d29ku0bfNVhM5JFAjQClF39Risr1NyOswzHRy2Pb7AY=", "AppCheckerResult.sarif": "C8_Ol8GdQXHhVp7H0W2sYXxYKwP3xjX2yYuvZhxjznV4TM=",
"Assets\\Images\\0001.png": "C8_D0WGiAaxVuIcUWpkdQuVcyQy/gSJZuMRDwL63zxJhAk=", "Assets\\Images\\0001.png": "C8_D0WGiAaxVuIcUWpkdQuVcyQy/gSJZuMRDwL63zxJhAk=",
"Assets\\Images\\0002.jpg": "C8_Tc/HGdQ62xbtBm/41G1l7DIpMm/RT0cgmhtJyanyURs=", "Assets\\Images\\0002.jpg": "C8_Tc/HGdQ62xbtBm/41G1l7DIpMm/RT0cgmhtJyanyURs=",
"Controls\\1.json": "C8_/PwNEU6dV00x9Xr4Yt93zX1EmsxAh36PVgOdFy9WD8g=", "Controls\\1.json": "C8_/PwNEU6dV00x9Xr4Yt93zX1EmsxAh36PVgOdFy9WD8g=",
"Controls\\4.json": "C8_chut3GJVrY+ymZQmHfeTGqHUkiBrXLxMFh3LQ5ehY4I=", "Controls\\4.json": "C8_kRVPY0UJcLb376mKNfSEOp7czJj0GAsqeKPd6ZQ7LhU=",
"Header.json": "C8_2R3LX/HOZA17zN5+d/e1o1QnhO/2w7AAfahBhLzVWoY=", "Header.json": "C8_I+IAnKQfDg0g4vWyKxzaUSQ/1C09K8iIkMNYqXrnlls=",
"Properties.json": "C8_5deWqCxxriGT3YTJukCL1dH5XuxF3bnrrKgosChgcDk=", "Properties.json": "C8_ZHl/3tastjA34hDR/ungL02EusBw9WwjSM4MrB1OBIc=",
"References\\DataSources.json": "C8_hZonlLs+ZZuCGAan64f1s1wi2KCSyCuNfteMp7oyb8A=", "References\\DataSources.json": "C8_hZonlLs+ZZuCGAan64f1s1wi2KCSyCuNfteMp7oyb8A=",
"References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=", "References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=",
"References\\Resources.json": "C8_UNTVuoIzsYS26NhxW7MfONPP+D4NAZwfrri76J5lIUU=", "References\\Resources.json": "C8_UNTVuoIzsYS26NhxW7MfONPP+D4NAZwfrri76J5lIUU=",
...@@ -34,5 +34,5 @@ ...@@ -34,5 +34,5 @@
"References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=", "References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=",
"Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs=" "Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs="
}, },
"ServerStampedChecksum": "C8_9OdT9yHmkPGenJPeEnsL0j14JGPBVkFzXGMvEvDldRU=" "ServerStampedChecksum": "C8_tGW6yHo/4m5POlLw7KsftnwTzlCV+8BWaU4SEsFvkw8="
} }
\ No newline at end of file
...@@ -242,7 +242,7 @@ Screen1 As screen: ...@@ -242,7 +242,7 @@ Screen1 As screen:
HoverFill: =RGBA(0, 0, 0, 0) HoverFill: =RGBA(0, 0, 0, 0)
Icon: =Icon.Send Icon: =Icon.Send
OnSelect: |- OnSelect: |-
=If(!IsBlank(textinput1.Text), Set(varResp, varResp & Char(13) & textinput1.Text & Char(13) & Char(13) & "GPT: " & Set(returnCAO, ConnectAzureOpenai.Run(textinput1.Text)))); =If(!IsBlank(textinput1.Text), Set(varResp, varResp & Char(13) & textinput1.Text & Char(13) & Char(13) & "GPT: " & Set(returnCAO, ConnectAzureOpenai.Run(textinput1.Text).res)));
Reset(textinput1); Reset(textinput1);
Notify("ChatGPT asked", NotificationType.Success , 1000); Notify("ChatGPT asked", NotificationType.Success , 1000);
PressedBorderColor: =RGBA(0, 0, 0, 0) PressedBorderColor: =RGBA(0, 0, 0, 0)
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment