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

Commit

parent 9199a358
Branches
No related tags found
No related merge requests found
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
"zeroalltabindexes": false "zeroalltabindexes": false
}, },
"Author": "", "Author": "",
"BindingErrorCount": 3, "BindingErrorCount": 0,
"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": 1, "ParserErrorCount": 0,
"ShowStatusBar": false "ShowStatusBar": false
}, },
"PublishInfo": { "PublishInfo": {
......
...@@ -9,163 +9,6 @@ ...@@ -9,163 +9,6 @@
} }
], ],
"results": [ "results": [
{
"locations": [
{
"logicalLocations": [
{
"fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect"
}
],
"physicalLocation": {
"address": {
"fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect",
"relativeAddress": 0
},
"region": {
"charLength": 1,
"charOffset": 463,
"snippet": {
"text": ")"
}
}
},
"properties": {
"member": "OnSelect",
"module": "BaseScreen",
"type": "BaseScreen.ConSend.send1"
}
}
],
"message": {
"id": "issue"
},
"properties": {
"level": "High"
},
"ruleId": "app-ErrBadToken",
"ruleIndex": 0
},
{
"locations": [
{
"logicalLocations": [
{
"fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect"
}
],
"physicalLocation": {
"address": {
"fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect",
"relativeAddress": 0
},
"region": {
"charLength": 8,
"charOffset": 438,
"snippet": {
"text": "variable"
}
}
},
"properties": {
"member": "OnSelect",
"module": "BaseScreen",
"type": "BaseScreen.ConSend.send1"
}
}
],
"message": {
"arguments": [
"variable"
],
"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": 28,
"charOffset": 430,
"snippet": {
"text": "Collect(variable,ThisRecord)"
}
}
},
"properties": {
"member": "OnSelect",
"module": "BaseScreen",
"type": "BaseScreen.ConSend.send1"
}
}
],
"message": {
"arguments": [
"Collect"
],
"id": "issue"
},
"properties": {
"level": "High"
},
"ruleId": "app-ErrInvalidArgs-Func",
"ruleIndex": 2
},
{
"locations": [
{
"logicalLocations": [
{
"fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect"
}
],
"physicalLocation": {
"address": {
"fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect",
"relativeAddress": 0
},
"region": {
"charLength": 52,
"charOffset": 408,
"snippet": {
"text": "ForAll( gptconv, \n Collect(variable,ThisRecord)\n)"
}
}
},
"properties": {
"member": "OnSelect",
"module": "BaseScreen",
"type": "BaseScreen.ConSend.send1"
}
}
],
"message": {
"arguments": [
"ForAll"
],
"id": "issue"
},
"properties": {
"level": "High"
},
"ruleId": "app-ErrInvalidArgs-Func",
"ruleIndex": 2
},
{ {
"locations": [ "locations": [
{ {
...@@ -194,24 +37,24 @@ ...@@ -194,24 +37,24 @@
"level": "Medium" "level": "Medium"
}, },
"ruleId": "acc-AccessibleLabelNeeded", "ruleId": "acc-AccessibleLabelNeeded",
"ruleIndex": 3 "ruleIndex": 0
}, },
{ {
"locations": [ "locations": [
{ {
"logicalLocations": [ "logicalLocations": [
{ {
"fullyQualifiedName": "App.assiresp" "fullyQualifiedName": "App.tmpp"
} }
], ],
"physicalLocation": { "physicalLocation": {
"address": { "address": {
"fullyQualifiedName": "App.assiresp", "fullyQualifiedName": "App.tmpp",
"relativeAddress": 0 "relativeAddress": 0
} }
}, },
"properties": { "properties": {
"member": "assiresp", "member": "tmpp",
"module": "App", "module": "App",
"type": "App" "type": "App"
} }
...@@ -224,7 +67,7 @@ ...@@ -224,7 +67,7 @@
"level": "Medium" "level": "Medium"
}, },
"ruleId": "app-UnusedVariables", "ruleId": "app-UnusedVariables",
"ruleIndex": 4 "ruleIndex": 1
}, },
{ {
"locations": [ "locations": [
...@@ -254,7 +97,7 @@ ...@@ -254,7 +97,7 @@
"level": "Medium" "level": "Medium"
}, },
"ruleId": "app-UnusedMediaResources", "ruleId": "app-UnusedMediaResources",
"ruleIndex": 5 "ruleIndex": 2
} }
], ],
"tool": { "tool": {
...@@ -262,54 +105,6 @@ ...@@ -262,54 +105,6 @@
"fullName": "PowerApps app checker", "fullName": "PowerApps app checker",
"name": "PowerApps app checker", "name": "PowerApps app checker",
"rules": [ "rules": [
{
"id": "app-ErrBadToken",
"messageStrings": {
"issue": {
"text": "Unexpected characters. Characters are used in the formula in an unexpected way."
}
},
"properties": {
"componentType": "app",
"howToFix": [
"Remove or replace the unexpected characters."
],
"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-ErrInvalidArgs-Func",
"messageStrings": {
"issue": {
"text": "The function '{0}' has some invalid arguments."
}
},
"properties": {
"componentType": "app",
"level": "High",
"primaryCategory": "formula",
"whyFix": ""
}
},
{ {
"id": "acc-AccessibleLabelNeeded", "id": "acc-AccessibleLabelNeeded",
"messageStrings": { "messageStrings": {
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
"DoesTestStepsMetadataExist": true, "DoesTestStepsMetadataExist": true,
"FunctionParamsInvariantScripts": {}, "FunctionParamsInvariantScripts": {},
"FunctionParamsInvariantScriptsOnInstances": {}, "FunctionParamsInvariantScriptsOnInstances": {},
"HeaderLastSavedDateTimeUTC": "01/29/2024 09:11:54", "HeaderLastSavedDateTimeUTC": "01/29/2024 09:27:56",
"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_EUD6UvyI/fGqWpb5SpLkaLBDCBsHGkx77NnFYyRgmCM=", "AppCheckerResult.sarif": "C8_bNIDSrWcyqbMzfe4V1/mLV9uXIQUHXv0Brx6D7ustuo=",
"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_Qvewe6Vv7unA6zxUj2V1tD6DAuZrsiOIWlcYVQxIEqo=", "Controls\\1.json": "C8_P9paqpJTgnU2/+m3Ksa0XU9dqEvd9k/aCgxsrST6Ck8=",
"Controls\\4.json": "C8_d9Dexi37q/4kSSosuBvmp4x/Dry2/GbF3F9O2gqqlcs=", "Controls\\4.json": "C8_bOKCsgzxe+Roxg3hqK5/bGHStl8c0Hw0lWJ5bBxyoNs=",
"Header.json": "C8_MXX9l9qPBtDHba5zPlr8uygRHZVF+3wOdDmjAoHsxCM=", "Header.json": "C8_AyOmouiEfH1lQbpNtcbIaOlkeZtq4LrnQ9xXkD0fqo0=",
"Properties.json": "C8_AC2j2Rf1Bwv9mqM5xlnT62U9MTVC1D4/uZuZYQr1O8I=", "Properties.json": "C8_KdF+cDIaLbTSPBCHxkbr+EuLe7Y3Xv42636bjVQ6ZgI=",
"References\\DataSources.json": "C8_HSfaKIHBSrozd6pU4Lq8MXevnM/JO2VFylYmHHkb9So=", "References\\DataSources.json": "C8_HSfaKIHBSrozd6pU4Lq8MXevnM/JO2VFylYmHHkb9So=",
"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_Qz8egJEjT6mxPm6G/nx7CtwiykXvDTYzhW6+JXno8Bk=", "ClientStampedChecksum": "C8_IK6ZbGGftsABVSgstU9b+Cb9prYJWALAbunYcZZ1X9c=",
"ServerPerFileChecksums": { "ServerPerFileChecksums": {
"AppCheckerResult.sarif": "C8_EUD6UvyI/fGqWpb5SpLkaLBDCBsHGkx77NnFYyRgmCM=", "AppCheckerResult.sarif": "C8_bNIDSrWcyqbMzfe4V1/mLV9uXIQUHXv0Brx6D7ustuo=",
"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_Qvewe6Vv7unA6zxUj2V1tD6DAuZrsiOIWlcYVQxIEqo=", "Controls\\1.json": "C8_P9paqpJTgnU2/+m3Ksa0XU9dqEvd9k/aCgxsrST6Ck8=",
"Controls\\4.json": "C8_d9Dexi37q/4kSSosuBvmp4x/Dry2/GbF3F9O2gqqlcs=", "Controls\\4.json": "C8_bOKCsgzxe+Roxg3hqK5/bGHStl8c0Hw0lWJ5bBxyoNs=",
"Header.json": "C8_MXX9l9qPBtDHba5zPlr8uygRHZVF+3wOdDmjAoHsxCM=", "Header.json": "C8_AyOmouiEfH1lQbpNtcbIaOlkeZtq4LrnQ9xXkD0fqo0=",
"Properties.json": "C8_AC2j2Rf1Bwv9mqM5xlnT62U9MTVC1D4/uZuZYQr1O8I=", "Properties.json": "C8_KdF+cDIaLbTSPBCHxkbr+EuLe7Y3Xv42636bjVQ6ZgI=",
"References\\DataSources.json": "C8_HSfaKIHBSrozd6pU4Lq8MXevnM/JO2VFylYmHHkb9So=", "References\\DataSources.json": "C8_HSfaKIHBSrozd6pU4Lq8MXevnM/JO2VFylYmHHkb9So=",
"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_Qz8egJEjT6mxPm6G/nx7CtwiykXvDTYzhW6+JXno8Bk=" "ServerStampedChecksum": "C8_IK6ZbGGftsABVSgstU9b+Cb9prYJWALAbunYcZZ1X9c="
} }
\ No newline at end of file
...@@ -15,7 +15,7 @@ App As appinfo: ...@@ -15,7 +15,7 @@ App As appinfo:
you: "", you: "",
assi: "" assi: ""
} }
) );
Theme: =PowerAppsTheme Theme: =PowerAppsTheme
Host As hostControl.DefaultHostControlVariant: Host As hostControl.DefaultHostControlVariant:
......
...@@ -295,15 +295,33 @@ BaseScreen As screen: ...@@ -295,15 +295,33 @@ BaseScreen As screen:
behave1.SelectedText.'data-ADB4D7A662F548B49FAC2B986E348A1BVal'; // sys behave1.SelectedText.'data-ADB4D7A662F548B49FAC2B986E348A1BVal'; // sys
// Send to Azure // Send to Azure
Set(assiresp, ConnectAzureOpenai.Run(textinput1.Text, Creativity, behave1.SelectedText.'data-ADB4D7A662F548B49FAC2B986E348A1BVal')); // Assi Set(assiresp, ConnectAzureOpenai.Run(textinput1.Text, Creativity, behave1.SelectedText.'data-ADB4D7A662F548B49FAC2B986E348A1BVal')); // Assi
// write into collection
Collect(gptconv, {cnt: msgcnt,Sys:" ",you:" ",assi:" "});
msgcnt+1;
); );
/*
Collect( IceCream,
{ Flavor: "Pistachio", Quantity: 40 }, { Flavor: "Orange", Quantity: 200 }
)
ClearCollect(
gptconv,
{
cnt: msgcnt,
Sys: "",
you: "",
assi: ""
}
)*/
// Store into Collection // Store into Collection
ForAll( gptconv, //ForAll( gptconv,
Collect(variable,ThisRecord) Collect(gptconv, {cnt: msgcnt,Sys:" ",you:" ",assi:" "});
); //);
);
// text out // text out
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment