diff --git a/fluentui-ard/CanvasManifest.json b/fluentui-ard/CanvasManifest.json index cffa7e3fbb64ffc89cf045309b43bd98bb60acfc..64bd46baf15044c44576355a5cea2eb4c95f86a5 100644 --- a/fluentui-ard/CanvasManifest.json +++ b/fluentui-ard/CanvasManifest.json @@ -98,7 +98,7 @@ "zeroalltabindexes": false }, "Author": "", - "BindingErrorCount": 4, + "BindingErrorCount": 0, "ContainsThirdPartyPcfControls": false, "DefaultConnectedDataSourceMaxGetRowsCount": 500, "DocumentAppType": "Phone", diff --git a/fluentui-ard/Connections/Connections.json b/fluentui-ard/Connections/Connections.json index fcdb5f2a4d852dce029f2d08db86af0e294aecb5..2ce78d8357ea695d382a3bea13c76b4da273e962 100644 --- a/fluentui-ard/Connections/Connections.json +++ b/fluentui-ard/Connections/Connections.json @@ -1,25 +1,11 @@ { - "4f97c1a9-66e5-4408-9cd9-6d91353932e7": { - "connectionRef": { - "displayName": "Office 365 Outlook", - "iconUri": "https://connectoricons-prod.azureedge.net/releases/v1.0.1669/1.0.1669.3522/office365/icon.png", - "id": "/providers/microsoft.powerapps/apis/shared_office365" - }, - "datasets": {}, - "dataSources": [], - "dependencies": {}, - "dependents": [ - "9024110d-ec99-4692-a8c4-ae3df88fb2b0" - ], - "id": "4f97c1a9-66e5-4408-9cd9-6d91353932e7" - }, - "8d0ac8b6-b414-46a6-9562-152be887d129": { + "402ca609-ff1d-4189-bee6-bf17d393613c": { "connectionRef": { "displayName": "Logic flows", "iconUri": "https://connectoricons-prod.azureedge.net/releases/v1.0.1664/1.0.1664.3477/logicflows/icon.png", "id": "/providers/microsoft.powerapps/apis/shared_logicflows", "parameterHints": { - "9e008e24-7586-45ee-80c7-f21b7fdaa579": { + "792f515e-a114-4545-812d-811320e937ae": { "value": "shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50" }, "workflowEntityId": { @@ -31,7 +17,7 @@ }, "parameterHintsV2": { "shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50": { - "value": "9e008e24-7586-45ee-80c7-f21b7fdaa579" + "value": "792f515e-a114-4545-812d-811320e937ae" }, "workflowEntityId": { "value": "921001dc-f7aa-ee11-be37-0022488291be" @@ -46,10 +32,38 @@ "ConnectAzureOpenai" ], "dependencies": { - "shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50": "9e008e24-7586-45ee-80c7-f21b7fdaa579" + "shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50": "792f515e-a114-4545-812d-811320e937ae" }, "dependents": [], - "id": "8d0ac8b6-b414-46a6-9562-152be887d129" + "id": "402ca609-ff1d-4189-bee6-bf17d393613c" + }, + "4f97c1a9-66e5-4408-9cd9-6d91353932e7": { + "connectionRef": { + "displayName": "Office 365 Outlook", + "iconUri": "https://connectoricons-prod.azureedge.net/releases/v1.0.1669/1.0.1669.3522/office365/icon.png", + "id": "/providers/microsoft.powerapps/apis/shared_office365" + }, + "datasets": {}, + "dataSources": [], + "dependencies": {}, + "dependents": [ + "9024110d-ec99-4692-a8c4-ae3df88fb2b0" + ], + "id": "4f97c1a9-66e5-4408-9cd9-6d91353932e7" + }, + "792f515e-a114-4545-812d-811320e937ae": { + "connectionRef": { + "displayName": "Azure-openai-connector", + "iconUri": "https://prodapiicons.cdn.powerappscdn.net/20231208t000000z6ddcf09938484bbb86659a4f81d8d185/customconnectoricon.png", + "id": "/providers/microsoft.powerapps/apis/shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50" + }, + "datasets": {}, + "dataSources": [], + "dependencies": {}, + "dependents": [ + "402ca609-ff1d-4189-bee6-bf17d393613c" + ], + "id": "792f515e-a114-4545-812d-811320e937ae" }, "9024110d-ec99-4692-a8c4-ae3df88fb2b0": { "connectionRef": { @@ -89,20 +103,6 @@ "dependents": [], "id": "9024110d-ec99-4692-a8c4-ae3df88fb2b0" }, - "9e008e24-7586-45ee-80c7-f21b7fdaa579": { - "connectionRef": { - "displayName": "Azure-openai-connector", - "iconUri": "https://prodapiicons.cdn.powerappscdn.net/20231208t000000z6ddcf09938484bbb86659a4f81d8d185/customconnectoricon.png", - "id": "/providers/microsoft.powerapps/apis/shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50" - }, - "datasets": {}, - "dataSources": [], - "dependencies": {}, - "dependents": [ - "8d0ac8b6-b414-46a6-9562-152be887d129" - ], - "id": "9e008e24-7586-45ee-80c7-f21b7fdaa579" - }, "dd997e22-3bdb-48cb-af6f-587b3b988bb4": { "connectionRef": { "displayName": "Office 365 Outlook", diff --git a/fluentui-ard/Entropy/AppCheckerResult.sarif b/fluentui-ard/Entropy/AppCheckerResult.sarif index 42079f4d6fb34178dbd56cc28ba9a23152dcf80d..216eaef7bc3d37eec38254963aca8d24f17eb3ff 100644 --- a/fluentui-ard/Entropy/AppCheckerResult.sarif +++ b/fluentui-ard/Entropy/AppCheckerResult.sarif @@ -14,39 +14,28 @@ { "logicalLocations": [ { - "fullyQualifiedName": "Screen1.ConFkt1.SendMail1.OnSelect" + "fullyQualifiedName": "Screen1" } ], "physicalLocation": { "address": { - "fullyQualifiedName": "Screen1.ConFkt1.SendMail1.OnSelect", + "fullyQualifiedName": "Screen1", "relativeAddress": 0 - }, - "region": { - "charLength": 11, - "charOffset": 104, - "snippet": { - "text": "varRespMail" - } } }, "properties": { - "member": "OnSelect", "module": "Screen1", - "type": "Screen1.ConFkt1.SendMail1" + "type": "Screen1" } } ], "message": { - "arguments": [ - "varRespMail" - ], "id": "issue" }, "properties": { - "level": "High" + "level": "Low" }, - "ruleId": "app-ErrInvalidName", + "ruleId": "acc-ReadableScreenNameNeeded", "ruleIndex": 0 }, { @@ -54,39 +43,29 @@ { "logicalLocations": [ { - "fullyQualifiedName": "Screen1.ConFkt1.SendMail1.OnSelect" + "fullyQualifiedName": "Screen1.ConFkt1.SendMail1.FocusedBorderThickness" } ], "physicalLocation": { "address": { - "fullyQualifiedName": "Screen1.ConFkt1.SendMail1.OnSelect", + "fullyQualifiedName": "Screen1.ConFkt1.SendMail1.FocusedBorderThickness", "relativeAddress": 0 - }, - "region": { - "charLength": 86, - "charOffset": 30, - "snippet": { - "text": "Office365Outlook.SendEmailV2(\"manuel.geyer@rbb-online.de\",\"### test ###\", varRespMail)" - } } }, "properties": { - "member": "OnSelect", + "member": "FocusedBorderThickness", "module": "Screen1", "type": "Screen1.ConFkt1.SendMail1" } } ], "message": { - "arguments": [ - "SendEmailV2" - ], "id": "issue" }, "properties": { - "level": "High" + "level": "Medium" }, - "ruleId": "app-ErrInvalidArgs-Func", + "ruleId": "acc-FocusBorderShouldBeVisible", "ruleIndex": 1 }, { @@ -94,111 +73,31 @@ { "logicalLocations": [ { - "fullyQualifiedName": "Screen1.ConSend.send1.OnSelect" + "fullyQualifiedName": "Screen1.ConFkt1.SendMail1.TabIndex" } ], "physicalLocation": { "address": { - "fullyQualifiedName": "Screen1.ConSend.send1.OnSelect", + "fullyQualifiedName": "Screen1.ConFkt1.SendMail1.TabIndex", "relativeAddress": 0 - }, - "region": { - "charLength": 6, - "charOffset": 165, - "snippet": { - "text": ".float" - } } }, "properties": { - "member": "OnSelect", - "module": "Screen1", - "type": "Screen1.ConSend.send1" - } - } - ], - "message": { - "arguments": [ - "float" - ], - "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": 58, - "charOffset": 114, - "snippet": { - "text": "ConnectAzureOpenai.Run(textinput1.Text, Creativity1.float)" - } - } - }, - "properties": { - "member": "OnSelect", + "member": "TabIndex", "module": "Screen1", - "type": "Screen1.ConSend.send1" + "type": "Screen1.ConFkt1.SendMail1" } } ], "message": { - "arguments": [ - "2", - "1" - ], "id": "issue" }, "properties": { - "level": "High" + "level": "Medium" }, - "ruleId": "app-ErrBadArity", + "ruleId": "acc-TabIndexShouldBeDefinedForInteractiveControl", "ruleIndex": 2 }, - { - "locations": [ - { - "logicalLocations": [ - { - "fullyQualifiedName": "Screen1" - } - ], - "physicalLocation": { - "address": { - "fullyQualifiedName": "Screen1", - "relativeAddress": 0 - } - }, - "properties": { - "module": "Screen1", - "type": "Screen1" - } - } - ], - "message": { - "id": "issue" - }, - "properties": { - "level": "Low" - }, - "ruleId": "acc-ReadableScreenNameNeeded", - "ruleIndex": 3 - }, { "locations": [ { @@ -227,7 +126,7 @@ "level": "Medium" }, "ruleId": "acc-AccessibleLabelNeeded", - "ruleIndex": 4 + "ruleIndex": 3 }, { "locations": [ @@ -257,7 +156,7 @@ "level": "Low" }, "ruleId": "acc-TabOrderShouldBeChecked", - "ruleIndex": 5 + "ruleIndex": 4 }, { "locations": [ @@ -287,7 +186,7 @@ "level": "Medium" }, "ruleId": "acc-FocusBorderShouldBeVisible", - "ruleIndex": 6 + "ruleIndex": 1 }, { "locations": [ @@ -317,7 +216,7 @@ "level": "Low" }, "ruleId": "acc-TabOrderShouldBeChecked", - "ruleIndex": 5 + "ruleIndex": 4 }, { "locations": [ @@ -347,7 +246,7 @@ "level": "Medium" }, "ruleId": "acc-AccessibleLabelNeeded", - "ruleIndex": 4 + "ruleIndex": 3 }, { "locations": [ @@ -377,7 +276,7 @@ "level": "Medium" }, "ruleId": "acc-HelpfulControlSettingNeeded", - "ruleIndex": 7 + "ruleIndex": 5 }, { "locations": [ @@ -407,7 +306,7 @@ "level": "Medium" }, "ruleId": "acc-AccessibleLabelNeeded", - "ruleIndex": 4 + "ruleIndex": 3 }, { "locations": [ @@ -437,7 +336,7 @@ "level": "Low" }, "ruleId": "acc-TabOrderShouldBeChecked", - "ruleIndex": 5 + "ruleIndex": 4 }, { "locations": [ @@ -467,7 +366,7 @@ "level": "Medium" }, "ruleId": "app-UnusedMediaResources", - "ruleIndex": 8 + "ruleIndex": 6 } ], "tool": { @@ -476,65 +375,54 @@ "name": "PowerApps app checker", "rules": [ { - "id": "app-ErrInvalidName", + "id": "acc-ReadableScreenNameNeeded", "messageStrings": { "issue": { - "text": "Name isn't valid. '{0}' isn't recognized." + "text": "Revise screen name" } }, "properties": { "componentType": "app", "howToFix": [ - "Remove or correct the reference to the name that isn't valid." + "Give the screen a title that describes what's on the screen or what it's used for." ], - "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": "" + "level": "Low", + "primaryCategory": "accessibility", + "whyFix": "People who are blind, have low vision, or a reading disability rely on screen titles to navigate using the screen reader. " } }, { - "id": "app-ErrBadArity", + "id": "acc-FocusBorderShouldBeVisible", "messageStrings": { "issue": { - "text": "Invalid number of arguments: received {0}, expected {1}." + "text": "Focus isn't showing" } }, "properties": { "componentType": "app", - "level": "High", - "primaryCategory": "formula", - "whyFix": "" + "howToFix": [ + "Change the FocusedBorderThickness property to be more than 0." + ], + "level": "Medium", + "primaryCategory": "accessibility", + "whyFix": "If the focus isn't visible, people who don't use a mouse won't be able to see it when they're interacting with the app." } }, { - "id": "acc-ReadableScreenNameNeeded", + "id": "acc-TabIndexShouldBeDefinedForInteractiveControl", "messageStrings": { "issue": { - "text": "Revise screen name" + "text": "Missing tab stop" } }, "properties": { "componentType": "app", "howToFix": [ - "Give the screen a title that describes what's on the screen or what it's used for." + "Set TabIndex to 0 or greater to ensure that interactive elements have a tab stop." ], - "level": "Low", + "level": "Medium", "primaryCategory": "accessibility", - "whyFix": "People who are blind, have low vision, or a reading disability rely on screen titles to navigate using the screen reader. " + "whyFix": "People who use the keyboard with your app will not be able to access this element without a tab stop." } }, { @@ -571,23 +459,6 @@ "whyFix": "When a screen reader reads the elements of a slide, it's important that they appear in the order that a user would see them, instead of the order they were added to the slide." } }, - { - "id": "acc-FocusBorderShouldBeVisible", - "messageStrings": { - "issue": { - "text": "Focus isn't showing" - } - }, - "properties": { - "componentType": "app", - "howToFix": [ - "Change the FocusedBorderThickness property to be more than 0." - ], - "level": "Medium", - "primaryCategory": "accessibility", - "whyFix": "If the focus isn't visible, people who don't use a mouse won't be able to see it when they're interacting with the app." - } - }, { "id": "acc-HelpfulControlSettingNeeded", "messageStrings": { diff --git a/fluentui-ard/Entropy/Entropy.json b/fluentui-ard/Entropy/Entropy.json index 94567c1342c3f4b4f8f0951a70848dc3f3c29314..8d03366fae029007ef3c2e5c21811d52ff567eb9 100644 --- a/fluentui-ard/Entropy/Entropy.json +++ b/fluentui-ard/Entropy/Entropy.json @@ -21,13 +21,13 @@ }, "FunctionParamsInvariantScripts": {}, "FunctionParamsInvariantScriptsOnInstances": {}, - "HeaderLastSavedDateTimeUTC": "01/15/2024 07:56:14", + "HeaderLastSavedDateTimeUTC": "01/15/2024 08:07:43", "IsLegacyComponentAllowGlobalScopeCase": false, "LocalConnectionIDReferences": { + "402ca609-ff1d-4189-bee6-bf17d393613c": "\"/providers/Microsoft.PowerApps/apis/shared_logicflows/connections/EC84356E395FAA1B0FDF1C7E126B562E-C1654A69E558FC9F\"", "4f97c1a9-66e5-4408-9cd9-6d91353932e7": "\"/providers/microsoft.powerapps/apis/shared_office365/connections/shared-office365-691d88fb-dc12-4d7f-afc5-caaebbf651d6\"", - "8d0ac8b6-b414-46a6-9562-152be887d129": "\"/providers/microsoft.powerapps/apis/shared_logicflows/connections/ec84356e395faa1b0fdf1c7e126b562e-c1654a69e558fc9f\"", + "792f515e-a114-4545-812d-811320e937ae": "\"/providers/microsoft.powerapps/apis/shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50/connections/shared-azure-2dopena-3f4cdc89-63b5-4018-882d-1f1c97eb18e0\"", "9024110d-ec99-4692-a8c4-ae3df88fb2b0": "\"/providers/microsoft.powerapps/apis/shared_logicflows/connections/38d6e5b5b5fa999a16ebdf0aa169572f-c1654a69e558fc9f\"", - "9e008e24-7586-45ee-80c7-f21b7fdaa579": "\"/providers/microsoft.powerapps/apis/shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50/connections/shared-azure-2dopena-3f4cdc89-63b5-4018-882d-1f1c97eb18e0\"", "dd997e22-3bdb-48cb-af6f-587b3b988bb4": "\"/providers/microsoft.powerapps/apis/shared_office365/connections/shared-office365-4f712e21-7360-4723-a8e1-b17877eae069\"" }, "LocalDatabaseReferencesAsEmpty": false, diff --git a/fluentui-ard/Entropy/checksum.json b/fluentui-ard/Entropy/checksum.json index 25a1b88c8232e409b6dd92014ca19f71c237d824..fff4813132dc5864894bc1d98cfc9dd50a664307 100644 --- a/fluentui-ard/Entropy/checksum.json +++ b/fluentui-ard/Entropy/checksum.json @@ -4,35 +4,35 @@ "IsLocalBuild": false }, "ClientPerFileChecksums": { - "AppCheckerResult.sarif": "C8_0GdAMLber9IFsUfoDs2bqXXFZf7NaXFMIKM7SryzOl0=", + "AppCheckerResult.sarif": "C8_B7QS9IAuh4ZQDqU9CuerBDTo+JJ6k5lRsJWHDfDdz/U=", "Assets\\Images\\0001.png": "C8_D0WGiAaxVuIcUWpkdQuVcyQy/gSJZuMRDwL63zxJhAk=", "Assets\\Images\\0002.jpg": "C8_Tc/HGdQ62xbtBm/41G1l7DIpMm/RT0cgmhtJyanyURs=", "Controls\\1.json": "C8_/PwNEU6dV00x9Xr4Yt93zX1EmsxAh36PVgOdFy9WD8g=", - "Controls\\4.json": "C8_FVWfU8MnJHTdMgv8wHCBp6lds6hon+18ryloF7SksmA=", - "Header.json": "C8_Xx42jNjv4XNajqhWVBnl8EQ2mH0HtBwiB3j/2DXuy/E=", - "Properties.json": "C8_PV6yy0n4PWzQcVKv91HmvbtdQ4Wv3ZXPndvb196Dw9s=", - "References\\DataSources.json": "C8_qxHlSGjI1/gMkJLOaasKKGfYusaY9/2xy/2UacxP94g=", + "Controls\\4.json": "C8_04mW9wglKoHUnsNQihgSc7hkULtIZmghTybyJBjMH0Y=", + "Header.json": "C8_xDbETFh9GxkzhCNssIYbVspeaCNQp/Tc0pna08XTyAY=", + "Properties.json": "C8_+Gvh+QJVah1s+U1H2vFjt5Rj1OKc2qWmdPDnKuJXNRw=", + "References\\DataSources.json": "C8_j1tKKAOYDTkGHfiN7TTDXqWDGAT05nDhkMTD/v32als=", "References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=", "References\\Resources.json": "C8_UMTMqs1BZIxG/WCVvgkZm/xMB/Clxy5pUBUMWVF0nQY=", "References\\Templates.json": "C8_ncYLbCcG9Fg3yhYQo5Q3ONl/lxkBYFl9NfZxgS4LDvQ=", "References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=", "Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs=" }, - "ClientStampedChecksum": "C8_ke14ENp6okE5HUj3MUx6w4lSwQ7WRj7Y8e9SG8dvaps=", + "ClientStampedChecksum": "C8_aag11XCDX7Jse1veVyqSLpSuKMoSr6nzQd/9t5It5xY=", "ServerPerFileChecksums": { - "AppCheckerResult.sarif": "C8_0GdAMLber9IFsUfoDs2bqXXFZf7NaXFMIKM7SryzOl0=", + "AppCheckerResult.sarif": "C8_B7QS9IAuh4ZQDqU9CuerBDTo+JJ6k5lRsJWHDfDdz/U=", "Assets\\Images\\0001.png": "C8_D0WGiAaxVuIcUWpkdQuVcyQy/gSJZuMRDwL63zxJhAk=", "Assets\\Images\\0002.jpg": "C8_Tc/HGdQ62xbtBm/41G1l7DIpMm/RT0cgmhtJyanyURs=", "Controls\\1.json": "C8_/PwNEU6dV00x9Xr4Yt93zX1EmsxAh36PVgOdFy9WD8g=", - "Controls\\4.json": "C8_FVWfU8MnJHTdMgv8wHCBp6lds6hon+18ryloF7SksmA=", - "Header.json": "C8_Xx42jNjv4XNajqhWVBnl8EQ2mH0HtBwiB3j/2DXuy/E=", - "Properties.json": "C8_PV6yy0n4PWzQcVKv91HmvbtdQ4Wv3ZXPndvb196Dw9s=", - "References\\DataSources.json": "C8_qxHlSGjI1/gMkJLOaasKKGfYusaY9/2xy/2UacxP94g=", + "Controls\\4.json": "C8_04mW9wglKoHUnsNQihgSc7hkULtIZmghTybyJBjMH0Y=", + "Header.json": "C8_xDbETFh9GxkzhCNssIYbVspeaCNQp/Tc0pna08XTyAY=", + "Properties.json": "C8_+Gvh+QJVah1s+U1H2vFjt5Rj1OKc2qWmdPDnKuJXNRw=", + "References\\DataSources.json": "C8_j1tKKAOYDTkGHfiN7TTDXqWDGAT05nDhkMTD/v32als=", "References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=", "References\\Resources.json": "C8_UMTMqs1BZIxG/WCVvgkZm/xMB/Clxy5pUBUMWVF0nQY=", "References\\Templates.json": "C8_ncYLbCcG9Fg3yhYQo5Q3ONl/lxkBYFl9NfZxgS4LDvQ=", "References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=", "Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs=" }, - "ServerStampedChecksum": "C8_ke14ENp6okE5HUj3MUx6w4lSwQ7WRj7Y8e9SG8dvaps=" + "ServerStampedChecksum": "C8_aag11XCDX7Jse1veVyqSLpSuKMoSr6nzQd/9t5It5xY=" } \ No newline at end of file diff --git a/fluentui-ard/Src/Screen1.fx.yaml b/fluentui-ard/Src/Screen1.fx.yaml index 29a987c98bf322f1ee57869850f2ee0899a9ecd6..23d55b1345a0733e5e243e554c6cd6f6ee486e31 100644 --- a/fluentui-ard/Src/Screen1.fx.yaml +++ b/fluentui-ard/Src/Screen1.fx.yaml @@ -60,7 +60,7 @@ Screen1 As screen: Height: =ConFkt1.Height/2 HoverBorderColor: =RGBA(0, 52, 128, 1) LabelPaddingLeft: =7 - OnChange: =0.9 + OnChange: = OnCheck: =false PressedBorderColor: =RGBA(0, 52, 128, 1) ShowLabel: =false @@ -138,7 +138,7 @@ Screen1 As screen: Icon: =Icon.Mail OnSelect: |- =//MailMyChatbox.Run(varResp); - Office365Outlook.SendEmailV2("manuel.geyer@rbb-online.de","### test ###", varRespMail); + Office365Outlook.SendEmailV2("manuel.geyer@rbb-online.de","### test ###", varResp); //Office365Outlook.SendEmailV2("manuel.geyer@rbb-online.de","#RBB - TK-Formular-mob-TK" & " " & TextInput_Betreff.Text,TextInput_Nachricht.Text & "<br><br>" & "RBB - PowerPlatform") PressedBorderColor: =RGBA(0, 0, 0, 0) PressedColor: =RGBA(251, 188, 159, 1) @@ -247,8 +247,8 @@ Screen1 As screen: HoverFill: =RGBA(0, 0, 0, 0) Icon: =Icon.Send OnSelect: |- - =If(!IsBlank(textinput1.Text), Set(varResp, varResp & Char(10) & textinput1.Text & Char(10) & Char(10) & "GPT: " & ConnectAzureOpenai.Run(textinput1.Text, Creativity1.float).assi & Char(10))); - //If(!IsBlank(textinput1.Text), Set(varRespMail, varRespMail & "<br>" & textinput1.Text & "<br>" & "<br>" & "GPT: " & ConnectAzureOpenai.Run(textinput1.Text).assi & "<br>")); + =If(!IsBlank(textinput1.Text), Set(varResp, varResp & Char(10) & textinput1.Text & Char(10) & Char(10) & "GPT: " & ConnectAzureOpenai.Run(textinput1.Text, Creativity1.Value).assi & Char(10))); + //If(!IsBlank(textinput1.Text), Set(varRespMail, varRespMail & "<br>" & textinput1.Text & "<br>" & "<br>" & "GPT: " & ConnectAzureOpenai.Run(textinput1.Text, Creativity1.Value).assi & "<br>")); Reset(textinput1); Notify("ChatGPT asked", NotificationType.Success, 1000); PressedBorderColor: =RGBA(0, 0, 0, 0) diff --git a/fluentui-ard/pkgs/Wadl/ConnectAzureOpenai.xml b/fluentui-ard/pkgs/Wadl/ConnectAzureOpenai.xml index 3ac95294f1b31e03fec50df2731868788e963563..252bf3d9e7a19ec6d3d779664681f523191cf393 100644 --- a/fluentui-ard/pkgs/Wadl/ConnectAzureOpenai.xml +++ b/fluentui-ard/pkgs/Wadl/ConnectAzureOpenai.xml @@ -3,8 +3,10 @@ <grammars> <jsonTypes targetNamespace="https://europe-002.azure-apim.net/apim/logicflows" xmlns="http://schemas.microsoft.com/MicrosoftProjectSiena/WADL/2014/11"> <string name="ManualTriggerInput_text_def" /> + <number name="ManualTriggerInput_number_def" /> <object name="ManualTriggerInput"> <property name="text" type="string" /> + <property name="number" type="number" /> </object> <string name="ResponseActionOutput_assi_def" /> <object name="ResponseActionOutput"> @@ -24,7 +26,10 @@ </param> <representation mediaType="application/json"> <param style="plain" name="text" path="/text" type="xs:string" required="true"> - <doc title="promptfromapp" /> + <doc title="prompt1" /> + </param> + <param style="plain" name="number" path="/number" type="xs:double" required="true"> + <doc title="creativity1" /> </param> </representation> </request>