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

Commit

parent 6f8c0154
No related branches found
No related tags found
No related merge requests found
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
"zeroalltabindexes": false "zeroalltabindexes": false
}, },
"Author": "", "Author": "",
"BindingErrorCount": 2, "BindingErrorCount": 0,
"ContainsThirdPartyPcfControls": false, "ContainsThirdPartyPcfControls": false,
"DefaultConnectedDataSourceMaxGetRowsCount": 500, "DefaultConnectedDataSourceMaxGetRowsCount": 500,
"DocumentAppType": "Phone", "DocumentAppType": "Phone",
......
...@@ -9,83 +9,6 @@ ...@@ -9,83 +9,6 @@
} }
], ],
"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": [
{ {
...@@ -113,7 +36,7 @@ ...@@ -113,7 +36,7 @@
"level": "Low" "level": "Low"
}, },
"ruleId": "acc-ReadableScreenNameNeeded", "ruleId": "acc-ReadableScreenNameNeeded",
"ruleIndex": 2 "ruleIndex": 0
}, },
{ {
"locations": [ "locations": [
...@@ -143,7 +66,7 @@ ...@@ -143,7 +66,7 @@
"level": "Medium" "level": "Medium"
}, },
"ruleId": "acc-TabIndexShouldBeDefinedForInteractiveControl", "ruleId": "acc-TabIndexShouldBeDefinedForInteractiveControl",
"ruleIndex": 3 "ruleIndex": 1
}, },
{ {
"locations": [ "locations": [
...@@ -173,7 +96,7 @@ ...@@ -173,7 +96,7 @@
"level": "Medium" "level": "Medium"
}, },
"ruleId": "acc-FocusBorderShouldBeVisible", "ruleId": "acc-FocusBorderShouldBeVisible",
"ruleIndex": 4 "ruleIndex": 2
}, },
{ {
"locations": [ "locations": [
...@@ -203,7 +126,7 @@ ...@@ -203,7 +126,7 @@
"level": "Medium" "level": "Medium"
}, },
"ruleId": "acc-AccessibleLabelNeeded", "ruleId": "acc-AccessibleLabelNeeded",
"ruleIndex": 5 "ruleIndex": 3
}, },
{ {
"locations": [ "locations": [
...@@ -233,7 +156,7 @@ ...@@ -233,7 +156,7 @@
"level": "Low" "level": "Low"
}, },
"ruleId": "acc-TabOrderShouldBeChecked", "ruleId": "acc-TabOrderShouldBeChecked",
"ruleIndex": 6 "ruleIndex": 4
}, },
{ {
"locations": [ "locations": [
...@@ -263,7 +186,7 @@ ...@@ -263,7 +186,7 @@
"level": "Medium" "level": "Medium"
}, },
"ruleId": "acc-FocusBorderShouldBeVisible", "ruleId": "acc-FocusBorderShouldBeVisible",
"ruleIndex": 4 "ruleIndex": 2
}, },
{ {
"locations": [ "locations": [
...@@ -293,7 +216,7 @@ ...@@ -293,7 +216,7 @@
"level": "Medium" "level": "Medium"
}, },
"ruleId": "acc-HelpfulControlSettingNeeded", "ruleId": "acc-HelpfulControlSettingNeeded",
"ruleIndex": 7 "ruleIndex": 5
}, },
{ {
"locations": [ "locations": [
...@@ -323,7 +246,7 @@ ...@@ -323,7 +246,7 @@
"level": "Medium" "level": "Medium"
}, },
"ruleId": "acc-AccessibleLabelNeeded", "ruleId": "acc-AccessibleLabelNeeded",
"ruleIndex": 5 "ruleIndex": 3
}, },
{ {
"locations": [ "locations": [
...@@ -353,7 +276,7 @@ ...@@ -353,7 +276,7 @@
"level": "Low" "level": "Low"
}, },
"ruleId": "acc-TabOrderShouldBeChecked", "ruleId": "acc-TabOrderShouldBeChecked",
"ruleIndex": 6 "ruleIndex": 4
}, },
{ {
"locations": [ "locations": [
...@@ -383,7 +306,7 @@ ...@@ -383,7 +306,7 @@
"level": "Medium" "level": "Medium"
}, },
"ruleId": "acc-AccessibleLabelNeeded", "ruleId": "acc-AccessibleLabelNeeded",
"ruleIndex": 5 "ruleIndex": 3
}, },
{ {
"locations": [ "locations": [
...@@ -413,7 +336,7 @@ ...@@ -413,7 +336,7 @@
"level": "Low" "level": "Low"
}, },
"ruleId": "acc-TabOrderShouldBeChecked", "ruleId": "acc-TabOrderShouldBeChecked",
"ruleIndex": 6 "ruleIndex": 4
}, },
{ {
"locations": [ "locations": [
...@@ -443,7 +366,7 @@ ...@@ -443,7 +366,7 @@
"level": "Medium" "level": "Medium"
}, },
"ruleId": "app-UnusedVariables", "ruleId": "app-UnusedVariables",
"ruleIndex": 8 "ruleIndex": 6
}, },
{ {
"locations": [ "locations": [
...@@ -473,7 +396,7 @@ ...@@ -473,7 +396,7 @@
"level": "Medium" "level": "Medium"
}, },
"ruleId": "app-UnusedMediaResources", "ruleId": "app-UnusedMediaResources",
"ruleIndex": 9 "ruleIndex": 7
} }
], ],
"tool": { "tool": {
...@@ -481,40 +404,6 @@ ...@@ -481,40 +404,6 @@
"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:44", "HeaderLastSavedDateTimeUTC": "01/09/2024 07:55:33",
"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_Ol8GdQXHhVp7H0W2sYXxYKwP3xjX2yYuvZhxjznV4TM=", "AppCheckerResult.sarif": "C8_d29ku0bfNVhM5JFAjQClF39Risr1NyOswzHRy2Pb7AY=",
"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_kRVPY0UJcLb376mKNfSEOp7czJj0GAsqeKPd6ZQ7LhU=", "Controls\\4.json": "C8_6VKEX0NrjUyug5g6cXZtIPTPdelwyF5R9t/plYYoObg=",
"Header.json": "C8_I+IAnKQfDg0g4vWyKxzaUSQ/1C09K8iIkMNYqXrnlls=", "Header.json": "C8_waqOhpLEhK7VIOPzyt3T87srNGa91+I9uOgG8Ot/G9I=",
"Properties.json": "C8_ZHl/3tastjA34hDR/ungL02EusBw9WwjSM4MrB1OBIc=", "Properties.json": "C8_5deWqCxxriGT3YTJukCL1dH5XuxF3bnrrKgosChgcDk=",
"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_tGW6yHo/4m5POlLw7KsftnwTzlCV+8BWaU4SEsFvkw8=", "ClientStampedChecksum": "C8_EzWcXERiYmvOYYeO90lvCm7iF0/VyhOzPdTFM0LK4G4=",
"ServerPerFileChecksums": { "ServerPerFileChecksums": {
"AppCheckerResult.sarif": "C8_Ol8GdQXHhVp7H0W2sYXxYKwP3xjX2yYuvZhxjznV4TM=", "AppCheckerResult.sarif": "C8_d29ku0bfNVhM5JFAjQClF39Risr1NyOswzHRy2Pb7AY=",
"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_kRVPY0UJcLb376mKNfSEOp7czJj0GAsqeKPd6ZQ7LhU=", "Controls\\4.json": "C8_6VKEX0NrjUyug5g6cXZtIPTPdelwyF5R9t/plYYoObg=",
"Header.json": "C8_I+IAnKQfDg0g4vWyKxzaUSQ/1C09K8iIkMNYqXrnlls=", "Header.json": "C8_waqOhpLEhK7VIOPzyt3T87srNGa91+I9uOgG8Ot/G9I=",
"Properties.json": "C8_ZHl/3tastjA34hDR/ungL02EusBw9WwjSM4MrB1OBIc=", "Properties.json": "C8_5deWqCxxriGT3YTJukCL1dH5XuxF3bnrrKgosChgcDk=",
"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_tGW6yHo/4m5POlLw7KsftnwTzlCV+8BWaU4SEsFvkw8=" "ServerStampedChecksum": "C8_EzWcXERiYmvOYYeO90lvCm7iF0/VyhOzPdTFM0LK4G4="
} }
\ 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).res))); =If(!IsBlank(textinput1.Text), Set(varResp, varResp & Char(13) & textinput1.Text & Char(13) & Char(13) & "GPT: " & Set(returnCAO, ConnectAzureOpenai.Run(textinput1.Text))));
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 register or to comment