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

Commit

parent 606e67b5
No related branches found
No related tags found
No related merge requests found
......@@ -99,7 +99,7 @@
"zeroalltabindexes": false
},
"Author": "",
"BindingErrorCount": 0,
"BindingErrorCount": 6,
"ContainsThirdPartyPcfControls": false,
"DefaultConnectedDataSourceMaxGetRowsCount": 500,
"DocumentAppType": "Phone",
......
......@@ -9,6 +9,242 @@
}
],
"results": [
{
"locations": [
{
"logicalLocations": [
{
"fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect"
}
],
"physicalLocation": {
"address": {
"fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect",
"relativeAddress": 0
},
"region": {
"charLength": 100,
"charOffset": 465,
"snippet": {
"text": "Collect(gptconv, {cnt: msgcnt, sys: behave1.SelectedText.Val, you: textinput1.Text, assi: assiresp})"
}
}
},
"properties": {
"member": "OnSelect",
"module": "BaseScreen",
"type": "BaseScreen.ConSend.send1"
}
}
],
"message": {
"arguments": [
"Collect"
],
"id": "issue"
},
"properties": {
"level": "High"
},
"ruleId": "app-ErrInvalidArgs-Func",
"ruleIndex": 0
},
{
"locations": [
{
"logicalLocations": [
{
"fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect"
}
],
"physicalLocation": {
"address": {
"fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect",
"relativeAddress": 0
},
"region": {
"charLength": 82,
"charOffset": 482,
"snippet": {
"text": "{cnt: msgcnt, sys: behave1.SelectedText.Val, you: textinput1.Text, assi: assiresp}"
}
}
},
"properties": {
"member": "OnSelect",
"module": "BaseScreen",
"type": "BaseScreen.ConSend.send1"
}
}
],
"message": {
"arguments": [
"assi",
"Text",
"Error"
],
"id": "issue"
},
"properties": {
"level": "High"
},
"ruleId": "app-ErrColumnTypeMismatch-ColName-ExpectedType-ActualType",
"ruleIndex": 1
},
{
"locations": [
{
"logicalLocations": [
{
"fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect"
}
],
"physicalLocation": {
"address": {
"fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect",
"relativeAddress": 0
},
"region": {
"charLength": 8,
"charOffset": 947,
"snippet": {
"text": ".ttokens"
}
}
},
"properties": {
"member": "OnSelect",
"module": "BaseScreen",
"type": "BaseScreen.ConSend.send1"
}
}
],
"message": {
"id": "issue"
},
"properties": {
"level": "High"
},
"ruleId": "app-ErrInvalidDot",
"ruleIndex": 2
},
{
"locations": [
{
"logicalLocations": [
{
"fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect"
}
],
"physicalLocation": {
"address": {
"fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect",
"relativeAddress": 0
},
"region": {
"charLength": 32,
"charOffset": 934,
"snippet": {
"text": "Text(assiresp.ttokens, \"######\")"
}
}
},
"properties": {
"member": "OnSelect",
"module": "BaseScreen",
"type": "BaseScreen.ConSend.send1"
}
}
],
"message": {
"arguments": [
"Text"
],
"id": "issue"
},
"properties": {
"level": "High"
},
"ruleId": "app-ErrInvalidArgs-Func",
"ruleIndex": 0
},
{
"locations": [
{
"logicalLocations": [
{
"fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect"
}
],
"physicalLocation": {
"address": {
"fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect",
"relativeAddress": 0
},
"region": {
"charLength": 8,
"charOffset": 957,
"snippet": {
"text": "\"######\""
}
}
},
"properties": {
"member": "OnSelect",
"module": "BaseScreen",
"type": "BaseScreen.ConSend.send1"
}
}
],
"message": {
"arguments": [
"Text"
],
"id": "issue"
},
"properties": {
"level": "Medium"
},
"ruleId": "app-ErrIncorrectFormat-Func",
"ruleIndex": 3
},
{
"locations": [
{
"logicalLocations": [
{
"fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect"
}
],
"physicalLocation": {
"address": {
"fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect",
"relativeAddress": 0
},
"region": {
"charLength": 5,
"charOffset": 1119,
"snippet": {
"text": ".assi"
}
}
},
"properties": {
"member": "OnSelect",
"module": "BaseScreen",
"type": "BaseScreen.ConSend.send1"
}
}
],
"message": {
"id": "issue"
},
"properties": {
"level": "High"
},
"ruleId": "app-ErrInvalidDot",
"ruleIndex": 2
},
{
"locations": [
{
......@@ -37,7 +273,7 @@
"level": "Medium"
},
"ruleId": "acc-AccessibleLabelNeeded",
"ruleIndex": 0
"ruleIndex": 4
},
{
"locations": [
......@@ -67,7 +303,7 @@
"level": "Medium"
},
"ruleId": "app-UnusedVariables",
"ruleIndex": 1
"ruleIndex": 5
},
{
"locations": [
......@@ -97,7 +333,7 @@
"level": "Medium"
},
"ruleId": "app-UnusedMediaResources",
"ruleIndex": 2
"ruleIndex": 6
}
],
"tool": {
......@@ -105,6 +341,65 @@
"fullName": "PowerApps app checker",
"name": "PowerApps app checker",
"rules": [
{
"id": "app-ErrInvalidArgs-Func",
"messageStrings": {
"issue": {
"text": "The function '{0}' has some invalid arguments."
}
},
"properties": {
"componentType": "app",
"level": "High",
"primaryCategory": "formula",
"whyFix": ""
}
},
{
"id": "app-ErrColumnTypeMismatch-ColName-ExpectedType-ActualType",
"messageStrings": {
"issue": {
"text": "Incompatible type. The '{0}' column in the data source you’re updating expects a '{1}' type and you’re using a '{2}' type."
}
},
"properties": {
"componentType": "app",
"howToFix": [
"You might need to convert the value to the same type, such as converting a date string (e.g., \"12/31/2018\") to a date value or a string to a number."
],
"level": "High",
"primaryCategory": "formula",
"whyFix": ""
}
},
{
"id": "app-ErrInvalidDot",
"messageStrings": {
"issue": {
"text": "Invalid use of '.'"
}
},
"properties": {
"componentType": "app",
"level": "High",
"primaryCategory": "formula",
"whyFix": ""
}
},
{
"id": "app-ErrIncorrectFormat-Func",
"messageStrings": {
"issue": {
"text": "Incorrect format specifier for '{0}'."
}
},
"properties": {
"componentType": "app",
"level": "Medium",
"primaryCategory": "formula",
"whyFix": ""
}
},
{
"id": "acc-AccessibleLabelNeeded",
"messageStrings": {
......
......@@ -27,7 +27,7 @@
"DoesTestStepsMetadataExist": true,
"FunctionParamsInvariantScripts": {},
"FunctionParamsInvariantScriptsOnInstances": {},
"HeaderLastSavedDateTimeUTC": "01/29/2024 09:38:32",
"HeaderLastSavedDateTimeUTC": "01/29/2024 09:39:49",
"IsLegacyComponentAllowGlobalScopeCase": false,
"LocalConnectionIDReferences": {
"028e7b29-d321-4e48-a760-c92538b0678a": "\"/providers/microsoft.powerapps/apis/shared_logicflows/connections/ec84356e395faa1b0fdf1c7e126b562e-c1654a69e558fc9f\"",
......
......@@ -4,14 +4,14 @@
"IsLocalBuild": false
},
"ClientPerFileChecksums": {
"AppCheckerResult.sarif": "C8_bNIDSrWcyqbMzfe4V1/mLV9uXIQUHXv0Brx6D7ustuo=",
"AppCheckerResult.sarif": "C8_/n9/O0v3gB6mGRUkZG+CehnqJVTNpustJ1KetBvDqCE=",
"AppTests\\2.json": "C8_e7iNKGdPmvGBQG8t0GHgxl3LWfan9OmlJR4cLuSEmT0=",
"Assets\\Images\\0001.png": "C8_D0WGiAaxVuIcUWpkdQuVcyQy/gSJZuMRDwL63zxJhAk=",
"Assets\\Images\\0002.jpg": "C8_Tc/HGdQ62xbtBm/41G1l7DIpMm/RT0cgmhtJyanyURs=",
"Controls\\1.json": "C8_kmQ9ZBliKRUlK7WAiimFjKljGhL8xYPYPAr39QvEmuI=",
"Controls\\4.json": "C8_vQkaLCrbv9rhSww07MKfTzYJCKV0fd04HIP5BU1XhfM=",
"Header.json": "C8_6PMJDPG0OBiCrxLI1W08EUlpcVIZUS+RB4g5BUXoEoc=",
"Properties.json": "C8_KdF+cDIaLbTSPBCHxkbr+EuLe7Y3Xv42636bjVQ6ZgI=",
"Controls\\4.json": "C8_UzQBT8r2aHCnFSrrDXD1gawXP+OtnEqGepSyPVt2FlQ=",
"Header.json": "C8_H4tcRgyU6qKYEARRnDjkZZvIxwPxsLFF9hHdTMxfAJg=",
"Properties.json": "C8_vkDA98CuOGStuURxvD4qfAmJzZqqf7bdi7YgOh1Llng=",
"References\\DataSources.json": "C8_HSfaKIHBSrozd6pU4Lq8MXevnM/JO2VFylYmHHkb9So=",
"References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=",
"References\\QualifiedValues.json": "C8_El4FiKqe0MNuyanHlgG0pvhEijIXFigAGYgvdl/aCtk=",
......@@ -20,16 +20,16 @@
"References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=",
"Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs="
},
"ClientStampedChecksum": "C8_gdjUDYGRtusJ4nmekxuZteb0oB5Fj0ov+slbyxdE7TY=",
"ClientStampedChecksum": "C8_f4PLIcvCX/tnjSReYOQXFyWxl4xk94C5Rf9gSdHbP8M=",
"ServerPerFileChecksums": {
"AppCheckerResult.sarif": "C8_bNIDSrWcyqbMzfe4V1/mLV9uXIQUHXv0Brx6D7ustuo=",
"AppCheckerResult.sarif": "C8_/n9/O0v3gB6mGRUkZG+CehnqJVTNpustJ1KetBvDqCE=",
"AppTests\\2.json": "C8_e7iNKGdPmvGBQG8t0GHgxl3LWfan9OmlJR4cLuSEmT0=",
"Assets\\Images\\0001.png": "C8_D0WGiAaxVuIcUWpkdQuVcyQy/gSJZuMRDwL63zxJhAk=",
"Assets\\Images\\0002.jpg": "C8_Tc/HGdQ62xbtBm/41G1l7DIpMm/RT0cgmhtJyanyURs=",
"Controls\\1.json": "C8_kmQ9ZBliKRUlK7WAiimFjKljGhL8xYPYPAr39QvEmuI=",
"Controls\\4.json": "C8_vQkaLCrbv9rhSww07MKfTzYJCKV0fd04HIP5BU1XhfM=",
"Header.json": "C8_6PMJDPG0OBiCrxLI1W08EUlpcVIZUS+RB4g5BUXoEoc=",
"Properties.json": "C8_KdF+cDIaLbTSPBCHxkbr+EuLe7Y3Xv42636bjVQ6ZgI=",
"Controls\\4.json": "C8_UzQBT8r2aHCnFSrrDXD1gawXP+OtnEqGepSyPVt2FlQ=",
"Header.json": "C8_H4tcRgyU6qKYEARRnDjkZZvIxwPxsLFF9hHdTMxfAJg=",
"Properties.json": "C8_vkDA98CuOGStuURxvD4qfAmJzZqqf7bdi7YgOh1Llng=",
"References\\DataSources.json": "C8_HSfaKIHBSrozd6pU4Lq8MXevnM/JO2VFylYmHHkb9So=",
"References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=",
"References\\QualifiedValues.json": "C8_El4FiKqe0MNuyanHlgG0pvhEijIXFigAGYgvdl/aCtk=",
......@@ -38,5 +38,5 @@
"References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=",
"Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs="
},
"ServerStampedChecksum": "C8_gdjUDYGRtusJ4nmekxuZteb0oB5Fj0ov+slbyxdE7TY="
"ServerStampedChecksum": "C8_f4PLIcvCX/tnjSReYOQXFyWxl4xk94C5Rf9gSdHbP8M="
}
\ No newline at end of file
......@@ -294,11 +294,12 @@ BaseScreen As screen:
textinput1.Text; // you
behave1.SelectedText.'data-ADB4D7A662F548B49FAC2B986E348A1BVal'; // sys
// Send to Azure
Set(assiresp, "");
Set(assiresp, ConnectAzureOpenai.Run(textinput1.Text, Creativity, behave1.SelectedText.'data-ADB4D7A662F548B49FAC2B986E348A1BVal')); // Assi
// write into collection
msgcnt+1;
Collect(gptconv, {cnt: msgcnt, sys: behave1.SelectedText.'data-ADB4D7A662F548B49FAC2B986E348A1BVal', you: textinput1.Text, assi: ""});
Collect(gptconv, {cnt: msgcnt, sys: behave1.SelectedText.'data-ADB4D7A662F548B49FAC2B986E348A1BVal', you: textinput1.Text, assi: assiresp});
);
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment