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

Commit

parent 5aede8c0
No related branches found
No related tags found
No related merge requests found
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
"zeroalltabindexes": false "zeroalltabindexes": false
}, },
"Author": "", "Author": "",
"BindingErrorCount": 0, "BindingErrorCount": 2,
"ContainsThirdPartyPcfControls": false, "ContainsThirdPartyPcfControls": false,
"DefaultConnectedDataSourceMaxGetRowsCount": 500, "DefaultConnectedDataSourceMaxGetRowsCount": 500,
"DocumentAppType": "Phone", "DocumentAppType": "Phone",
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
"ManualOfflineProfileId": "", "ManualOfflineProfileId": "",
"Name": "ChatGPT-H-I", "Name": "ChatGPT-H-I",
"OriginatingVersion": "1.335", "OriginatingVersion": "1.335",
"ParserErrorCount": 0, "ParserErrorCount": 1,
"ShowStatusBar": false "ShowStatusBar": false
}, },
"PublishInfo": { "PublishInfo": {
......
...@@ -5,6 +5,9 @@ ...@@ -5,6 +5,9 @@
"iconUri": "https://connectoricons-prod.azureedge.net/releases/v1.0.1664/1.0.1664.3477/logicflows/icon.png", "iconUri": "https://connectoricons-prod.azureedge.net/releases/v1.0.1664/1.0.1664.3477/logicflows/icon.png",
"id": "/providers/microsoft.powerapps/apis/shared_logicflows", "id": "/providers/microsoft.powerapps/apis/shared_logicflows",
"parameterHints": { "parameterHints": {
"76079069-80c3-4221-84a0-4688a3d9cff1": {
"value": "shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50"
},
"workflowEntityId": { "workflowEntityId": {
"value": "921001dc-f7aa-ee11-be37-0022488291be" "value": "921001dc-f7aa-ee11-be37-0022488291be"
}, },
...@@ -13,6 +16,9 @@ ...@@ -13,6 +16,9 @@
} }
}, },
"parameterHintsV2": { "parameterHintsV2": {
"shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50": {
"value": "76079069-80c3-4221-84a0-4688a3d9cff1"
},
"workflowEntityId": { "workflowEntityId": {
"value": "921001dc-f7aa-ee11-be37-0022488291be" "value": "921001dc-f7aa-ee11-be37-0022488291be"
}, },
......
...@@ -9,6 +9,123 @@ ...@@ -9,6 +9,123 @@
} }
], ],
"results": [ "results": [
{
"locations": [
{
"logicalLocations": [
{
"fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect"
}
],
"physicalLocation": {
"address": {
"fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect",
"relativeAddress": 0
},
"region": {
"charOffset": 889,
"snippet": {
"text": ""
}
}
},
"properties": {
"member": "OnSelect",
"module": "BaseScreen",
"type": "BaseScreen.ConSend.send1"
}
}
],
"message": {
"arguments": [
"Eof",
"ParenClose"
],
"id": "issue"
},
"properties": {
"level": "High"
},
"ruleId": "app-ErrExpectedFound-Ex-Fnd",
"ruleIndex": 0
},
{
"locations": [
{
"logicalLocations": [
{
"fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect"
}
],
"physicalLocation": {
"address": {
"fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect",
"relativeAddress": 0
},
"region": {
"charLength": 8,
"charOffset": 439,
"snippet": {
"text": "assiresp"
}
}
},
"properties": {
"member": "OnSelect",
"module": "BaseScreen",
"type": "BaseScreen.ConSend.send1"
}
}
],
"message": {
"arguments": [
"assiresp"
],
"id": "issue"
},
"properties": {
"level": "High"
},
"ruleId": "app-ErrInvalidName",
"ruleIndex": 1
},
{
"locations": [
{
"logicalLocations": [
{
"fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect"
}
],
"physicalLocation": {
"address": {
"fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect",
"relativeAddress": 0
},
"region": {
"charLength": 5,
"charOffset": 447,
"snippet": {
"text": ".assi"
}
}
},
"properties": {
"member": "OnSelect",
"module": "BaseScreen",
"type": "BaseScreen.ConSend.send1"
}
}
],
"message": {
"id": "issue"
},
"properties": {
"level": "High"
},
"ruleId": "app-ErrInvalidDot",
"ruleIndex": 2
},
{ {
"locations": [ "locations": [
{ {
...@@ -37,7 +154,37 @@ ...@@ -37,7 +154,37 @@
"level": "Medium" "level": "Medium"
}, },
"ruleId": "acc-AccessibleLabelNeeded", "ruleId": "acc-AccessibleLabelNeeded",
"ruleIndex": 0 "ruleIndex": 3
},
{
"locations": [
{
"logicalLocations": [
{
"fullyQualifiedName": "App.Creativity"
}
],
"physicalLocation": {
"address": {
"fullyQualifiedName": "App.Creativity",
"relativeAddress": 0
}
},
"properties": {
"member": "Creativity",
"module": "App",
"type": "App"
}
}
],
"message": {
"id": "issue"
},
"properties": {
"level": "Medium"
},
"ruleId": "app-UnusedVariables",
"ruleIndex": 4
}, },
{ {
"locations": [ "locations": [
...@@ -67,7 +214,7 @@ ...@@ -67,7 +214,7 @@
"level": "Medium" "level": "Medium"
}, },
"ruleId": "app-UnusedMediaResources", "ruleId": "app-UnusedMediaResources",
"ruleIndex": 1 "ruleIndex": 5
} }
], ],
"tool": { "tool": {
...@@ -75,6 +222,54 @@ ...@@ -75,6 +222,54 @@
"fullName": "PowerApps app checker", "fullName": "PowerApps app checker",
"name": "PowerApps app checker", "name": "PowerApps app checker",
"rules": [ "rules": [
{
"id": "app-ErrExpectedFound-Ex-Fnd",
"messageStrings": {
"issue": {
"text": "Unexpected characters. The formula contains '{0}' where '{1}' is expected."
}
},
"properties": {
"componentType": "app",
"howToFix": [
"Remove or replace the unexpected characters with an expected character."
],
"level": "High",
"primaryCategory": "formula",
"whyFix": ""
}
},
{
"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-ErrInvalidDot",
"messageStrings": {
"issue": {
"text": "Invalid use of '.'"
}
},
"properties": {
"componentType": "app",
"level": "High",
"primaryCategory": "formula",
"whyFix": ""
}
},
{ {
"id": "acc-AccessibleLabelNeeded", "id": "acc-AccessibleLabelNeeded",
"messageStrings": { "messageStrings": {
...@@ -92,6 +287,23 @@ ...@@ -92,6 +287,23 @@
"whyFix": "If there's no accessible text, people who can’t see the screen won't understand what’s in images and controls." "whyFix": "If there's no accessible text, people who can’t see the screen won't understand what’s in images and controls."
} }
}, },
{
"id": "app-UnusedVariables",
"messageStrings": {
"issue": {
"text": "Unused variable"
}
},
"properties": {
"componentType": "app",
"howToFix": [
"Remove the unused variable."
],
"level": "Medium",
"primaryCategory": "performance",
"whyFix": "This variable is declared but is not referenced by any control, so it is not needed."
}
},
{ {
"id": "app-UnusedMediaResources", "id": "app-UnusedMediaResources",
"messageStrings": { "messageStrings": {
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
"DoesTestStepsMetadataExist": true, "DoesTestStepsMetadataExist": true,
"FunctionParamsInvariantScripts": {}, "FunctionParamsInvariantScripts": {},
"FunctionParamsInvariantScriptsOnInstances": {}, "FunctionParamsInvariantScriptsOnInstances": {},
"HeaderLastSavedDateTimeUTC": "01/26/2024 09:06:15", "HeaderLastSavedDateTimeUTC": "01/26/2024 09:11:51",
"IsLegacyComponentAllowGlobalScopeCase": false, "IsLegacyComponentAllowGlobalScopeCase": false,
"LocalConnectionIDReferences": { "LocalConnectionIDReferences": {
"028e7b29-d321-4e48-a760-c92538b0678a": "\"/providers/Microsoft.PowerApps/apis/shared_logicflows/connections/EC84356E395FAA1B0FDF1C7E126B562E-C1654A69E558FC9F\"", "028e7b29-d321-4e48-a760-c92538b0678a": "\"/providers/Microsoft.PowerApps/apis/shared_logicflows/connections/EC84356E395FAA1B0FDF1C7E126B562E-C1654A69E558FC9F\"",
......
...@@ -4,14 +4,14 @@ ...@@ -4,14 +4,14 @@
"IsLocalBuild": false "IsLocalBuild": false
}, },
"ClientPerFileChecksums": { "ClientPerFileChecksums": {
"AppCheckerResult.sarif": "C8_FR+rChiYwzo+Mrrisfn1kK6viScOyF8EJFRMbwzrBP4=", "AppCheckerResult.sarif": "C8_QEuRlGSpjzpY+gD8jKHbpB45/yCakF1MN2BrruRAU+I=",
"AppTests\\2.json": "C8_e7iNKGdPmvGBQG8t0GHgxl3LWfan9OmlJR4cLuSEmT0=", "AppTests\\2.json": "C8_e7iNKGdPmvGBQG8t0GHgxl3LWfan9OmlJR4cLuSEmT0=",
"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_30gPIloQ7jGwaLHWxXqxDKNDEelGI9TBj9/J3jUC6Pw=", "Controls\\4.json": "C8_RkjN5ns51BlRt0cSdYZAVSBms6N4U0eLHhxN4m05cPI=",
"Header.json": "C8_YZLwVVE1KbkJut71Ofnvkc+rpfmFoD1N2wnhe6caNVQ=", "Header.json": "C8_CjIWFIaxuvOAn1Qtkrh9FJr2RHxPQw+Q9eilNzocPec=",
"Properties.json": "C8_hmBEKpowi3FIgzG1YqXwEThDwWsnNUv+R0zmG3ptTBc=", "Properties.json": "C8_TPtPWoFhE8OxZEnON1J0HHHzUU2DNL8tY3h4g3pB+wY=",
"References\\DataSources.json": "C8_JsnA4GA1wtS6BAMEEeczVGpHQMkl3UPRyRP9V8k2CEU=", "References\\DataSources.json": "C8_JsnA4GA1wtS6BAMEEeczVGpHQMkl3UPRyRP9V8k2CEU=",
"References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=", "References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=",
"References\\QualifiedValues.json": "C8_El4FiKqe0MNuyanHlgG0pvhEijIXFigAGYgvdl/aCtk=", "References\\QualifiedValues.json": "C8_El4FiKqe0MNuyanHlgG0pvhEijIXFigAGYgvdl/aCtk=",
...@@ -20,16 +20,16 @@ ...@@ -20,16 +20,16 @@
"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_mlD7MyopWxLtBFdpd9MTNQEdCy+al4FRIzPEZsnjJV4=", "ClientStampedChecksum": "C8_QvEDvt39iVqsz9/kTBWabMN6DUEnWnyu0YYnSr/xrHU=",
"ServerPerFileChecksums": { "ServerPerFileChecksums": {
"AppCheckerResult.sarif": "C8_FR+rChiYwzo+Mrrisfn1kK6viScOyF8EJFRMbwzrBP4=", "AppCheckerResult.sarif": "C8_QEuRlGSpjzpY+gD8jKHbpB45/yCakF1MN2BrruRAU+I=",
"AppTests\\2.json": "C8_e7iNKGdPmvGBQG8t0GHgxl3LWfan9OmlJR4cLuSEmT0=", "AppTests\\2.json": "C8_e7iNKGdPmvGBQG8t0GHgxl3LWfan9OmlJR4cLuSEmT0=",
"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_30gPIloQ7jGwaLHWxXqxDKNDEelGI9TBj9/J3jUC6Pw=", "Controls\\4.json": "C8_RkjN5ns51BlRt0cSdYZAVSBms6N4U0eLHhxN4m05cPI=",
"Header.json": "C8_YZLwVVE1KbkJut71Ofnvkc+rpfmFoD1N2wnhe6caNVQ=", "Header.json": "C8_CjIWFIaxuvOAn1Qtkrh9FJr2RHxPQw+Q9eilNzocPec=",
"Properties.json": "C8_hmBEKpowi3FIgzG1YqXwEThDwWsnNUv+R0zmG3ptTBc=", "Properties.json": "C8_TPtPWoFhE8OxZEnON1J0HHHzUU2DNL8tY3h4g3pB+wY=",
"References\\DataSources.json": "C8_JsnA4GA1wtS6BAMEEeczVGpHQMkl3UPRyRP9V8k2CEU=", "References\\DataSources.json": "C8_JsnA4GA1wtS6BAMEEeczVGpHQMkl3UPRyRP9V8k2CEU=",
"References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=", "References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=",
"References\\QualifiedValues.json": "C8_El4FiKqe0MNuyanHlgG0pvhEijIXFigAGYgvdl/aCtk=", "References\\QualifiedValues.json": "C8_El4FiKqe0MNuyanHlgG0pvhEijIXFigAGYgvdl/aCtk=",
...@@ -38,5 +38,5 @@ ...@@ -38,5 +38,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_mlD7MyopWxLtBFdpd9MTNQEdCy+al4FRIzPEZsnjJV4=" "ServerStampedChecksum": "C8_QvEDvt39iVqsz9/kTBWabMN6DUEnWnyu0YYnSr/xrHU="
} }
\ No newline at end of file
...@@ -290,9 +290,10 @@ BaseScreen As screen: ...@@ -290,9 +290,10 @@ BaseScreen As screen:
!IsBlank(textinput1.Text), !IsBlank(textinput1.Text),
textinput1.Text; // you textinput1.Text; // you
behave1.SelectedText.'data-ADB4D7A662F548B49FAC2B986E348A1BVal'; // sys behave1.SelectedText.'data-ADB4D7A662F548B49FAC2B986E348A1BVal'; // sys
ConnectAzureOpenai.Run(textinput1.Text, Creativity, behave1.SelectedText.'data-ADB4D7A662F548B49FAC2B986E348A1BVal'); // Assi Set(assiresp, ConnectAzureOpenai.Run(textinput1.Text, Creativity, behave1.SelectedText.'data-ADB4D7A662F548B49FAC2B986E348A1BVal'); // Assi
); );
Set(varRes, varResp & Char(10) & "You: " & Char(10) & textinput1.Text & Char(10) & Char(10) & "Assistent: " & Char(10) & assiresp.assi & Char(10));
/*If( /*If(
!IsBlank(textinput1.Text), !IsBlank(textinput1.Text),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment