├── InventAPI ├── InventoryOnHand │ ├── Connectors │ │ ├── new_inventapi-5Fconnector_connectionparameters.json │ │ ├── new_inventapi-5Fconnector_policytemplateinstances.json │ │ ├── new_inventapi-5Fconnector.xml │ │ └── new_inventapi-5Fconnector_openapidefinition.json │ ├── CanvasApps │ │ ├── src │ │ │ └── msbuild_inventonhand_2be80 │ │ │ │ ├── ComponentReferences.json │ │ │ │ ├── Src │ │ │ │ ├── App.fx.yaml │ │ │ │ ├── EditorState │ │ │ │ │ └── App.editorstate.json │ │ │ │ ├── Screen2.fx.yaml │ │ │ │ └── Screen1.fx.yaml │ │ │ │ ├── DataSources │ │ │ │ ├── InventAPI_Connector.json │ │ │ │ └── CustomGallerySample.json │ │ │ │ ├── Assets │ │ │ │ └── SampleImage.json │ │ │ │ ├── Connections │ │ │ │ └── Connections.json │ │ │ │ ├── Entropy │ │ │ │ ├── checksum.json │ │ │ │ ├── Entropy.json │ │ │ │ └── AppCheckerResult.sarif │ │ │ │ ├── pkgs │ │ │ │ ├── Wadl │ │ │ │ │ └── InventAPI_Connector.xml │ │ │ │ ├── rectangle_2.3.0.xml │ │ │ │ ├── label_2.5.1.xml │ │ │ │ └── text_2.3.2.xml │ │ │ │ ├── ControlTemplates.json │ │ │ │ └── CanvasManifest.json │ │ ├── msbuild_inventonhand_2be80_BackgroundImageUri │ │ ├── msbuild_inventonhand_2be80_DocumentUri.msapp │ │ └── msbuild_inventonhand_2be80.meta.xml │ └── Other │ │ ├── Customizations.xml │ │ └── Solution.xml ├── InventoryOnHand_managed.zip ├── InventoryOnHand_unmanaged.zip ├── appsettings.Development.json ├── appsettings.json ├── InventAPI.csproj ├── Properties │ └── launchSettings.json ├── Program.cs └── Models │ └── Invent.cs ├── Power Fx Demo ├── LegacyIntranet │ ├── wwwroot │ │ ├── favicon.ico │ │ ├── icon-192.png │ │ ├── css │ │ │ ├── open-iconic │ │ │ │ ├── font │ │ │ │ │ ├── fonts │ │ │ │ │ │ ├── open-iconic.eot │ │ │ │ │ │ ├── open-iconic.otf │ │ │ │ │ │ ├── open-iconic.ttf │ │ │ │ │ │ └── open-iconic.woff │ │ │ │ │ └── css │ │ │ │ │ │ └── open-iconic-bootstrap.min.css │ │ │ │ ├── ICON-LICENSE │ │ │ │ ├── README.md │ │ │ │ └── FONT-LICENSE │ │ │ └── app.css │ │ ├── sample-data │ │ │ └── products.json │ │ └── index.html │ ├── Pages │ │ ├── Index.razor │ │ ├── Counter.razor │ │ └── OurProducts.razor │ ├── _Imports.razor │ ├── Shared │ │ ├── MainLayout.razor │ │ ├── SurveyPrompt.razor │ │ ├── NavMenu.razor │ │ ├── NavMenu.razor.css │ │ └── MainLayout.razor.css │ ├── Program.cs │ ├── App.razor │ ├── LegacyIntranet.csproj │ └── Properties │ │ └── launchSettings.json └── LegacyIntranet.sln ├── InventAPI.sln ├── README.md ├── .gitattributes ├── .github └── workflows │ └── export-and-commit-solution.yml └── .gitignore /InventAPI/InventoryOnHand/Connectors/new_inventapi-5Fconnector_connectionparameters.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /InventAPI/InventoryOnHand/Connectors/new_inventapi-5Fconnector_policytemplateinstances.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /InventAPI/InventoryOnHand/CanvasApps/src/msbuild_inventonhand_2be80/ComponentReferences.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /InventAPI/InventoryOnHand_managed.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelbf/InventAPI/HEAD/InventAPI/InventoryOnHand_managed.zip -------------------------------------------------------------------------------- /InventAPI/InventoryOnHand_unmanaged.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelbf/InventAPI/HEAD/InventAPI/InventoryOnHand_unmanaged.zip -------------------------------------------------------------------------------- /Power Fx Demo/LegacyIntranet/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelbf/InventAPI/HEAD/Power Fx Demo/LegacyIntranet/wwwroot/favicon.ico -------------------------------------------------------------------------------- /Power Fx Demo/LegacyIntranet/wwwroot/icon-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelbf/InventAPI/HEAD/Power Fx Demo/LegacyIntranet/wwwroot/icon-192.png -------------------------------------------------------------------------------- /InventAPI/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /Power Fx Demo/LegacyIntranet/wwwroot/css/open-iconic/font/fonts/open-iconic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelbf/InventAPI/HEAD/Power Fx Demo/LegacyIntranet/wwwroot/css/open-iconic/font/fonts/open-iconic.eot -------------------------------------------------------------------------------- /Power Fx Demo/LegacyIntranet/wwwroot/css/open-iconic/font/fonts/open-iconic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelbf/InventAPI/HEAD/Power Fx Demo/LegacyIntranet/wwwroot/css/open-iconic/font/fonts/open-iconic.otf -------------------------------------------------------------------------------- /Power Fx Demo/LegacyIntranet/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelbf/InventAPI/HEAD/Power Fx Demo/LegacyIntranet/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf -------------------------------------------------------------------------------- /InventAPI/InventoryOnHand/CanvasApps/msbuild_inventonhand_2be80_BackgroundImageUri: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelbf/InventAPI/HEAD/InventAPI/InventoryOnHand/CanvasApps/msbuild_inventonhand_2be80_BackgroundImageUri -------------------------------------------------------------------------------- /InventAPI/InventoryOnHand/CanvasApps/msbuild_inventonhand_2be80_DocumentUri.msapp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelbf/InventAPI/HEAD/InventAPI/InventoryOnHand/CanvasApps/msbuild_inventonhand_2be80_DocumentUri.msapp -------------------------------------------------------------------------------- /InventAPI/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "AllowedHosts": "*" 9 | } 10 | -------------------------------------------------------------------------------- /Power Fx Demo/LegacyIntranet/wwwroot/css/open-iconic/font/fonts/open-iconic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelbf/InventAPI/HEAD/Power Fx Demo/LegacyIntranet/wwwroot/css/open-iconic/font/fonts/open-iconic.woff -------------------------------------------------------------------------------- /Power Fx Demo/LegacyIntranet/Pages/Index.razor: -------------------------------------------------------------------------------- 1 | @page "/" 2 | 3 | Index 4 | 5 |

Contoso Intranet

6 | 7 | Welcome to our Intranet website. 8 | 9 | 10 | -------------------------------------------------------------------------------- /InventAPI/InventoryOnHand/CanvasApps/src/msbuild_inventonhand_2be80/Src/App.fx.yaml: -------------------------------------------------------------------------------- 1 | App As appinfo: 2 | BackEnabled: =false 3 | 4 | Host As hostControl.DefaultHostControlVariant: 5 | OnCancel: =false 6 | OnEdit: =false 7 | OnNew: =false 8 | OnSave: =false 9 | OnView: =false 10 | 11 | -------------------------------------------------------------------------------- /InventAPI/InventoryOnHand/CanvasApps/src/msbuild_inventonhand_2be80/DataSources/InventAPI_Connector.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "ApiId": "/providers/microsoft.powerapps/apis/shared_new-5finventapi-5fconnector-5fad84488acc8b1b71", 4 | "Name": "InventAPI_Connector", 5 | "ServiceKind": "ConnectedWadl", 6 | "Type": "ServiceInfo" 7 | } 8 | ] -------------------------------------------------------------------------------- /Power Fx Demo/LegacyIntranet/Pages/Counter.razor: -------------------------------------------------------------------------------- 1 | @page "/counter" 2 | 3 | Counter 4 | 5 |

Counter

6 | 7 |

Current count: @currentCount

8 | 9 | 10 | 11 | @code { 12 | private int currentCount = 0; 13 | 14 | private void IncrementCount() 15 | { 16 | currentCount++; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Power Fx Demo/LegacyIntranet/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using System.Net.Http 2 | @using System.Net.Http.Json 3 | @using Microsoft.AspNetCore.Components.Forms 4 | @using Microsoft.AspNetCore.Components.Routing 5 | @using Microsoft.AspNetCore.Components.Web 6 | @using Microsoft.AspNetCore.Components.Web.Virtualization 7 | @using Microsoft.AspNetCore.Components.WebAssembly.Http 8 | @using Microsoft.JSInterop 9 | @using LegacyIntranet 10 | @using LegacyIntranet.Shared 11 | -------------------------------------------------------------------------------- /InventAPI/InventoryOnHand/CanvasApps/src/msbuild_inventonhand_2be80/Assets/SampleImage.json: -------------------------------------------------------------------------------- 1 | { 2 | "Content": "Image", 3 | "FileName": "/ctrllib/image/images/SampleImage.svg", 4 | "IsSampleData": true, 5 | "IsWritable": false, 6 | "Name": "SampleImage", 7 | "Path": "/ctrllib/image/images/SampleImage.svg", 8 | "ResourceKind": "Uri", 9 | "RootPath": "ms-appx:///ctrllib/image/images/SampleImage.svg", 10 | "Schema": "i", 11 | "Type": "ResourceInfo" 12 | } -------------------------------------------------------------------------------- /Power Fx Demo/LegacyIntranet/Shared/MainLayout.razor: -------------------------------------------------------------------------------- 1 | @inherits LayoutComponentBase 2 | 3 |
4 | 7 | 8 |
9 |
10 | About 11 |
12 | 13 |
14 | @Body 15 |
16 |
17 |
18 | -------------------------------------------------------------------------------- /InventAPI/InventAPI.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net7.0 5 | enable 6 | enable 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Power Fx Demo/LegacyIntranet/Program.cs: -------------------------------------------------------------------------------- 1 | using LegacyIntranet; 2 | using Microsoft.AspNetCore.Components.Web; 3 | using Microsoft.AspNetCore.Components.WebAssembly.Hosting; 4 | 5 | var builder = WebAssemblyHostBuilder.CreateDefault(args); 6 | builder.RootComponents.Add("#app"); 7 | builder.RootComponents.Add("head::after"); 8 | 9 | builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) }); 10 | 11 | await builder.Build().RunAsync(); 12 | -------------------------------------------------------------------------------- /Power Fx Demo/LegacyIntranet/App.razor: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Not found 8 | 9 |

Sorry, there's nothing at this address.

10 |
11 |
12 |
13 | -------------------------------------------------------------------------------- /InventAPI/InventoryOnHand/Other/Customizations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 1033 18 | 19 | -------------------------------------------------------------------------------- /Power Fx Demo/LegacyIntranet/Shared/SurveyPrompt.razor: -------------------------------------------------------------------------------- 1 |
2 | 3 | @Title 4 | 5 | 6 | Please take our 7 | brief survey 8 | 9 | and tell us what you think. 10 |
11 | 12 | @code { 13 | // Demonstrates how a parent component can supply parameters 14 | [Parameter] 15 | public string? Title { get; set; } 16 | } 17 | -------------------------------------------------------------------------------- /InventAPI/InventoryOnHand/CanvasApps/src/msbuild_inventonhand_2be80/Connections/Connections.json: -------------------------------------------------------------------------------- 1 | { 2 | "bf0328c7-b0ab-49b3-9069-d1ab4cec4612": { 3 | "connectionRef": { 4 | "displayName": "InventAPI_Connector", 5 | "iconUri": "https://az787822.vo.msecnd.net/defaulticons/api-dedicated.png", 6 | "id": "/providers/microsoft.powerapps/apis/shared_new-5finventapi-5fconnector-5fad84488acc8b1b71" 7 | }, 8 | "datasets": {}, 9 | "dataSources": [ 10 | "InventAPI_Connector" 11 | ], 12 | "dependencies": {}, 13 | "dependents": [], 14 | "id": "bf0328c7-b0ab-49b3-9069-d1ab4cec4612" 15 | } 16 | } -------------------------------------------------------------------------------- /Power Fx Demo/LegacyIntranet/wwwroot/sample-data/products.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "itemId": "1", 4 | "name": "Pumped Water Controller", 5 | "categoryId": "PCB Assembly", 6 | "price": 45.99, 7 | "description": "Water pump controller for combination boiler" 8 | }, 9 | { 10 | "itemId": "2", 11 | "name": "3.5 W / S Heater", 12 | "categoryId": "Heat Exchanger", 13 | "price": 125.5, 14 | "description": "Small heat exchanger for domestic boiler" 15 | }, 16 | { 17 | "itemId": "3", 18 | "name": "Inlet Valve", 19 | "categoryId": "Valve", 20 | "price": 120.2, 21 | "description": "Water inlet valve with one - way operation" 22 | } 23 | ] -------------------------------------------------------------------------------- /InventAPI/InventoryOnHand/Connectors/new_inventapi-5Fconnector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 83d89ce3-4626-ee11-9966-00224809bc5b 4 | 5 | InventAPI_Connector 6 | #007ee5 7 | new_inventapi-5Fconnector 8 | 1 9 | /Connector/new_inventapi-5Fconnector_openapidefinition.json 10 | /Connector/new_inventapi-5Fconnector_connectionparameters.json 11 | /Connector/new_inventapi-5Fconnector_policytemplateinstances.json 12 | -------------------------------------------------------------------------------- /Power Fx Demo/LegacyIntranet/wwwroot/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | LegacyIntranet 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
Loading...
16 | 17 |
18 | An unhandled error has occurred. 19 | Reload 20 | 🗙 21 |
22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /InventAPI/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json.schemastore.org/launchsettings.json", 3 | "iisSettings": { 4 | "windowsAuthentication": false, 5 | "anonymousAuthentication": true, 6 | "iisExpress": { 7 | "applicationUrl": "http://localhost:11723", 8 | "sslPort": 0 9 | } 10 | }, 11 | "profiles": { 12 | "http": { 13 | "commandName": "Project", 14 | "dotnetRunMessages": true, 15 | "launchBrowser": true, 16 | "launchUrl": "swagger", 17 | "applicationUrl": "http://localhost:5203", 18 | "environmentVariables": { 19 | "ASPNETCORE_ENVIRONMENT": "Development" 20 | } 21 | }, 22 | "IIS Express": { 23 | "commandName": "IISExpress", 24 | "launchBrowser": true, 25 | "launchUrl": "swagger", 26 | "environmentVariables": { 27 | "ASPNETCORE_ENVIRONMENT": "Development" 28 | } 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Power Fx Demo/LegacyIntranet/LegacyIntranet.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net6.0 5 | enable 6 | enable 7 | 8 | https://pkgs.dev.azure.com/Power-Fx/7dd30b4a-31be-4ac9-a649-e6addd4d5b0a/_packaging/PowerFx/nuget/v3/index.json 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /Power Fx Demo/LegacyIntranet/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "LegacyIntranet": { 4 | "commandName": "Project", 5 | "launchBrowser": true, 6 | "launchUrl": "https://localhost:7123/ourproducts", 7 | "environmentVariables": { 8 | "ASPNETCORE_ENVIRONMENT": "Development" 9 | }, 10 | "dotnetRunMessages": true, 11 | "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", 12 | "applicationUrl": "https://localhost:7123;http://localhost:5122" 13 | }, 14 | "IIS Express": { 15 | "commandName": "IISExpress", 16 | "launchBrowser": true, 17 | "environmentVariables": { 18 | "ASPNETCORE_ENVIRONMENT": "Development" 19 | }, 20 | "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}" 21 | } 22 | }, 23 | "iisSettings": { 24 | "windowsAuthentication": false, 25 | "anonymousAuthentication": true, 26 | "iisExpress": { 27 | "applicationUrl": "http://localhost:47132", 28 | "sslPort": 44305 29 | } 30 | } 31 | } -------------------------------------------------------------------------------- /Power Fx Demo/LegacyIntranet/wwwroot/css/open-iconic/ICON-LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Waybury 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /InventAPI.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.7.33709.593 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "InventAPI", "InventAPI\InventAPI.csproj", "{7EDF61F5-4F9E-491B-B830-55E1573CDD69}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {7EDF61F5-4F9E-491B-B830-55E1573CDD69}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {7EDF61F5-4F9E-491B-B830-55E1573CDD69}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {7EDF61F5-4F9E-491B-B830-55E1573CDD69}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {7EDF61F5-4F9E-491B-B830-55E1573CDD69}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {0BEC6696-FA7F-4E25-B836-189667365E9D} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /Power Fx Demo/LegacyIntranet.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.5.33530.505 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LegacyIntranet", "LegacyIntranet\LegacyIntranet.csproj", "{0EF16750-F5C9-46B5-A193-C82A33B75387}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {0EF16750-F5C9-46B5-A193-C82A33B75387}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {0EF16750-F5C9-46B5-A193-C82A33B75387}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {0EF16750-F5C9-46B5-A193-C82A33B75387}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {0EF16750-F5C9-46B5-A193-C82A33B75387}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {0D125D5B-DE6D-4FEE-8245-6B544B5F7860} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /Power Fx Demo/LegacyIntranet/Shared/NavMenu.razor: -------------------------------------------------------------------------------- 1 | 9 | 10 |
11 | 23 |
24 | 25 | @code { 26 | private bool collapseNavMenu = true; 27 | 28 | private string? NavMenuCssClass => collapseNavMenu ? "collapse" : null; 29 | 30 | private void ToggleNavMenu() 31 | { 32 | collapseNavMenu = !collapseNavMenu; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /InventAPI/InventoryOnHand/CanvasApps/src/msbuild_inventonhand_2be80/DataSources/CustomGallerySample.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "Data": "[{\"SampleHeading\":\"Lorem ipsum 1\",\"SampleImage\":\"/ctrllib/image/images/SampleImage.svg\",\"SampleText\":\"Lorem ipsum dolor sit amet, consectetur adipiscing elit.\"},{\"SampleHeading\":\"Lorem ipsum 2\",\"SampleImage\":\"/ctrllib/image/images/SampleImage.svg\",\"SampleText\":\"Suspendisse enim metus, tincidunt quis lobortis a, fringilla dignissim neque.\"},{\"SampleHeading\":\"Lorem ipsum 3\",\"SampleImage\":\"/ctrllib/image/images/SampleImage.svg\",\"SampleText\":\"Ut pharetra a dolor ac vehicula.\"},{\"SampleHeading\":\"Lorem ipsum 4\",\"SampleImage\":\"/ctrllib/image/images/SampleImage.svg\",\"SampleText\":\"Vestibulum dui felis, fringilla nec mi sed, tristique dictum nisi.\"}]", 4 | "IsSampleData": true, 5 | "IsWritable": false, 6 | "Name": "CustomGallerySample", 7 | "OrderedColumnNames": [ 8 | "SampleImage", 9 | "SampleHeading", 10 | "SampleText" 11 | ], 12 | "OriginalName": "CustomGallerySample", 13 | "OriginalSchema": "*[SampleHeading:s, SampleImage:i, SampleText:s]", 14 | "Schema": "*[SampleHeading:s, SampleImage:i, SampleText:s]", 15 | "Type": "StaticDataSourceInfo" 16 | } 17 | ] -------------------------------------------------------------------------------- /InventAPI/Program.cs: -------------------------------------------------------------------------------- 1 | using InventOnHand.Models; 2 | 3 | var builder = WebApplication.CreateBuilder(args); 4 | 5 | // Add services to the container. 6 | // Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle 7 | builder.Services.AddEndpointsApiExplorer(); 8 | builder.Services.AddSwaggerGen(); 9 | builder.Services.AddCors(options => 10 | { 11 | options.AddPolicy("CorsAllowAll", 12 | builder => 13 | { 14 | builder 15 | .AllowAnyOrigin() 16 | .AllowAnyMethod() 17 | .AllowAnyHeader(); 18 | }); 19 | }); 20 | 21 | var app = builder.Build(); 22 | 23 | app.UseCors("CorsAllowAll"); 24 | 25 | app.UseSwagger(options => 26 | { 27 | options.SerializeAsV2 = true; 28 | }); 29 | app.UseSwaggerUI(); 30 | 31 | app.MapGet("/Warehouse", () => 32 | { 33 | return InventoryDB.GetWarehouses(); 34 | 35 | }) 36 | .WithName("GetWarehouses") 37 | .WithOpenApi(); 38 | 39 | app.MapGet("/Items", () => 40 | { 41 | return InventoryDB.GetItems(); 42 | 43 | }) 44 | .WithName("GetItems") 45 | .WithOpenApi(); 46 | 47 | app.MapGet("/InventOnHand/{ItemId}", (string itemId) => 48 | { 49 | return InventoryDB.GetInventOnHand(itemId); 50 | 51 | }) 52 | .WithName("GetInventOnHand") 53 | .WithOpenApi(); 54 | 55 | app.Run(); 56 | -------------------------------------------------------------------------------- /Power Fx Demo/LegacyIntranet/Shared/NavMenu.razor.css: -------------------------------------------------------------------------------- 1 | .navbar-toggler { 2 | background-color: rgba(255, 255, 255, 0.1); 3 | } 4 | 5 | .top-row { 6 | height: 3.5rem; 7 | background-color: rgba(0,0,0,0.4); 8 | } 9 | 10 | .navbar-brand { 11 | font-size: 1.1rem; 12 | } 13 | 14 | .oi { 15 | width: 2rem; 16 | font-size: 1.1rem; 17 | vertical-align: text-top; 18 | top: -2px; 19 | } 20 | 21 | .nav-item { 22 | font-size: 0.9rem; 23 | padding-bottom: 0.5rem; 24 | } 25 | 26 | .nav-item:first-of-type { 27 | padding-top: 1rem; 28 | } 29 | 30 | .nav-item:last-of-type { 31 | padding-bottom: 1rem; 32 | } 33 | 34 | .nav-item ::deep a { 35 | color: #d7d7d7; 36 | border-radius: 4px; 37 | height: 3rem; 38 | display: flex; 39 | align-items: center; 40 | line-height: 3rem; 41 | } 42 | 43 | .nav-item ::deep a.active { 44 | background-color: rgba(255,255,255,0.25); 45 | color: white; 46 | } 47 | 48 | .nav-item ::deep a:hover { 49 | background-color: rgba(255,255,255,0.1); 50 | color: white; 51 | } 52 | 53 | @media (min-width: 641px) { 54 | .navbar-toggler { 55 | display: none; 56 | } 57 | 58 | .collapse { 59 | /* Never collapse the sidebar for wide screens */ 60 | display: block; 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /Power Fx Demo/LegacyIntranet/Shared/MainLayout.razor.css: -------------------------------------------------------------------------------- 1 | .page { 2 | position: relative; 3 | display: flex; 4 | flex-direction: column; 5 | } 6 | 7 | main { 8 | flex: 1; 9 | } 10 | 11 | .sidebar { 12 | background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%); 13 | } 14 | 15 | .top-row { 16 | background-color: #f7f7f7; 17 | border-bottom: 1px solid #d6d5d5; 18 | justify-content: flex-end; 19 | height: 3.5rem; 20 | display: flex; 21 | align-items: center; 22 | } 23 | 24 | .top-row ::deep a, .top-row ::deep .btn-link { 25 | white-space: nowrap; 26 | margin-left: 1.5rem; 27 | text-decoration: none; 28 | } 29 | 30 | .top-row ::deep a:hover, .top-row ::deep .btn-link:hover { 31 | text-decoration: underline; 32 | } 33 | 34 | .top-row ::deep a:first-child { 35 | overflow: hidden; 36 | text-overflow: ellipsis; 37 | } 38 | 39 | @media (max-width: 640.98px) { 40 | .top-row:not(.auth) { 41 | display: none; 42 | } 43 | 44 | .top-row.auth { 45 | justify-content: space-between; 46 | } 47 | 48 | .top-row ::deep a, .top-row ::deep .btn-link { 49 | margin-left: 0; 50 | } 51 | } 52 | 53 | @media (min-width: 641px) { 54 | .page { 55 | flex-direction: row; 56 | } 57 | 58 | .sidebar { 59 | width: 250px; 60 | height: 100vh; 61 | position: sticky; 62 | top: 0; 63 | } 64 | 65 | .top-row { 66 | position: sticky; 67 | top: 0; 68 | z-index: 1; 69 | } 70 | 71 | .top-row.auth ::deep a:first-child { 72 | flex: 1; 73 | text-align: right; 74 | width: 0; 75 | } 76 | 77 | .top-row, article { 78 | padding-left: 2rem !important; 79 | padding-right: 1.5rem !important; 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Power Platform for Pro Developers Sample 2 | 3 | This is a demo repository to showcase scenarios and how Professional Developers (AKA code-first developers) can make use of [Power Platform](https://aka.ms/PowerDev) to be more productive and/or innovative. 4 | 5 | To get a free Power Platform environment, sign up for the [developer plan](https://aka.ms/PowerAppsDevPlan). 6 | 7 | ## Scenario 8 | 9 | This is a HVAC company, where they have a legacy inventory management system. 10 | When in appointments, field technicians don't have a way to check if a given part is available in a warehouse. 11 | 12 | They have to manually call each warehouse to check in their legacy internal system. 13 | 14 | The back-end developer built an API to get the list of items and the inventory on hand for each warehouse and now she/he wants to build a phone app for the field technicians. 15 | 16 | The back-end developer uses Visual Studio and will now use Power Platform to build a phone app to the field technicians. 17 | 18 | ## Components 19 | 20 | 1. [InventoryAPI](https://github.com/marcelbf/InventAPI/tree/master/InventAPI) - Visual Studio Project with a sample API with three operations: GetWarehouses, GetItems and GetInventOnHand; 21 | 2. [InventoryOnHand](https://github.com/marcelbf/InventAPI/tree/master/InventAPI/InventoryOnHand) - Power Platform Solution with source code for a Custom Connector created from Visual Studio, and a Phone App. 22 | 3. [Github Power Platform Action](https://github.com/marcelbf/InventAPI/blob/master/.github/workflows/export-and-commit-solution.yml) - Github action to export the source code of Power Platform Solution created in a Dev Environment. 23 | 4. [Web app using PowerFx](https://github.com/marcelbf/InventAPI/tree/master/Power%20Fx%20Demo) - Sample application consuming the InventoryAPI, to show case how to use Power Fx to enable low code scenarios for your users. 24 | 25 | 26 | -------------------------------------------------------------------------------- /InventAPI/InventoryOnHand/CanvasApps/src/msbuild_inventonhand_2be80/Entropy/checksum.json: -------------------------------------------------------------------------------- 1 | { 2 | "ClientBuildDetails": { 3 | "CommitHash": "ad5b01d06455feee13561b05c10c3974fc796f4c", 4 | "IsLocalBuild": false 5 | }, 6 | "ClientPerFileChecksums": { 7 | "AppCheckerResult.sarif": "C8_aoNkclCypyg/Hp8h7oUvb3btqqK6LqpnNZH21I1Sqyc=", 8 | "Controls\\1.json": "C8_ZlATjU6e3Pq8gNpM696lFcfbFD5zpNClQof7p+/qKqI=", 9 | "Controls\\22.json": "C8_yD3hrqX29Az0BLK+gbz+bgyZcTQapP6esQF/lysDXq4=", 10 | "Controls\\5.json": "C8_eT0zGarKrdlzlv/yipLyJDpPqwTASV4HXlIDjmBgoPk=", 11 | "Header.json": "C8_VEwfzBGkHkOn0gS/riqRS7lYjbWfzBDj5R/OT9iaKwM=", 12 | "Properties.json": "C8_cFAOVwl/eHnB+Q7FlbPz+ApbDeCeEn90uvYUuxjIqq0=", 13 | "References\\DataSources.json": "C8_hCiUO8TnPfsWMWMhMmqTKKrs969cHNFaCb5MeOtq2GM=", 14 | "References\\Resources.json": "C8_s+se9qfOYnCKwfIt6gbv1FGBHW47JCt5d/CkUpqbcjk=", 15 | "References\\Templates.json": "C8_g25GnOv9WLx9k5LCsuzLxREd7lQoD8WkBwxZ1+1mYmI=", 16 | "References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=", 17 | "Resources\\PublishInfo.json": "C8_t7j6jaLGIz9DYUnSQxA0cP2K4sD/MmN64gBDnxsl+Cg=" 18 | }, 19 | "ClientStampedChecksum": "C8_IIyVhf6Zu9wGpv+AgLtOavntlstuHYzKGnEoCKs46kI=", 20 | "ServerPerFileChecksums": { 21 | "AppCheckerResult.sarif": "C8_aoNkclCypyg/Hp8h7oUvb3btqqK6LqpnNZH21I1Sqyc=", 22 | "Controls\\1.json": "C8_ZlATjU6e3Pq8gNpM696lFcfbFD5zpNClQof7p+/qKqI=", 23 | "Controls\\22.json": "C8_yD3hrqX29Az0BLK+gbz+bgyZcTQapP6esQF/lysDXq4=", 24 | "Controls\\5.json": "C8_eT0zGarKrdlzlv/yipLyJDpPqwTASV4HXlIDjmBgoPk=", 25 | "Header.json": "C8_VEwfzBGkHkOn0gS/riqRS7lYjbWfzBDj5R/OT9iaKwM=", 26 | "Properties.json": "C8_cFAOVwl/eHnB+Q7FlbPz+ApbDeCeEn90uvYUuxjIqq0=", 27 | "References\\DataSources.json": "C8_hCiUO8TnPfsWMWMhMmqTKKrs969cHNFaCb5MeOtq2GM=", 28 | "References\\Resources.json": "C8_s+se9qfOYnCKwfIt6gbv1FGBHW47JCt5d/CkUpqbcjk=", 29 | "References\\Templates.json": "C8_g25GnOv9WLx9k5LCsuzLxREd7lQoD8WkBwxZ1+1mYmI=", 30 | "References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=", 31 | "Resources\\PublishInfo.json": "C8_t7j6jaLGIz9DYUnSQxA0cP2K4sD/MmN64gBDnxsl+Cg=" 32 | }, 33 | "ServerStampedChecksum": "C8_IIyVhf6Zu9wGpv+AgLtOavntlstuHYzKGnEoCKs46kI=" 34 | } -------------------------------------------------------------------------------- /InventAPI/InventoryOnHand/CanvasApps/msbuild_inventonhand_2be80.meta.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | msbuild_inventonhand_2be80 4 | 2023-07-19T15:21:15Z 5 | Ready 6 | 3.23071.11.0 7 | 3.23071.11.0 8 | {"primaryDeviceWidth":"640","primaryDeviceHeight":"1136","supportsPortrait":"true","supportsLandscape":"true","primaryFormFactor":"Phone","publisherVersion":"3.23071.11","minimumRequiredApiVersion":"2.2.0","hasComponent":"false","hasUnlockedComponent":"false","isUnifiedRootApp":"false"} 9 | 0 10 | 11 | RGBA(0,176,240,1) 12 | InventOnHand 13 | 14 | 15 | 16 | [] 17 | {"bf0328c7-b0ab-49b3-9069-d1ab4cec4612":{"id":"/providers/microsoft.powerapps/apis/shared_new-5finventapi-5fconnector-5fad84488acc8b1b71","displayName":"InventAPI_Connector","iconUri":"https://az787822.vo.msecnd.net/defaulticons/api-dedicated.png","dataSources":["InventAPI_Connector"],"dependencies":[],"dependents":[],"parameterHints":{},"parameterHintsV2":{},"isOnPremiseConnection":false,"dataSets":{},"apiTier":"Standard","actions":["GetItems","GetInventOnHand"],"customApiLogicalName":"new_inventapi-5Fconnector","isCustomApiSolutionAware":true}} 18 | {} 19 | [] 20 | [] 21 | 1 22 | 0 23 | 0 24 | 0 25 | 26 | 1.0 27 | {"cdsdependencies":[{"logicalname":"new_inventapi-5Fconnector","componenttype":372,"componenttypeplatformname":"connector"}]} 28 | 1 29 | /CanvasApps/msbuild_inventonhand_2be80_BackgroundImageUri 30 | /CanvasApps/msbuild_inventonhand_2be80_DocumentUri.msapp 31 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Set default behavior to automatically normalize line endings. 3 | ############################################################################### 4 | * text=auto 5 | 6 | ############################################################################### 7 | # Set default behavior for command prompt diff. 8 | # 9 | # This is need for earlier builds of msysgit that does not have it on by 10 | # default for csharp files. 11 | # Note: This is only used by command line 12 | ############################################################################### 13 | #*.cs diff=csharp 14 | 15 | ############################################################################### 16 | # Set the merge driver for project and solution files 17 | # 18 | # Merging from the command prompt will add diff markers to the files if there 19 | # are conflicts (Merging from VS is not affected by the settings below, in VS 20 | # the diff markers are never inserted). Diff markers may cause the following 21 | # file extensions to fail to load in VS. An alternative would be to treat 22 | # these files as binary and thus will always conflict and require user 23 | # intervention with every merge. To do so, just uncomment the entries below 24 | ############################################################################### 25 | #*.sln merge=binary 26 | #*.csproj merge=binary 27 | #*.vbproj merge=binary 28 | #*.vcxproj merge=binary 29 | #*.vcproj merge=binary 30 | #*.dbproj merge=binary 31 | #*.fsproj merge=binary 32 | #*.lsproj merge=binary 33 | #*.wixproj merge=binary 34 | #*.modelproj merge=binary 35 | #*.sqlproj merge=binary 36 | #*.wwaproj merge=binary 37 | 38 | ############################################################################### 39 | # behavior for image files 40 | # 41 | # image files are treated as binary by default. 42 | ############################################################################### 43 | #*.jpg binary 44 | #*.png binary 45 | #*.gif binary 46 | 47 | ############################################################################### 48 | # diff behavior for common document formats 49 | # 50 | # Convert binary document formats to text before diffing them. This feature 51 | # is only available from the command line. Turn it on by uncommenting the 52 | # entries below. 53 | ############################################################################### 54 | #*.doc diff=astextplain 55 | #*.DOC diff=astextplain 56 | #*.docx diff=astextplain 57 | #*.DOCX diff=astextplain 58 | #*.dot diff=astextplain 59 | #*.DOT diff=astextplain 60 | #*.pdf diff=astextplain 61 | #*.PDF diff=astextplain 62 | #*.rtf diff=astextplain 63 | #*.RTF diff=astextplain 64 | -------------------------------------------------------------------------------- /InventAPI/InventoryOnHand/CanvasApps/src/msbuild_inventonhand_2be80/Src/EditorState/App.editorstate.json: -------------------------------------------------------------------------------- 1 | { 2 | "ControlStates": { 3 | "App": { 4 | "AllowAccessToGlobals": true, 5 | "ControlPropertyState": [ 6 | "MinScreenHeight", 7 | "MinScreenWidth", 8 | "ConfirmExit", 9 | "SizeBreakpoints", 10 | "BackEnabled" 11 | ], 12 | "IsAutoGenerated": false, 13 | "IsComponentDefinition": false, 14 | "IsDataControl": true, 15 | "IsFromScreenLayout": false, 16 | "IsGroupControl": false, 17 | "IsLocked": false, 18 | "LayoutName": "", 19 | "MetaDataIDKey": "", 20 | "Name": "App", 21 | "ParentIndex": 0, 22 | "PersistMetaDataIDKey": false, 23 | "Properties": [ 24 | { 25 | "Category": "Data", 26 | "PropertyName": "ConfirmExit", 27 | "RuleProviderType": "Unknown" 28 | }, 29 | { 30 | "Category": "Data", 31 | "PropertyName": "BackEnabled", 32 | "RuleProviderType": "Unknown" 33 | }, 34 | { 35 | "Category": "Design", 36 | "PropertyName": "MinScreenHeight", 37 | "RuleProviderType": "Unknown" 38 | }, 39 | { 40 | "Category": "Design", 41 | "PropertyName": "MinScreenWidth", 42 | "RuleProviderType": "Unknown" 43 | }, 44 | { 45 | "Category": "ConstantData", 46 | "PropertyName": "SizeBreakpoints", 47 | "RuleProviderType": "Unknown" 48 | } 49 | ], 50 | "StyleName": "", 51 | "Type": "ControlInfo" 52 | }, 53 | "Host": { 54 | "AllowAccessToGlobals": true, 55 | "ControlPropertyState": [ 56 | "OnNew", 57 | "OnEdit", 58 | "OnView", 59 | "OnSave", 60 | "OnCancel" 61 | ], 62 | "HasDynamicProperties": false, 63 | "IsAutoGenerated": false, 64 | "IsComponentDefinition": false, 65 | "IsDataControl": true, 66 | "IsFromScreenLayout": false, 67 | "IsGroupControl": false, 68 | "IsLocked": false, 69 | "LayoutName": "", 70 | "MetaDataIDKey": "", 71 | "Name": "Host", 72 | "ParentIndex": 0, 73 | "PersistMetaDataIDKey": false, 74 | "Properties": [ 75 | { 76 | "Category": "Behavior", 77 | "PropertyName": "OnNew", 78 | "RuleProviderType": "Unknown" 79 | }, 80 | { 81 | "Category": "Behavior", 82 | "PropertyName": "OnEdit", 83 | "RuleProviderType": "Unknown" 84 | }, 85 | { 86 | "Category": "Behavior", 87 | "PropertyName": "OnView", 88 | "RuleProviderType": "Unknown" 89 | }, 90 | { 91 | "Category": "Behavior", 92 | "PropertyName": "OnSave", 93 | "RuleProviderType": "Unknown" 94 | }, 95 | { 96 | "Category": "Behavior", 97 | "PropertyName": "OnCancel", 98 | "RuleProviderType": "Unknown" 99 | } 100 | ], 101 | "StyleName": "", 102 | "Type": "ControlInfo" 103 | } 104 | }, 105 | "TopParentName": "App" 106 | } -------------------------------------------------------------------------------- /.github/workflows/export-and-commit-solution.yml: -------------------------------------------------------------------------------- 1 | name: export-and-commit-solution 2 | # Export solution from DEV environment 3 | # unpack it and prepare, commit and push a git branch with the changes 4 | 5 | on: 6 | workflow_dispatch: 7 | inputs: 8 | # Change this value 9 | solution_name: 10 | description: 'name of the solution to worked on from Power Platform' 11 | required: true 12 | default: InventoryOnHand 13 | 14 | 15 | 16 | 17 | env: 18 | #edit your values here 19 | ENVIRONMENT_URL: 'https://msbuild2023-dev.crm.dynamics.com/' 20 | CLIENT_ID: '32c5ecf8-c5dd-4bb9-adee-401a0d26e32e' 21 | TENANT_ID: 'b76e8d49-9a4e-4d86-a364-b254bbd31c37' 22 | permissions: 23 | contents: write 24 | jobs: 25 | export-from-dev: 26 | runs-on: ubuntu-latest 27 | # or you can say runs-on: ubuntu-latest 28 | env: 29 | RUNNER_DEBUG: 1 30 | 31 | steps: 32 | - uses: actions/checkout@v2 33 | with: 34 | lfs: true 35 | 36 | - name: who-am-i action 37 | uses: microsoft/powerplatform-actions/who-am-i@v0 38 | with: 39 | environment-url: ${{env.ENVIRONMENT_URL}} 40 | app-id: ${{env.CLIENT_ID}} 41 | client-secret: ${{ secrets.PowerPlatformSPN }} 42 | tenant-id: ${{env.TENANT_ID}} 43 | 44 | 45 | - name: export-solution action 46 | uses: microsoft/powerplatform-actions/export-solution@v0 47 | with: 48 | environment-url: ${{env.ENVIRONMENT_URL}} 49 | app-id: ${{env.CLIENT_ID}} 50 | client-secret: ${{ secrets.PowerPlatformSPN }} 51 | tenant-id: ${{env.TENANT_ID}} 52 | solution-name: ${{ github.event.inputs.solution_name }} 53 | solution-output-file: ${{ github.event.repository.name}}/${{ github.event.inputs.solution_name }}_unmanaged.zip 54 | overwrite: true 55 | 56 | - name: unpack-solution action 57 | uses: microsoft/powerplatform-actions/unpack-solution@v0 58 | with: 59 | solution-file: ${{ github.event.repository.name}}/${{ github.event.inputs.solution_name }}_unmanaged.zip 60 | solution-folder: ${{ github.event.repository.name}}/${{ github.event.inputs.solution_name }} 61 | solution-type: 'Unmanaged' 62 | overwrite-files: true 63 | process-canvas-apps: true 64 | 65 | - name: export-managed-solution 66 | uses: microsoft/powerplatform-actions/export-solution@v0 67 | with: 68 | environment-url: ${{env.ENVIRONMENT_URL}} 69 | app-id: ${{env.CLIENT_ID}} 70 | client-secret: ${{ secrets.PowerPlatformSPN }} 71 | tenant-id: ${{env.TENANT_ID}} 72 | solution-name: ${{ github.event.inputs.solution_name }} 73 | solution-output-file: ${{ github.event.repository.name }}/${{ github.event.inputs.solution_name }}_managed.zip 74 | overwrite: true 75 | managed: true 76 | 77 | 78 | - name: Git Fetch and Commit 79 | run: | 80 | git fetch --all 81 | git config --global user.email "no-reply@github.com" 82 | git config --global user.name "GitHub Actions" 83 | git checkout master 84 | git add --all 85 | git commit -m "Updates from the dev environment" --allow-empty 86 | git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} 87 | git push 88 | 89 | 90 | -------------------------------------------------------------------------------- /InventAPI/Models/Invent.cs: -------------------------------------------------------------------------------- 1 | namespace InventOnHand.Models 2 | { 3 | public record Warehouse 4 | { 5 | public string City { get; set; } 6 | 7 | } 8 | 9 | public record Item 10 | { 11 | public string ItemId { get; set; } 12 | public string Name { get; set; } 13 | public string Description { get; set; } 14 | public double Price { get; set; } 15 | } 16 | 17 | public record InventOnHand 18 | { 19 | public string ItemId { get; set; } 20 | public string City { get; set; } 21 | public int numberInStock { get; set; } 22 | } 23 | 24 | public class InventoryDB 25 | { 26 | private static List _warehouses = new List() 27 | { 28 | new Warehouse {City = "Seattle"}, 29 | new Warehouse {City = "Redmond"}, 30 | new Warehouse {City = "Tacoma"}, 31 | new Warehouse {City = "Issaquah"}, 32 | new Warehouse {City = "Everett"} 33 | }; 34 | 35 | public static List GetWarehouses() 36 | { 37 | return _warehouses; 38 | } 39 | 40 | private static List _items = new List() 41 | { 42 | new Item() {ItemId = "1", Name = "Pumped Water Controller", Price = 45.9900, Description = "Water pump controller for combination boiler"}, 43 | new Item() {ItemId = "2", Name = "3.5 W / S Heater", Price = 125.5000, Description = "Small heat exchanger for domestic boiler"}, 44 | new Item() {ItemId = "3", Name = "Inlet Valve", Price = 120.2000, Description = "Water inlet valve with one - way operation"} 45 | }; 46 | 47 | public static List GetItems() 48 | { 49 | return _items.ToList(); 50 | } 51 | 52 | private static List _inventOnHand = new List() 53 | { 54 | new InventOnHand {ItemId = "1", City = "Seattle", numberInStock = 3}, 55 | new InventOnHand {ItemId = "2", City = "Seattle", numberInStock = 2}, 56 | new InventOnHand {ItemId = "3", City = "Seattle", numberInStock = 1}, 57 | 58 | new InventOnHand {ItemId = "1", City = "Redmond", numberInStock = 0}, 59 | new InventOnHand {ItemId = "2", City = "Redmond", numberInStock = 0}, 60 | new InventOnHand {ItemId = "3", City = "Redmond", numberInStock = 3}, 61 | 62 | new InventOnHand {ItemId = "1", City = "Tacoma", numberInStock = 1}, 63 | new InventOnHand {ItemId = "2", City = "Tacoma", numberInStock = 0}, 64 | new InventOnHand {ItemId = "3", City = "Tacoma", numberInStock = 4}, 65 | 66 | new InventOnHand {ItemId = "1", City = "Issaquah", numberInStock = 8}, 67 | new InventOnHand {ItemId = "2", City = "Issaquah", numberInStock = 7}, 68 | new InventOnHand {ItemId = "3", City = "Issaquah", numberInStock = 0}, 69 | 70 | new InventOnHand {ItemId = "1", City = "Everett", numberInStock = 0}, 71 | new InventOnHand {ItemId = "2", City = "Everett", numberInStock = 5}, 72 | new InventOnHand {ItemId = "3", City = "Everett", numberInStock = 2} 73 | }; 74 | 75 | public static List GetInventOnHand(string ItemId) 76 | { 77 | return _inventOnHand.Where(i => i.ItemId == ItemId).ToList(); 78 | } 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /InventAPI/InventoryOnHand/Connectors/new_inventapi-5Fconnector_openapidefinition.json: -------------------------------------------------------------------------------- 1 | { 2 | "swagger": "2.0", 3 | "info": { 4 | "title": "InventAPI_Connector", 5 | "version": "1.0" 6 | }, 7 | "paths": { 8 | "/Warehouse": { 9 | "get": { 10 | "tags": [ 11 | "InventAPI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" 12 | ], 13 | "operationId": "GetWarehouses", 14 | "produces": [ 15 | "application/json" 16 | ], 17 | "responses": { 18 | "200": { 19 | "description": "OK", 20 | "schema": { 21 | "type": "array", 22 | "items": { 23 | "$ref": "#/definitions/Warehouse" 24 | } 25 | } 26 | } 27 | } 28 | } 29 | }, 30 | "/Items": { 31 | "get": { 32 | "tags": [ 33 | "InventAPI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" 34 | ], 35 | "operationId": "GetItems", 36 | "produces": [ 37 | "application/json" 38 | ], 39 | "responses": { 40 | "200": { 41 | "description": "OK", 42 | "schema": { 43 | "type": "array", 44 | "items": { 45 | "$ref": "#/definitions/Item" 46 | } 47 | } 48 | } 49 | } 50 | } 51 | }, 52 | "/InventOnHand/{ItemId}": { 53 | "get": { 54 | "tags": [ 55 | "InventAPI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" 56 | ], 57 | "operationId": "GetInventOnHand", 58 | "produces": [ 59 | "application/json" 60 | ], 61 | "parameters": [ 62 | { 63 | "in": "path", 64 | "name": "ItemId", 65 | "required": true, 66 | "type": "string" 67 | } 68 | ], 69 | "responses": { 70 | "200": { 71 | "description": "OK", 72 | "schema": { 73 | "type": "array", 74 | "items": { 75 | "$ref": "#/definitions/InventOnHand" 76 | } 77 | } 78 | } 79 | } 80 | } 81 | } 82 | }, 83 | "definitions": { 84 | "InventOnHand": { 85 | "type": "object", 86 | "properties": { 87 | "itemId": { 88 | "type": "string" 89 | }, 90 | "city": { 91 | "type": "string" 92 | }, 93 | "numberInStock": { 94 | "format": "int32", 95 | "type": "integer" 96 | } 97 | }, 98 | "additionalProperties": false 99 | }, 100 | "Item": { 101 | "type": "object", 102 | "properties": { 103 | "itemId": { 104 | "type": "string" 105 | }, 106 | "name": { 107 | "type": "string" 108 | }, 109 | "description": { 110 | "type": "string" 111 | }, 112 | "price": { 113 | "format": "double", 114 | "type": "number" 115 | } 116 | }, 117 | "additionalProperties": false 118 | }, 119 | "Warehouse": { 120 | "type": "object", 121 | "properties": { 122 | "city": { 123 | "type": "string" 124 | } 125 | }, 126 | "additionalProperties": false 127 | } 128 | }, 129 | "host": "inventapi.azurewebsites.net", 130 | "schemes": [ 131 | "https" 132 | ] 133 | } -------------------------------------------------------------------------------- /Power Fx Demo/LegacyIntranet/wwwroot/css/app.css: -------------------------------------------------------------------------------- 1 | @import url('open-iconic/font/css/open-iconic-bootstrap.min.css'); 2 | 3 | html, body { 4 | font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; 5 | } 6 | 7 | h1:focus { 8 | outline: none; 9 | } 10 | 11 | a, .btn-link { 12 | color: #0071c1; 13 | } 14 | 15 | .btn-primary { 16 | color: #fff; 17 | background-color: #1b6ec2; 18 | border-color: #1861ac; 19 | } 20 | 21 | .content { 22 | padding-top: 1.1rem; 23 | } 24 | 25 | .valid.modified:not([type=checkbox]) { 26 | outline: 1px solid #26b050; 27 | } 28 | 29 | .invalid { 30 | outline: 1px solid red; 31 | } 32 | 33 | .validation-message { 34 | color: red; 35 | } 36 | 37 | #blazor-error-ui { 38 | background: lightyellow; 39 | bottom: 0; 40 | box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2); 41 | display: none; 42 | left: 0; 43 | padding: 0.6rem 1.25rem 0.7rem 1.25rem; 44 | position: fixed; 45 | width: 100%; 46 | z-index: 1000; 47 | } 48 | 49 | #blazor-error-ui .dismiss { 50 | cursor: pointer; 51 | position: absolute; 52 | right: 0.75rem; 53 | top: 0.5rem; 54 | } 55 | 56 | .blazor-error-boundary { 57 | background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121; 58 | padding: 1rem 1rem 1rem 3.7rem; 59 | color: white; 60 | } 61 | 62 | .blazor-error-boundary::after { 63 | content: "An error has occurred." 64 | } 65 | 66 | a { 67 | cursor: pointer; 68 | } 69 | 70 | .overlay { 71 | position: fixed; 72 | top: 50%; 73 | left: 50%; 74 | width: 900px; 75 | height: 500px; 76 | transform: translate(-450px, -250px); 77 | background-image: linear-gradient(180deg, rgb(5, 39, 103, 0.9) 0%, rgba(58, 6, 71, 0.9) 70%); 78 | z-index: 9999; 79 | 80 | border: 5px solid purple; 81 | } 82 | 83 | .overlay-content { 84 | position: absolute; 85 | top: 20px; 86 | left: 50%; 87 | transform: translate(-50%, 0); 88 | color: white; 89 | text-align: center; 90 | } -------------------------------------------------------------------------------- /Power Fx Demo/LegacyIntranet/wwwroot/css/open-iconic/README.md: -------------------------------------------------------------------------------- 1 | [Open Iconic v1.1.1](https://github.com/iconic/open-iconic) 2 | =========== 3 | 4 | ### Open Iconic is the open source sibling of [Iconic](https://github.com/iconic/open-iconic). It is a hyper-legible collection of 223 icons with a tiny footprint—ready to use with Bootstrap and Foundation. [View the collection](https://github.com/iconic/open-iconic) 5 | 6 | 7 | 8 | ## What's in Open Iconic? 9 | 10 | * 223 icons designed to be legible down to 8 pixels 11 | * Super-light SVG files - 61.8 for the entire set 12 | * SVG sprite—the modern replacement for icon fonts 13 | * Webfont (EOT, OTF, SVG, TTF, WOFF), PNG and WebP formats 14 | * Webfont stylesheets (including versions for Bootstrap and Foundation) in CSS, LESS, SCSS and Stylus formats 15 | * PNG and WebP raster images in 8px, 16px, 24px, 32px, 48px and 64px. 16 | 17 | 18 | ## Getting Started 19 | 20 | #### For code samples and everything else you need to get started with Open Iconic, check out our [Icons](https://github.com/iconic/open-iconic) and [Reference](https://github.com/iconic/open-iconic) sections. 21 | 22 | ### General Usage 23 | 24 | #### Using Open Iconic's SVGs 25 | 26 | We like SVGs and we think they're the way to display icons on the web. Since Open Iconic are just basic SVGs, we suggest you display them like you would any other image (don't forget the `alt` attribute). 27 | 28 | ``` 29 | icon name 30 | ``` 31 | 32 | #### Using Open Iconic's SVG Sprite 33 | 34 | Open Iconic also comes in a SVG sprite which allows you to display all the icons in the set with a single request. It's like an icon font, without being a hack. 35 | 36 | Adding an icon from an SVG sprite is a little different than what you're used to, but it's still a piece of cake. *Tip: To make your icons easily style able, we suggest adding a general class to the* `` *tag and a unique class name for each different icon in the* `` *tag.* 37 | 38 | ``` 39 | 40 | 41 | 42 | ``` 43 | 44 | Sizing icons only needs basic CSS. All the icons are in a square format, so just set the `` tag with equal width and height dimensions. 45 | 46 | ``` 47 | .icon { 48 | width: 16px; 49 | height: 16px; 50 | } 51 | ``` 52 | 53 | Coloring icons is even easier. All you need to do is set the `fill` rule on the `` tag. 54 | 55 | ``` 56 | .icon-account-login { 57 | fill: #f00; 58 | } 59 | ``` 60 | 61 | To learn more about SVG Sprites, read [Chris Coyier's guide](http://css-tricks.com/svg-sprites-use-better-icon-fonts/). 62 | 63 | #### Using Open Iconic's Icon Font... 64 | 65 | 66 | ##### …with Bootstrap 67 | 68 | You can find our Bootstrap stylesheets in `font/css/open-iconic-bootstrap.{css, less, scss, styl}` 69 | 70 | 71 | ``` 72 | 73 | ``` 74 | 75 | 76 | ``` 77 | 78 | ``` 79 | 80 | ##### …with Foundation 81 | 82 | You can find our Foundation stylesheets in `font/css/open-iconic-foundation.{css, less, scss, styl}` 83 | 84 | ``` 85 | 86 | ``` 87 | 88 | 89 | ``` 90 | 91 | ``` 92 | 93 | ##### …on its own 94 | 95 | You can find our default stylesheets in `font/css/open-iconic.{css, less, scss, styl}` 96 | 97 | ``` 98 | 99 | ``` 100 | 101 | ``` 102 | 103 | ``` 104 | 105 | 106 | ## License 107 | 108 | ### Icons 109 | 110 | All code (including SVG markup) is under the [MIT License](http://opensource.org/licenses/MIT). 111 | 112 | ### Fonts 113 | 114 | All fonts are under the [SIL Licensed](http://scripts.sil.org/cms/scripts/page.php?item_id=OFL_web). 115 | -------------------------------------------------------------------------------- /InventAPI/InventoryOnHand/CanvasApps/src/msbuild_inventonhand_2be80/pkgs/Wadl/InventAPI_Connector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 70 | -------------------------------------------------------------------------------- /Power Fx Demo/LegacyIntranet/wwwroot/css/open-iconic/FONT-LICENSE: -------------------------------------------------------------------------------- 1 | SIL OPEN FONT LICENSE Version 1.1 2 | 3 | Copyright (c) 2014 Waybury 4 | 5 | PREAMBLE 6 | The goals of the Open Font License (OFL) are to stimulate worldwide 7 | development of collaborative font projects, to support the font creation 8 | efforts of academic and linguistic communities, and to provide a free and 9 | open framework in which fonts may be shared and improved in partnership 10 | with others. 11 | 12 | The OFL allows the licensed fonts to be used, studied, modified and 13 | redistributed freely as long as they are not sold by themselves. The 14 | fonts, including any derivative works, can be bundled, embedded, 15 | redistributed and/or sold with any software provided that any reserved 16 | names are not used by derivative works. The fonts and derivatives, 17 | however, cannot be released under any other type of license. The 18 | requirement for fonts to remain under this license does not apply 19 | to any document created using the fonts or their derivatives. 20 | 21 | DEFINITIONS 22 | "Font Software" refers to the set of files released by the Copyright 23 | Holder(s) under this license and clearly marked as such. This may 24 | include source files, build scripts and documentation. 25 | 26 | "Reserved Font Name" refers to any names specified as such after the 27 | copyright statement(s). 28 | 29 | "Original Version" refers to the collection of Font Software components as 30 | distributed by the Copyright Holder(s). 31 | 32 | "Modified Version" refers to any derivative made by adding to, deleting, 33 | or substituting -- in part or in whole -- any of the components of the 34 | Original Version, by changing formats or by porting the Font Software to a 35 | new environment. 36 | 37 | "Author" refers to any designer, engineer, programmer, technical 38 | writer or other person who contributed to the Font Software. 39 | 40 | PERMISSION & CONDITIONS 41 | Permission is hereby granted, free of charge, to any person obtaining 42 | a copy of the Font Software, to use, study, copy, merge, embed, modify, 43 | redistribute, and sell modified and unmodified copies of the Font 44 | Software, subject to the following conditions: 45 | 46 | 1) Neither the Font Software nor any of its individual components, 47 | in Original or Modified Versions, may be sold by itself. 48 | 49 | 2) Original or Modified Versions of the Font Software may be bundled, 50 | redistributed and/or sold with any software, provided that each copy 51 | contains the above copyright notice and this license. These can be 52 | included either as stand-alone text files, human-readable headers or 53 | in the appropriate machine-readable metadata fields within text or 54 | binary files as long as those fields can be easily viewed by the user. 55 | 56 | 3) No Modified Version of the Font Software may use the Reserved Font 57 | Name(s) unless explicit written permission is granted by the corresponding 58 | Copyright Holder. This restriction only applies to the primary font name as 59 | presented to the users. 60 | 61 | 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font 62 | Software shall not be used to promote, endorse or advertise any 63 | Modified Version, except to acknowledge the contribution(s) of the 64 | Copyright Holder(s) and the Author(s) or with their explicit written 65 | permission. 66 | 67 | 5) The Font Software, modified or unmodified, in part or in whole, 68 | must be distributed entirely under this license, and must not be 69 | distributed under any other license. The requirement for fonts to 70 | remain under this license does not apply to any document created 71 | using the Font Software. 72 | 73 | TERMINATION 74 | This license becomes null and void if any of the above conditions are 75 | not met. 76 | 77 | DISCLAIMER 78 | THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 79 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF 80 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT 81 | OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE 82 | COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 83 | INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL 84 | DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 85 | FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM 86 | OTHER DEALINGS IN THE FONT SOFTWARE. 87 | -------------------------------------------------------------------------------- /InventAPI/InventoryOnHand/Other/Solution.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | InventoryOnHand 5 | 6 | 7 | 8 | 9 | 1.0.0.2 10 | 0 11 | 12 | ms_build_2023 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | msbuild 22 | 63432 23 | 24 |
25 | 1 26 | 1 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 1 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 |
52 |
53 | 2 54 | 1 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 1 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 |
80 |
81 |
82 | 83 | 84 | 85 | 86 | 87 |
88 |
-------------------------------------------------------------------------------- /InventAPI/InventoryOnHand/CanvasApps/src/msbuild_inventonhand_2be80/Entropy/Entropy.json: -------------------------------------------------------------------------------- 1 | { 2 | "ComponentIndexes": {}, 3 | "ControlUniqueGuids": {}, 4 | "ControlUniqueIds": { 5 | "App": 1, 6 | "Body1": 41, 7 | "BrowseGallery1": 14, 8 | "BrowseGallery2": 31, 9 | "galleryTemplate1": 15, 10 | "galleryTemplate2": 32, 11 | "Host": 3, 12 | "IconNewItem1": 10, 13 | "IconNewItem2": 27, 14 | "IconRefresh1": 8, 15 | "IconRefresh2": 25, 16 | "IconSortUpDown1": 9, 17 | "IconSortUpDown2": 26, 18 | "LblAppName1": 7, 19 | "LblAppName2": 24, 20 | "NextArrow3": 42, 21 | "NextArrow4": 47, 22 | "Rectangle11": 13, 23 | "Rectangle12": 30, 24 | "Rectangle3": 44, 25 | "Rectangle4": 49, 26 | "RectQuickActionBar1": 6, 27 | "RectQuickActionBar2": 23, 28 | "Screen1": 5, 29 | "Screen2": 22, 30 | "SearchIcon1": 12, 31 | "SearchIcon2": 29, 32 | "Separator3": 43, 33 | "Separator4": 48, 34 | "Subtitle3": 40, 35 | "Subtitle4": 46, 36 | "TextSearchBox1": 11, 37 | "TextSearchBox2": 28, 38 | "Title3": 39, 39 | "Title4": 45 40 | }, 41 | "FunctionParamsInvariantScripts": {}, 42 | "FunctionParamsInvariantScriptsOnInstances": {}, 43 | "HeaderLastSavedDateTimeUTC": "07/19/2023 15:21:14", 44 | "IsLegacyComponentAllowGlobalScopeCase": false, 45 | "LocalConnectionIDReferences": { 46 | "bf0328c7-b0ab-49b3-9069-d1ab4cec4612": "\"/providers/microsoft.powerapps/apis/shared_new-5finventapi-5fconnector-5fad84488acc8b1b71/connections/1945711cbb644b50b81536e37b375504\"" 47 | }, 48 | "LocalDatabaseReferencesAsEmpty": false, 49 | "LocalResourceFileNames": {}, 50 | "LocalResourceRootPaths": {}, 51 | "OrderComponentMetadata": {}, 52 | "OrderComponentTemplate": {}, 53 | "OrderDataSource": { 54 | "CustomGallerySample": 1, 55 | "InventAPI_Connector": 0 56 | }, 57 | "OrderGroupControls": {}, 58 | "OrderPcfTemplate": {}, 59 | "OrderTemplate": {}, 60 | "OrderXMLTemplate": { 61 | "gallery": 4, 62 | "icon": 2, 63 | "label": 1, 64 | "rectangle": 0, 65 | "text": 3 66 | }, 67 | "OverridablePropertiesEntry": { 68 | "App": {}, 69 | "Body1": {}, 70 | "BrowseGallery1": {}, 71 | "BrowseGallery2": {}, 72 | "galleryTemplate1": {}, 73 | "galleryTemplate2": {}, 74 | "Host": {}, 75 | "IconNewItem1": {}, 76 | "IconNewItem2": {}, 77 | "IconRefresh1": {}, 78 | "IconRefresh2": {}, 79 | "IconSortUpDown1": {}, 80 | "IconSortUpDown2": {}, 81 | "LblAppName1": {}, 82 | "LblAppName2": {}, 83 | "NextArrow3": {}, 84 | "NextArrow4": {}, 85 | "Rectangle11": {}, 86 | "Rectangle12": {}, 87 | "Rectangle3": {}, 88 | "Rectangle4": {}, 89 | "RectQuickActionBar1": {}, 90 | "RectQuickActionBar2": {}, 91 | "Screen1": {}, 92 | "Screen2": {}, 93 | "SearchIcon1": {}, 94 | "SearchIcon2": {}, 95 | "Separator3": {}, 96 | "Separator4": {}, 97 | "Subtitle3": {}, 98 | "Subtitle4": {}, 99 | "TextSearchBox1": {}, 100 | "TextSearchBox2": {}, 101 | "Title3": {}, 102 | "Title4": {} 103 | }, 104 | "PCFDynamicSchemaForIRRetrievalEntry": {}, 105 | "PCFTemplateEntry": {}, 106 | "PublishOrderIndices": { 107 | "App": 0, 108 | "Body1": 13, 109 | "BrowseGallery1": 7, 110 | "BrowseGallery2": 23, 111 | "galleryTemplate1": 8, 112 | "galleryTemplate2": 24, 113 | "Host": 0, 114 | "IconNewItem1": 4, 115 | "IconNewItem2": 20, 116 | "IconRefresh1": 2, 117 | "IconRefresh2": 18, 118 | "IconSortUpDown1": 3, 119 | "IconSortUpDown2": 19, 120 | "LblAppName1": 1, 121 | "LblAppName2": 17, 122 | "NextArrow3": 11, 123 | "NextArrow4": 26, 124 | "Rectangle11": 15, 125 | "Rectangle12": 30, 126 | "Rectangle3": 9, 127 | "Rectangle4": 25, 128 | "RectQuickActionBar1": 0, 129 | "RectQuickActionBar2": 16, 130 | "Screen1": 0, 131 | "Screen2": 0, 132 | "SearchIcon1": 6, 133 | "SearchIcon2": 22, 134 | "Separator3": 14, 135 | "Separator4": 29, 136 | "Subtitle3": 12, 137 | "Subtitle4": 28, 138 | "TextSearchBox1": 5, 139 | "TextSearchBox2": 21, 140 | "Title3": 10, 141 | "Title4": 27 142 | }, 143 | "ResourcesJsonIndices": { 144 | "Image-SampleImage": 0 145 | }, 146 | "RuleScreenIdWithoutScreen": {}, 147 | "TemplateVersions": {}, 148 | "VolatileProperties": { 149 | "AnalysisLoadTime": 0.0232795, 150 | "ControlCount": {} 151 | }, 152 | "WasLocalDatabaseReferencesEmpty": true 153 | } -------------------------------------------------------------------------------- /InventAPI/InventoryOnHand/CanvasApps/src/msbuild_inventonhand_2be80/ControlTemplates.json: -------------------------------------------------------------------------------- 1 | { 2 | "appinfo": { 3 | "CustomGroupControlTemplateName": "", 4 | "FirstParty": true, 5 | "Id": "http://microsoft.com/appmagic/appinfo", 6 | "IsComponentTemplate": false, 7 | "IsCustomGroupControlTemplate": false, 8 | "IsPcfControl": false, 9 | "IsPremiumPcfControl": false, 10 | "IsWidgetTemplate": false, 11 | "LastModifiedTimestamp": "0", 12 | "Name": "appinfo", 13 | "OverridableProperties": {}, 14 | "Version": "1.0" 15 | }, 16 | "gallery": { 17 | "CustomGroupControlTemplateName": "", 18 | "FirstParty": true, 19 | "Id": "http://microsoft.com/appmagic/gallery", 20 | "IsComponentTemplate": false, 21 | "IsCustomGroupControlTemplate": false, 22 | "IsPcfControl": false, 23 | "IsPremiumPcfControl": false, 24 | "IsWidgetTemplate": true, 25 | "LastModifiedTimestamp": "0", 26 | "Name": "gallery", 27 | "OverridableProperties": {}, 28 | "Version": "2.13.2" 29 | }, 30 | "galleryTemplate": { 31 | "CustomGroupControlTemplateName": "", 32 | "FirstParty": true, 33 | "Id": "http://microsoft.com/appmagic/galleryTemplate", 34 | "IsComponentTemplate": false, 35 | "IsCustomGroupControlTemplate": false, 36 | "IsPcfControl": false, 37 | "IsPremiumPcfControl": false, 38 | "IsWidgetTemplate": false, 39 | "LastModifiedTimestamp": "0", 40 | "Name": "galleryTemplate", 41 | "OverridableProperties": {}, 42 | "Version": "1.0" 43 | }, 44 | "groupContainer": { 45 | "FirstParty": true, 46 | "Id": "http://microsoft.com/appmagic/groupContainer", 47 | "IsComponentTemplate": false, 48 | "IsPcfControl": false, 49 | "IsWidgetTemplate": false, 50 | "LastModifiedTimestamp": "0", 51 | "Name": "groupContainer", 52 | "Version": "1.0" 53 | }, 54 | "Host": { 55 | "CustomGroupControlTemplateName": "", 56 | "FirstParty": true, 57 | "HostType": "Default", 58 | "Id": "http://microsoft.com/appmagic/hostcontrol", 59 | "IsComponentTemplate": false, 60 | "IsCustomGroupControlTemplate": false, 61 | "IsPcfControl": false, 62 | "IsPremiumPcfControl": false, 63 | "IsWidgetTemplate": false, 64 | "LastModifiedTimestamp": "0", 65 | "Name": "hostControl", 66 | "OverridableProperties": {}, 67 | "Version": "1.5.4" 68 | }, 69 | "icon": { 70 | "CustomGroupControlTemplateName": "", 71 | "FirstParty": true, 72 | "Id": "http://microsoft.com/appmagic/icon", 73 | "IsComponentTemplate": false, 74 | "IsCustomGroupControlTemplate": false, 75 | "IsPcfControl": false, 76 | "IsPremiumPcfControl": false, 77 | "IsWidgetTemplate": true, 78 | "LastModifiedTimestamp": "0", 79 | "Name": "icon", 80 | "OverridableProperties": {}, 81 | "Version": "2.5.0" 82 | }, 83 | "label": { 84 | "CustomGroupControlTemplateName": "", 85 | "FirstParty": true, 86 | "Id": "http://microsoft.com/appmagic/label", 87 | "IsComponentTemplate": false, 88 | "IsCustomGroupControlTemplate": false, 89 | "IsPcfControl": false, 90 | "IsPremiumPcfControl": false, 91 | "IsWidgetTemplate": true, 92 | "LastModifiedTimestamp": "0", 93 | "Name": "label", 94 | "OverridableProperties": {}, 95 | "Version": "2.5.1" 96 | }, 97 | "rectangle": { 98 | "CustomGroupControlTemplateName": "", 99 | "FirstParty": true, 100 | "Id": "http://microsoft.com/appmagic/shapes/rectangle", 101 | "IsComponentTemplate": false, 102 | "IsCustomGroupControlTemplate": false, 103 | "IsPcfControl": false, 104 | "IsPremiumPcfControl": false, 105 | "IsWidgetTemplate": true, 106 | "LastModifiedTimestamp": "0", 107 | "Name": "rectangle", 108 | "OverridableProperties": {}, 109 | "Version": "2.3.0" 110 | }, 111 | "screen": { 112 | "CustomGroupControlTemplateName": "", 113 | "FirstParty": true, 114 | "Id": "http://microsoft.com/appmagic/screen", 115 | "IsComponentTemplate": false, 116 | "IsCustomGroupControlTemplate": false, 117 | "IsPcfControl": false, 118 | "IsPremiumPcfControl": false, 119 | "IsWidgetTemplate": false, 120 | "LastModifiedTimestamp": "0", 121 | "Name": "screen", 122 | "OverridableProperties": {}, 123 | "Version": "1.0" 124 | }, 125 | "text": { 126 | "CustomGroupControlTemplateName": "", 127 | "FirstParty": true, 128 | "Id": "http://microsoft.com/appmagic/text", 129 | "IsComponentTemplate": false, 130 | "IsCustomGroupControlTemplate": false, 131 | "IsPcfControl": false, 132 | "IsPremiumPcfControl": false, 133 | "IsWidgetTemplate": true, 134 | "LastModifiedTimestamp": "0", 135 | "Name": "text", 136 | "OverridableProperties": {}, 137 | "Version": "2.3.2" 138 | } 139 | } -------------------------------------------------------------------------------- /InventAPI/InventoryOnHand/CanvasApps/src/msbuild_inventonhand_2be80/CanvasManifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "FormatVersion": "0.24", 3 | "Header": { 4 | "DocVersion": "1.333", 5 | "MinVersionToLoad": "1.331", 6 | "MSAppStructureVersion": "2.0" 7 | }, 8 | "Properties": { 9 | "AppCreationSource": "AppFromScratch", 10 | "AppDescription": "", 11 | "AppPreviewFlagsMap": { 12 | "aibuilderserviceenrollment": false, 13 | "allowmultiplescreensincanvaspages": false, 14 | "appinsightserrortracing": false, 15 | "appinstrumentationcorrelationtracing": false, 16 | "asyncnodedelegation": true, 17 | "autocreateenvironmentvariables": false, 18 | "backfromhostaction": false, 19 | "behaviorpropertyui": false, 20 | "blockmovingcontrol": true, 21 | "cdsdataformatting": false, 22 | "classiccontrols": false, 23 | "consistentreturnschemafortabularfunctions": true, 24 | "copyandmerge": false, 25 | "datatablev2control": true, 26 | "dataverseactionsenabled": true, 27 | "delaycontrolrendering": true, 28 | "delayloadscreens": true, 29 | "disablecdsfileandlargeimage": false, 30 | "dynamicschema": false, 31 | "enableappembeddingux": false, 32 | "enablechatbotfeature": false, 33 | "enablecomponentnamemaps": false, 34 | "enablecomponentscopeoldbehavior": false, 35 | "enablecopilotcontrol": false, 36 | "enabledataverseoffline": false, 37 | "enableeditcacherefreshfrequency": false, 38 | "enableexcelonlinebusinessv2connector": true, 39 | "enableexperimentaldataverseoffline": false, 40 | "enableideaspanel": true, 41 | "enablelegacybarcodescanner": false, 42 | "enableonstart": true, 43 | "enableonstartnavigate": false, 44 | "enablepcfmoderndatasets": true, 45 | "enablerowscopeonetonexpand": false, 46 | "enablerpawarecomponentdependency": true, 47 | "enablerulespanel": false, 48 | "enableruntimepolicies": true, 49 | "enablesaveloadcleardataonweb": false, 50 | "enableupdateifdelegation": false, 51 | "enhanceddelegation": true, 52 | "enhancedgalleryinitialization": true, 53 | "errorhandling": true, 54 | "excelcompatibility": false, 55 | "expandedsavedatasupport": true, 56 | "exportimportcomponents2": true, 57 | "externalmessage": false, 58 | "fluentv9controls": false, 59 | "fluentv9controlspreview": false, 60 | "formuladataprefetch": true, 61 | "formularepair": false, 62 | "generatedebugpublishedapp": false, 63 | "herocontrols": false, 64 | "improvedmediacapture": false, 65 | "improvedtabstopbehavior": false, 66 | "impurenodedelegation": true, 67 | "isemptyrequirestableargument": true, 68 | "keeprecentscreensloaded": false, 69 | "longlivingcache": false, 70 | "mobilenativerendering": false, 71 | "namedformulas": true, 72 | "nativecdsexperimental": true, 73 | "onegrid": false, 74 | "optimizedforteamsmeeting": false, 75 | "packagemodernruntime": false, 76 | "parallelcodegen": false, 77 | "pdffunction": false, 78 | "powerfxdecimal": false, 79 | "projectionmapping": true, 80 | "reactformulabar": false, 81 | "reliableconcurrent": true, 82 | "reservedkeywords": false, 83 | "reverttooldpowerautomate": false, 84 | "rtlinstudiopreview": false, 85 | "rtlsupport": false, 86 | "smartemaildatacard": false, 87 | "supportcolumnnamesasidentifiers": false, 88 | "tabledoesntwraprecords": true, 89 | "untypedobject": true, 90 | "usedisplaynamemetadata": true, 91 | "useenforcesavedatalimits": true, 92 | "useexperimentalcdsconnector": true, 93 | "useexperimentalsqlconnector": true, 94 | "useguiddatatypes": true, 95 | "usenonblockingonstartrule": true, 96 | "webbarcodescanner": false, 97 | "zeroalltabindexes": true 98 | }, 99 | "Author": "", 100 | "BindingErrorCount": 0, 101 | "ContainsThirdPartyPcfControls": false, 102 | "DefaultConnectedDataSourceMaxGetRowsCount": 500, 103 | "DocumentAppType": "Phone", 104 | "DocumentLayoutHeight": 1136, 105 | "DocumentLayoutLockOrientation": false, 106 | "DocumentLayoutMaintainAspectRatio": true, 107 | "DocumentLayoutOrientation": "portrait", 108 | "DocumentLayoutScaleToFit": true, 109 | "DocumentLayoutWidth": 640, 110 | "DocumentType": "App", 111 | "EnableInstrumentation": false, 112 | "FileID": "0e8435e0-f368-47aa-a909-9e47c4631dd5", 113 | "Id": "0e8435e0-f368-47aa-a909-9e47c4631dd5", 114 | "InstrumentationKey": "", 115 | "LocalDatabaseReferences": "{}", 116 | "ManualOfflineProfileId": null, 117 | "Name": "InventOnHand", 118 | "OriginatingVersion": "1.333", 119 | "ParserErrorCount": 0, 120 | "ShowStatusBar": false 121 | }, 122 | "PublishInfo": { 123 | "AppName": "InventOnHand", 124 | "BackgroundColor": "RGBA(0,176,240,1)", 125 | "IconColor": "RGBA(255,255,255,1)", 126 | "IconName": "Edit", 127 | "LogoFileName": "", 128 | "PublishDataLocally": false, 129 | "PublishResourcesLocally": false, 130 | "PublishTarget": "player", 131 | "UserLocale": "en-US" 132 | }, 133 | "ScreenOrder": [ 134 | "Screen1", 135 | "Screen2" 136 | ] 137 | } -------------------------------------------------------------------------------- /InventAPI/InventoryOnHand/CanvasApps/src/msbuild_inventonhand_2be80/Src/Screen2.fx.yaml: -------------------------------------------------------------------------------- 1 | "Screen2 As screen.'phoneLayout_HeaderAndGallery_ver3.0'": 2 | 3 | RectQuickActionBar2 As rectangle: 4 | Height: =88 5 | Width: =Parent.Width 6 | ZIndex: =1 7 | 8 | "BrowseGallery2 As gallery.'BrowseLayout_Vertical_TwoTextVariant_ver5.0'": 9 | DelayItemLoading: =true 10 | Height: =Parent.Height - Self.Y 11 | Items: =InventAPI_Connector.GetInventOnHand(BrowseGallery1.Selected.itemId) 12 | Layout: =Layout.Vertical 13 | LoadingSpinner: =LoadingSpinner.Data 14 | ShowScrollbar: =false 15 | TemplatePadding: =0 16 | TemplateSize: =90 17 | Width: =Parent.Width 18 | Y: =TextSearchBox2.Y + TextSearchBox2.Height 19 | ZIndex: =1 20 | 21 | Title4 As label: 22 | FontWeight: =If(ThisItem.IsSelected, FontWeight.Semibold, FontWeight.Normal) 23 | Height: =Self.Size * 1.8 24 | OnSelect: =Select(Parent) 25 | PaddingBottom: =0 26 | PaddingLeft: =0 27 | PaddingRight: =0 28 | PaddingTop: =0 29 | Text: =ThisItem.numberInStock 30 | VerticalAlign: =VerticalAlign.Top 31 | Width: =Parent.TemplateWidth - 86 32 | X: =16 33 | Y: =(Parent.TemplateHeight - (Self.Size * 1.8 + Subtitle4.Size * 1.8)) / 2 34 | ZIndex: =1 35 | 36 | Subtitle4 As label: 37 | FontWeight: =If(ThisItem.IsSelected, FontWeight.Semibold, FontWeight.Normal) 38 | Height: =Self.Size * 1.8 39 | OnSelect: =Select(Parent) 40 | PaddingBottom: =0 41 | PaddingLeft: =0 42 | PaddingRight: =0 43 | PaddingTop: =0 44 | Text: =ThisItem.city 45 | VerticalAlign: =VerticalAlign.Top 46 | Width: =Title4.Width 47 | X: =Title4.X 48 | Y: =Title4.Y + Title4.Height 49 | ZIndex: =2 50 | 51 | NextArrow4 As icon.ChevronRight: 52 | AccessibleLabel: =Self.Tooltip 53 | Color: =RGBA(166, 166, 166, 1) 54 | Height: =50 55 | Icon: =Icon.ChevronRight 56 | OnSelect: =Select(Parent) 57 | PaddingBottom: =16 58 | PaddingLeft: =16 59 | PaddingRight: =16 60 | PaddingTop: =16 61 | Tooltip: ="View item details" 62 | Width: =50 63 | X: =Parent.TemplateWidth - Self.Width - 12 64 | Y: =(Parent.TemplateHeight / 2) - (Self.Height / 2) 65 | ZIndex: =3 66 | 67 | Separator4 As rectangle: 68 | Height: =8 69 | OnSelect: =Select(Parent) 70 | Width: =Parent.TemplateWidth 71 | Y: =Parent.TemplateHeight - Self.Height 72 | ZIndex: =4 73 | 74 | Rectangle4 As rectangle: 75 | Height: =Parent.TemplateHeight - Separator4.Height 76 | OnSelect: =Select(Parent) 77 | Visible: =ThisItem.IsSelected 78 | Width: =4 79 | ZIndex: =5 80 | 81 | LblAppName2 As label: 82 | Height: =88 83 | Size: =27 84 | Text: ="[Title]" 85 | Width: =Parent.Width - Self.X - IconSortUpDown2.Width - IconNewItem2.Width - IconRefresh2.Width 86 | Wrap: =false 87 | X: =20 88 | ZIndex: =2 89 | 90 | IconRefresh2 As icon.Reload: 91 | AccessibleLabel: =Self.Tooltip 92 | Height: =88 93 | Icon: =Icon.Reload 94 | PaddingBottom: =22 95 | PaddingLeft: =22 96 | PaddingRight: =22 97 | PaddingTop: =22 98 | TabIndex: =0 99 | Tooltip: ="Refresh list" 100 | Width: =88 101 | X: =Parent.Width - IconNewItem2.Width - IconSortUpDown2.Width - Self.Width 102 | ZIndex: =3 103 | 104 | IconSortUpDown2 As icon.ArrowsUpDown: 105 | AccessibleLabel: =Self.Tooltip 106 | Height: =88 107 | Icon: =Icon.Sort 108 | OnSelect: |- 109 | =UpdateContext({SortDescending1: !SortDescending1}) 110 | PaddingBottom: =26 111 | PaddingLeft: =26 112 | PaddingRight: =26 113 | PaddingTop: =26 114 | TabIndex: =0 115 | Tooltip: =If(SortDescending1, "Sort list in reverse alphabetical order", "Sort list in alphabetical order") 116 | Width: =88 117 | X: =Parent.Width - IconNewItem2.Width - Self.Width 118 | ZIndex: =4 119 | 120 | IconNewItem2 As icon.Add: 121 | AccessibleLabel: =Self.Tooltip 122 | Height: =88 123 | Icon: =Icon.BackArrow 124 | OnSelect: =Navigate(Screen1) 125 | PaddingBottom: =24 126 | PaddingLeft: =24 127 | PaddingRight: =24 128 | PaddingTop: =24 129 | TabIndex: =0 130 | Tooltip: ="Create new item" 131 | Width: =88 132 | X: =Parent.Width - Self.Width 133 | ZIndex: =5 134 | 135 | TextSearchBox2 As text: 136 | Default: ="" 137 | Height: =68 138 | HintText: ="Search items" 139 | PaddingLeft: =70 140 | RadiusBottomLeft: =0 141 | RadiusBottomRight: =7 142 | RadiusTopLeft: =0 143 | RadiusTopRight: =7 144 | Size: =21 145 | Width: =Parent.Width 146 | Y: =RectQuickActionBar2.Height 147 | ZIndex: =6 148 | 149 | SearchIcon2 As icon.Search: 150 | Height: =Self.Width 151 | Icon: =Icon.Search 152 | PaddingBottom: =14 153 | PaddingLeft: =14 154 | PaddingRight: =14 155 | PaddingTop: =14 156 | Tooltip: ="Search" 157 | Width: =TextSearchBox2.Height 158 | X: =TextSearchBox2.X 159 | Y: =TextSearchBox2.Y 160 | ZIndex: =7 161 | 162 | Rectangle12 As rectangle: 163 | Height: =2 164 | Width: =Parent.Width 165 | Y: =TextSearchBox2.Y + TextSearchBox2.Height 166 | ZIndex: =8 167 | 168 | -------------------------------------------------------------------------------- /Power Fx Demo/LegacyIntranet/Pages/OurProducts.razor: -------------------------------------------------------------------------------- 1 | @page "/ourproducts" 2 | @using Microsoft.OpenApi.Readers; 3 | @using Microsoft.PowerFx; 4 | @using Microsoft.PowerFx.Types; 5 | @inject HttpClient Http 6 | 7 | Our Products 8 | 9 |

Our Products

10 | 11 |

Browse our list of spare parts.

12 | 13 | @if (productList == null) 14 | { 15 |

Loading...

16 | } 17 | else 18 | { 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | @foreach (var column in powerFxColumns) 28 | { 29 | 30 | } 31 | 32 | 33 | 34 | 35 | 36 | @foreach (var product in productList) 37 | { 38 | 39 | 40 | 41 | 42 | 43 | 44 | @foreach (var column in powerFxColumns) 45 | { 46 | 47 | } 48 | 49 | } 50 | 51 |
ItemId
 
Name
 
Description
 
Price
 
@column.Key
[ Remove ]
 
[ Add Column ]
@product.ItemId@product.Name@product.Description@product.Price@product.CalculatedColumns[column.Key]
52 | 53 | @if (showDialog) 54 | { 55 |
56 |
57 |

58 | New Column Name:
59 | 60 |

61 |

62 | Power Fx Expression:
63 |
64 |   65 |

66 | 67 |
68 | @errors 69 |
70 |
71 |
72 | } 73 | } 74 | 75 | @code { 76 | private Product[]? productList; 77 | 78 | private Dictionary powerFxColumns = new Dictionary(); 79 | 80 | private bool showDialog = false; 81 | private string? columnName; 82 | private string? columnExpression; 83 | 84 | //// Power Fx interpreter and type marshaller members 85 | //RecalcEngine? engine; 86 | //TypeMarshallerCache? cache; 87 | //ITypeMarshaller? productType; 88 | 89 | private string errors = string.Empty; 90 | 91 | protected override async Task OnInitializedAsync() 92 | { 93 | productList = await Http.GetFromJsonAsync("sample-data/products.json"); 94 | 95 | //// Initialize Power Fx interpreter RecalcEngine 96 | //var config = new PowerFxConfig(Features.PowerFxV1); 97 | //engine = new RecalcEngine(config); 98 | 99 | //// Initialize out type marshaller cache 100 | //cache = new TypeMarshallerCache(); 101 | //productType = cache.GetMarshaller(typeof(Product)); 102 | 103 | 104 | //// Create strongly-typed Power Fx objects from the swagger 105 | //var swagger = await Http.GetStringAsync( 106 | // "https://inventapi.azurewebsites.net/swagger/v1/swagger.json"); 107 | //var openAPIDoc = new OpenApiStringReader().Read(swagger, out OpenApiDiagnostic diag); 108 | //var client = new HttpClient { BaseAddress = new Uri("https://inventapi.azurewebsites.net") }; 109 | //// Add the service to the Power Fx configuration as "InventAPI_Connector" 110 | //config.AddService("InventAPI_Connector", openAPIDoc, client); 111 | 112 | //// Sum( InventAPI_Connector.GetInventOnHand( ItemId ), numberInStock ) 113 | } 114 | 115 | protected async Task AddColumn(string name, string expression) 116 | { 117 | errors = string.Empty; 118 | 119 | if (!powerFxColumns.ContainsKey(name)) 120 | { 121 | foreach (var product in productList) 122 | { 123 | var value = string.Empty; 124 | 125 | //var value = (await engine.EvalAsync( 126 | // expression, 127 | // cancellationToken: default, 128 | // productType.Marshal(product) as RecordValue 129 | //)).ToObject().ToString(); 130 | 131 | product.CalculatedColumns.Add(name, value); 132 | } 133 | 134 | powerFxColumns.Add(name, expression); 135 | } 136 | else 137 | { 138 | errors = $"Column '{name}' already exists. Choose a different name or remove the existing column."; 139 | } 140 | 141 | CloseDialog(); 142 | } 143 | 144 | protected void ShowDialog() 145 | { 146 | showDialog = true; 147 | } 148 | 149 | protected void CloseDialog() 150 | { 151 | showDialog = false; 152 | errors = string.Empty; 153 | } 154 | 155 | protected void RemoveColumn(string name) 156 | { 157 | powerFxColumns.Remove(name); 158 | 159 | foreach (var product in productList) 160 | { 161 | product.CalculatedColumns.Remove(name); 162 | } 163 | } 164 | 165 | protected Task AddColumn() 166 | { 167 | return AddColumn(columnName, columnExpression); 168 | } 169 | 170 | public class Product 171 | { 172 | public string? ItemId { get; set; } 173 | 174 | public string? Name { get; set; } 175 | 176 | public string? CategoryId { get; set; } 177 | 178 | public Decimal Price { get; set; } 179 | 180 | public string? Description { get; set; } 181 | 182 | public Dictionary CalculatedColumns { get; set; } = new Dictionary(); 183 | } 184 | } 185 | -------------------------------------------------------------------------------- /InventAPI/InventoryOnHand/CanvasApps/src/msbuild_inventonhand_2be80/Src/Screen1.fx.yaml: -------------------------------------------------------------------------------- 1 | "Screen1 As screen.'phoneLayout_HeaderAndGallery_ver3.0'": 2 | 3 | RectQuickActionBar1 As rectangle: 4 | Height: =88 5 | Width: =Parent.Width 6 | ZIndex: =1 7 | 8 | "BrowseGallery1 As gallery.'BrowseLayout_Vertical_ThreeTextVariant_ver5.0'": 9 | DelayItemLoading: =true 10 | Height: =Parent.Height - Self.Y 11 | Items: =InventAPI_Connector.GetItems() 12 | Layout: =Layout.Vertical 13 | LoadingSpinner: =LoadingSpinner.Data 14 | ShowScrollbar: =false 15 | TemplatePadding: =0 16 | TemplateSize: =116 17 | Width: =Parent.Width 18 | Y: =TextSearchBox1.Y + TextSearchBox1.Height 19 | ZIndex: =1 20 | 21 | Title3 As label: 22 | FontWeight: =If(ThisItem.IsSelected, FontWeight.Semibold, FontWeight.Normal) 23 | Height: =Self.Size * 1.8 24 | OnSelect: =Select(Parent) 25 | PaddingBottom: =0 26 | PaddingLeft: =0 27 | PaddingRight: =0 28 | PaddingTop: =0 29 | Text: =ThisItem.description 30 | VerticalAlign: =VerticalAlign.Top 31 | Width: =Parent.TemplateWidth - 86 32 | X: =16 33 | Y: =(Parent.TemplateHeight - (Self.Size*1.8 + Subtitle3.Size*1.8 + 2 + Body1.Size*1.8)) / 2 34 | ZIndex: =1 35 | 36 | Subtitle3 As label: 37 | FontWeight: =If(ThisItem.IsSelected, FontWeight.Semibold, FontWeight.Normal) 38 | Height: =Self.Size * 1.8 39 | OnSelect: =Select(Parent) 40 | PaddingBottom: =0 41 | PaddingLeft: =0 42 | PaddingRight: =0 43 | PaddingTop: =0 44 | Text: =ThisItem.name 45 | VerticalAlign: =VerticalAlign.Top 46 | Width: =Title3.Width 47 | X: =Title3.X 48 | Y: =Title3.Y + Title3.Height 49 | ZIndex: =2 50 | 51 | Body1 As label: 52 | FontWeight: =If(ThisItem.IsSelected, FontWeight.Semibold, FontWeight.Normal) 53 | Height: =Self.Size * 1.8 54 | OnSelect: =Select(Parent) 55 | PaddingBottom: =0 56 | PaddingLeft: =0 57 | PaddingRight: =0 58 | PaddingTop: =0 59 | Text: =ThisItem.itemId 60 | VerticalAlign: =VerticalAlign.Top 61 | Width: =Title3.Width 62 | X: =Title3.X 63 | Y: =Subtitle3.Y + Subtitle3.Height 64 | ZIndex: =3 65 | 66 | NextArrow3 As icon.ChevronRight: 67 | AccessibleLabel: =Self.Tooltip 68 | Color: =RGBA(166, 166, 166, 1) 69 | Height: =50 70 | Icon: =Icon.ChevronRight 71 | OnSelect: |- 72 | =Select(Parent); 73 | Navigate(Screen2) 74 | PaddingBottom: =16 75 | PaddingLeft: =16 76 | PaddingRight: =16 77 | PaddingTop: =16 78 | Tooltip: ="View item details" 79 | Width: =50 80 | X: =Parent.TemplateWidth - Self.Width - 12 81 | Y: =(Parent.TemplateHeight / 2) - (Self.Height / 2) 82 | ZIndex: =4 83 | 84 | Separator3 As rectangle: 85 | Height: =8 86 | OnSelect: =Select(Parent) 87 | Width: =Parent.TemplateWidth 88 | Y: =Parent.TemplateHeight - Self.Height 89 | ZIndex: =5 90 | 91 | Rectangle3 As rectangle: 92 | Height: =Parent.TemplateHeight - Separator3.Height 93 | OnSelect: =Select(Parent) 94 | Visible: =ThisItem.IsSelected 95 | Width: =4 96 | ZIndex: =6 97 | 98 | LblAppName1 As label: 99 | Height: =88 100 | Size: =27 101 | Text: ="[Title]" 102 | Width: =Parent.Width - Self.X - IconSortUpDown1.Width - IconNewItem1.Width - IconRefresh1.Width 103 | Wrap: =false 104 | X: =20 105 | ZIndex: =2 106 | 107 | IconRefresh1 As icon.Reload: 108 | AccessibleLabel: =Self.Tooltip 109 | Height: =88 110 | Icon: =Icon.Reload 111 | PaddingBottom: =22 112 | PaddingLeft: =22 113 | PaddingRight: =22 114 | PaddingTop: =22 115 | TabIndex: =0 116 | Tooltip: ="Refresh list" 117 | Width: =88 118 | X: =Parent.Width - IconNewItem1.Width - IconSortUpDown1.Width - Self.Width 119 | ZIndex: =3 120 | 121 | IconSortUpDown1 As icon.ArrowsUpDown: 122 | AccessibleLabel: =Self.Tooltip 123 | Height: =88 124 | Icon: =Icon.Sort 125 | OnSelect: |- 126 | =UpdateContext({SortDescending1: !SortDescending1}) 127 | PaddingBottom: =26 128 | PaddingLeft: =26 129 | PaddingRight: =26 130 | PaddingTop: =26 131 | TabIndex: =0 132 | Tooltip: =If(SortDescending1, "Sort list in reverse alphabetical order", "Sort list in alphabetical order") 133 | Width: =88 134 | X: =Parent.Width - IconNewItem1.Width - Self.Width 135 | ZIndex: =4 136 | 137 | IconNewItem1 As icon.Add: 138 | AccessibleLabel: =Self.Tooltip 139 | Height: =88 140 | Icon: =Icon.Add 141 | PaddingBottom: =24 142 | PaddingLeft: =24 143 | PaddingRight: =24 144 | PaddingTop: =24 145 | TabIndex: =0 146 | Tooltip: ="Create new item" 147 | Width: =88 148 | X: =Parent.Width - Self.Width 149 | ZIndex: =5 150 | 151 | TextSearchBox1 As text: 152 | Default: ="" 153 | Height: =68 154 | HintText: ="Search items" 155 | PaddingLeft: =70 156 | RadiusBottomLeft: =0 157 | RadiusBottomRight: =7 158 | RadiusTopLeft: =0 159 | RadiusTopRight: =7 160 | Size: =21 161 | Width: =Parent.Width 162 | Y: =RectQuickActionBar1.Height 163 | ZIndex: =6 164 | 165 | SearchIcon1 As icon.Search: 166 | Height: =Self.Width 167 | Icon: =Icon.Search 168 | PaddingBottom: =14 169 | PaddingLeft: =14 170 | PaddingRight: =14 171 | PaddingTop: =14 172 | Tooltip: ="Search" 173 | Width: =TextSearchBox1.Height 174 | X: =TextSearchBox1.X 175 | Y: =TextSearchBox1.Y 176 | ZIndex: =7 177 | 178 | Rectangle11 As rectangle: 179 | Height: =2 180 | Width: =Parent.Width 181 | Y: =TextSearchBox1.Y + TextSearchBox1.Height 182 | ZIndex: =8 183 | 184 | -------------------------------------------------------------------------------- /InventAPI/InventoryOnHand/CanvasApps/src/msbuild_inventonhand_2be80/pkgs/rectangle_2.3.0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | TODO: Need license text here.

]]>
4 | 6 | 7 | 8 | 9 | 10 | 11 | = 0) && (viewState.displayMode() !== AppMagic.Constants.DisplayMode.Edit), 26 | 'aria-hidden': properties.TabIndex() < 0 && !properties.AccessibleLabel() 27 | }"> 28 | 56 | 57 | ]]> 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 |
-------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | ## 4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore 5 | 6 | # User-specific files 7 | *.rsuser 8 | *.suo 9 | *.user 10 | *.userosscache 11 | *.sln.docstates 12 | 13 | # User-specific files (MonoDevelop/Xamarin Studio) 14 | *.userprefs 15 | 16 | # Mono auto generated files 17 | mono_crash.* 18 | 19 | # Build results 20 | [Dd]ebug/ 21 | [Dd]ebugPublic/ 22 | [Rr]elease/ 23 | [Rr]eleases/ 24 | x64/ 25 | x86/ 26 | [Ww][Ii][Nn]32/ 27 | [Aa][Rr][Mm]/ 28 | [Aa][Rr][Mm]64/ 29 | bld/ 30 | [Bb]in/ 31 | [Oo]bj/ 32 | [Oo]ut/ 33 | [Ll]og/ 34 | [Ll]ogs/ 35 | 36 | # Visual Studio 2015/2017 cache/options directory 37 | .vs/ 38 | # Uncomment if you have tasks that create the project's static files in wwwroot 39 | #wwwroot/ 40 | 41 | # Visual Studio 2017 auto generated files 42 | Generated\ Files/ 43 | 44 | # MSTest test Results 45 | [Tt]est[Rr]esult*/ 46 | [Bb]uild[Ll]og.* 47 | 48 | # NUnit 49 | *.VisualState.xml 50 | TestResult.xml 51 | nunit-*.xml 52 | 53 | # Build Results of an ATL Project 54 | [Dd]ebugPS/ 55 | [Rr]eleasePS/ 56 | dlldata.c 57 | 58 | # Benchmark Results 59 | BenchmarkDotNet.Artifacts/ 60 | 61 | # .NET Core 62 | project.lock.json 63 | project.fragment.lock.json 64 | artifacts/ 65 | 66 | # ASP.NET Scaffolding 67 | ScaffoldingReadMe.txt 68 | 69 | # StyleCop 70 | StyleCopReport.xml 71 | 72 | # Files built by Visual Studio 73 | *_i.c 74 | *_p.c 75 | *_h.h 76 | *.ilk 77 | *.meta 78 | *.obj 79 | *.iobj 80 | *.pch 81 | *.pdb 82 | *.ipdb 83 | *.pgc 84 | *.pgd 85 | *.rsp 86 | *.sbr 87 | *.tlb 88 | *.tli 89 | *.tlh 90 | *.tmp 91 | *.tmp_proj 92 | *_wpftmp.csproj 93 | *.log 94 | *.vspscc 95 | *.vssscc 96 | .builds 97 | *.pidb 98 | *.svclog 99 | *.scc 100 | 101 | # Chutzpah Test files 102 | _Chutzpah* 103 | 104 | # Visual C++ cache files 105 | ipch/ 106 | *.aps 107 | *.ncb 108 | *.opendb 109 | *.opensdf 110 | *.sdf 111 | *.cachefile 112 | *.VC.db 113 | *.VC.VC.opendb 114 | 115 | # Visual Studio profiler 116 | *.psess 117 | *.vsp 118 | *.vspx 119 | *.sap 120 | 121 | # Visual Studio Trace Files 122 | *.e2e 123 | 124 | # TFS 2012 Local Workspace 125 | $tf/ 126 | 127 | # Guidance Automation Toolkit 128 | *.gpState 129 | 130 | # ReSharper is a .NET coding add-in 131 | _ReSharper*/ 132 | *.[Rr]e[Ss]harper 133 | *.DotSettings.user 134 | 135 | # TeamCity is a build add-in 136 | _TeamCity* 137 | 138 | # DotCover is a Code Coverage Tool 139 | *.dotCover 140 | 141 | # AxoCover is a Code Coverage Tool 142 | .axoCover/* 143 | !.axoCover/settings.json 144 | 145 | # Coverlet is a free, cross platform Code Coverage Tool 146 | coverage*.json 147 | coverage*.xml 148 | coverage*.info 149 | 150 | # Visual Studio code coverage results 151 | *.coverage 152 | *.coveragexml 153 | 154 | # NCrunch 155 | _NCrunch_* 156 | .*crunch*.local.xml 157 | nCrunchTemp_* 158 | 159 | # MightyMoose 160 | *.mm.* 161 | AutoTest.Net/ 162 | 163 | # Web workbench (sass) 164 | .sass-cache/ 165 | 166 | # Installshield output folder 167 | [Ee]xpress/ 168 | 169 | # DocProject is a documentation generator add-in 170 | DocProject/buildhelp/ 171 | DocProject/Help/*.HxT 172 | DocProject/Help/*.HxC 173 | DocProject/Help/*.hhc 174 | DocProject/Help/*.hhk 175 | DocProject/Help/*.hhp 176 | DocProject/Help/Html2 177 | DocProject/Help/html 178 | 179 | # Click-Once directory 180 | publish/ 181 | 182 | # Publish Web Output 183 | *.[Pp]ublish.xml 184 | *.azurePubxml 185 | # Note: Comment the next line if you want to checkin your web deploy settings, 186 | # but database connection strings (with potential passwords) will be unencrypted 187 | *.pubxml 188 | *.publishproj 189 | 190 | # Microsoft Azure Web App publish settings. Comment the next line if you want to 191 | # checkin your Azure Web App publish settings, but sensitive information contained 192 | # in these scripts will be unencrypted 193 | PublishScripts/ 194 | 195 | # NuGet Packages 196 | *.nupkg 197 | # NuGet Symbol Packages 198 | *.snupkg 199 | # The packages folder can be ignored because of Package Restore 200 | **/[Pp]ackages/* 201 | # except build/, which is used as an MSBuild target. 202 | !**/[Pp]ackages/build/ 203 | # Uncomment if necessary however generally it will be regenerated when needed 204 | #!**/[Pp]ackages/repositories.config 205 | # NuGet v3's project.json files produces more ignorable files 206 | *.nuget.props 207 | *.nuget.targets 208 | 209 | # Microsoft Azure Build Output 210 | csx/ 211 | *.build.csdef 212 | 213 | # Microsoft Azure Emulator 214 | ecf/ 215 | rcf/ 216 | 217 | # Windows Store app package directories and files 218 | AppPackages/ 219 | BundleArtifacts/ 220 | Package.StoreAssociation.xml 221 | _pkginfo.txt 222 | *.appx 223 | *.appxbundle 224 | *.appxupload 225 | 226 | # Visual Studio cache files 227 | # files ending in .cache can be ignored 228 | *.[Cc]ache 229 | # but keep track of directories ending in .cache 230 | !?*.[Cc]ache/ 231 | 232 | # Others 233 | ClientBin/ 234 | ~$* 235 | *~ 236 | *.dbmdl 237 | *.dbproj.schemaview 238 | *.jfm 239 | *.pfx 240 | *.publishsettings 241 | orleans.codegen.cs 242 | 243 | # Including strong name files can present a security risk 244 | # (https://github.com/github/gitignore/pull/2483#issue-259490424) 245 | #*.snk 246 | 247 | # Since there are multiple workflows, uncomment next line to ignore bower_components 248 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 249 | #bower_components/ 250 | 251 | # RIA/Silverlight projects 252 | Generated_Code/ 253 | 254 | # Backup & report files from converting an old project file 255 | # to a newer Visual Studio version. Backup files are not needed, 256 | # because we have git ;-) 257 | _UpgradeReport_Files/ 258 | Backup*/ 259 | UpgradeLog*.XML 260 | UpgradeLog*.htm 261 | ServiceFabricBackup/ 262 | *.rptproj.bak 263 | 264 | # SQL Server files 265 | *.mdf 266 | *.ldf 267 | *.ndf 268 | 269 | # Business Intelligence projects 270 | *.rdl.data 271 | *.bim.layout 272 | *.bim_*.settings 273 | *.rptproj.rsuser 274 | *- [Bb]ackup.rdl 275 | *- [Bb]ackup ([0-9]).rdl 276 | *- [Bb]ackup ([0-9][0-9]).rdl 277 | 278 | # Microsoft Fakes 279 | FakesAssemblies/ 280 | 281 | # GhostDoc plugin setting file 282 | *.GhostDoc.xml 283 | 284 | # Node.js Tools for Visual Studio 285 | .ntvs_analysis.dat 286 | node_modules/ 287 | 288 | # Visual Studio 6 build log 289 | *.plg 290 | 291 | # Visual Studio 6 workspace options file 292 | *.opt 293 | 294 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.) 295 | *.vbw 296 | 297 | # Visual Studio LightSwitch build output 298 | **/*.HTMLClient/GeneratedArtifacts 299 | **/*.DesktopClient/GeneratedArtifacts 300 | **/*.DesktopClient/ModelManifest.xml 301 | **/*.Server/GeneratedArtifacts 302 | **/*.Server/ModelManifest.xml 303 | _Pvt_Extensions 304 | 305 | # Paket dependency manager 306 | .paket/paket.exe 307 | paket-files/ 308 | 309 | # FAKE - F# Make 310 | .fake/ 311 | 312 | # CodeRush personal settings 313 | .cr/personal 314 | 315 | # Python Tools for Visual Studio (PTVS) 316 | __pycache__/ 317 | *.pyc 318 | 319 | # Cake - Uncomment if you are using it 320 | # tools/** 321 | # !tools/packages.config 322 | 323 | # Tabs Studio 324 | *.tss 325 | 326 | # Telerik's JustMock configuration file 327 | *.jmconfig 328 | 329 | # BizTalk build output 330 | *.btp.cs 331 | *.btm.cs 332 | *.odx.cs 333 | *.xsd.cs 334 | 335 | # OpenCover UI analysis results 336 | OpenCover/ 337 | 338 | # Azure Stream Analytics local run output 339 | ASALocalRun/ 340 | 341 | # MSBuild Binary and Structured Log 342 | *.binlog 343 | 344 | # NVidia Nsight GPU debugger configuration file 345 | *.nvuser 346 | 347 | # MFractors (Xamarin productivity tool) working folder 348 | .mfractor/ 349 | 350 | # Local History for Visual Studio 351 | .localhistory/ 352 | 353 | # BeatPulse healthcheck temp database 354 | healthchecksdb 355 | 356 | # Backup folder for Package Reference Convert tool in Visual Studio 2017 357 | MigrationBackup/ 358 | 359 | # Ionide (cross platform F# VS Code tools) working folder 360 | .ionide/ 361 | 362 | # Fody - auto-generated XML schema 363 | FodyWeavers.xsd -------------------------------------------------------------------------------- /Power Fx Demo/LegacyIntranet/wwwroot/css/open-iconic/font/css/open-iconic-bootstrap.min.css: -------------------------------------------------------------------------------- 1 | @font-face{font-family:Icons;src:url(../fonts/open-iconic.eot);src:url(../fonts/open-iconic.eot?#iconic-sm) format('embedded-opentype'),url(../fonts/open-iconic.woff) format('woff'),url(../fonts/open-iconic.ttf) format('truetype'),url(../fonts/open-iconic.otf) format('opentype'),url(../fonts/open-iconic.svg#iconic-sm) format('svg');font-weight:400;font-style:normal}.oi{position:relative;top:1px;display:inline-block;speak:none;font-family:Icons;font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.oi:empty:before{width:1em;text-align:center;box-sizing:content-box}.oi.oi-align-center:before{text-align:center}.oi.oi-align-left:before{text-align:left}.oi.oi-align-right:before{text-align:right}.oi.oi-flip-horizontal:before{-webkit-transform:scale(-1,1);-ms-transform:scale(-1,1);transform:scale(-1,1)}.oi.oi-flip-vertical:before{-webkit-transform:scale(1,-1);-ms-transform:scale(-1,1);transform:scale(1,-1)}.oi.oi-flip-horizontal-vertical:before{-webkit-transform:scale(-1,-1);-ms-transform:scale(-1,1);transform:scale(-1,-1)}.oi-account-login:before{content:'\e000'}.oi-account-logout:before{content:'\e001'}.oi-action-redo:before{content:'\e002'}.oi-action-undo:before{content:'\e003'}.oi-align-center:before{content:'\e004'}.oi-align-left:before{content:'\e005'}.oi-align-right:before{content:'\e006'}.oi-aperture:before{content:'\e007'}.oi-arrow-bottom:before{content:'\e008'}.oi-arrow-circle-bottom:before{content:'\e009'}.oi-arrow-circle-left:before{content:'\e00a'}.oi-arrow-circle-right:before{content:'\e00b'}.oi-arrow-circle-top:before{content:'\e00c'}.oi-arrow-left:before{content:'\e00d'}.oi-arrow-right:before{content:'\e00e'}.oi-arrow-thick-bottom:before{content:'\e00f'}.oi-arrow-thick-left:before{content:'\e010'}.oi-arrow-thick-right:before{content:'\e011'}.oi-arrow-thick-top:before{content:'\e012'}.oi-arrow-top:before{content:'\e013'}.oi-audio-spectrum:before{content:'\e014'}.oi-audio:before{content:'\e015'}.oi-badge:before{content:'\e016'}.oi-ban:before{content:'\e017'}.oi-bar-chart:before{content:'\e018'}.oi-basket:before{content:'\e019'}.oi-battery-empty:before{content:'\e01a'}.oi-battery-full:before{content:'\e01b'}.oi-beaker:before{content:'\e01c'}.oi-bell:before{content:'\e01d'}.oi-bluetooth:before{content:'\e01e'}.oi-bold:before{content:'\e01f'}.oi-bolt:before{content:'\e020'}.oi-book:before{content:'\e021'}.oi-bookmark:before{content:'\e022'}.oi-box:before{content:'\e023'}.oi-briefcase:before{content:'\e024'}.oi-british-pound:before{content:'\e025'}.oi-browser:before{content:'\e026'}.oi-brush:before{content:'\e027'}.oi-bug:before{content:'\e028'}.oi-bullhorn:before{content:'\e029'}.oi-calculator:before{content:'\e02a'}.oi-calendar:before{content:'\e02b'}.oi-camera-slr:before{content:'\e02c'}.oi-caret-bottom:before{content:'\e02d'}.oi-caret-left:before{content:'\e02e'}.oi-caret-right:before{content:'\e02f'}.oi-caret-top:before{content:'\e030'}.oi-cart:before{content:'\e031'}.oi-chat:before{content:'\e032'}.oi-check:before{content:'\e033'}.oi-chevron-bottom:before{content:'\e034'}.oi-chevron-left:before{content:'\e035'}.oi-chevron-right:before{content:'\e036'}.oi-chevron-top:before{content:'\e037'}.oi-circle-check:before{content:'\e038'}.oi-circle-x:before{content:'\e039'}.oi-clipboard:before{content:'\e03a'}.oi-clock:before{content:'\e03b'}.oi-cloud-download:before{content:'\e03c'}.oi-cloud-upload:before{content:'\e03d'}.oi-cloud:before{content:'\e03e'}.oi-cloudy:before{content:'\e03f'}.oi-code:before{content:'\e040'}.oi-cog:before{content:'\e041'}.oi-collapse-down:before{content:'\e042'}.oi-collapse-left:before{content:'\e043'}.oi-collapse-right:before{content:'\e044'}.oi-collapse-up:before{content:'\e045'}.oi-command:before{content:'\e046'}.oi-comment-square:before{content:'\e047'}.oi-compass:before{content:'\e048'}.oi-contrast:before{content:'\e049'}.oi-copywriting:before{content:'\e04a'}.oi-credit-card:before{content:'\e04b'}.oi-crop:before{content:'\e04c'}.oi-dashboard:before{content:'\e04d'}.oi-data-transfer-download:before{content:'\e04e'}.oi-data-transfer-upload:before{content:'\e04f'}.oi-delete:before{content:'\e050'}.oi-dial:before{content:'\e051'}.oi-document:before{content:'\e052'}.oi-dollar:before{content:'\e053'}.oi-double-quote-sans-left:before{content:'\e054'}.oi-double-quote-sans-right:before{content:'\e055'}.oi-double-quote-serif-left:before{content:'\e056'}.oi-double-quote-serif-right:before{content:'\e057'}.oi-droplet:before{content:'\e058'}.oi-eject:before{content:'\e059'}.oi-elevator:before{content:'\e05a'}.oi-ellipses:before{content:'\e05b'}.oi-envelope-closed:before{content:'\e05c'}.oi-envelope-open:before{content:'\e05d'}.oi-euro:before{content:'\e05e'}.oi-excerpt:before{content:'\e05f'}.oi-expand-down:before{content:'\e060'}.oi-expand-left:before{content:'\e061'}.oi-expand-right:before{content:'\e062'}.oi-expand-up:before{content:'\e063'}.oi-external-link:before{content:'\e064'}.oi-eye:before{content:'\e065'}.oi-eyedropper:before{content:'\e066'}.oi-file:before{content:'\e067'}.oi-fire:before{content:'\e068'}.oi-flag:before{content:'\e069'}.oi-flash:before{content:'\e06a'}.oi-folder:before{content:'\e06b'}.oi-fork:before{content:'\e06c'}.oi-fullscreen-enter:before{content:'\e06d'}.oi-fullscreen-exit:before{content:'\e06e'}.oi-globe:before{content:'\e06f'}.oi-graph:before{content:'\e070'}.oi-grid-four-up:before{content:'\e071'}.oi-grid-three-up:before{content:'\e072'}.oi-grid-two-up:before{content:'\e073'}.oi-hard-drive:before{content:'\e074'}.oi-header:before{content:'\e075'}.oi-headphones:before{content:'\e076'}.oi-heart:before{content:'\e077'}.oi-home:before{content:'\e078'}.oi-image:before{content:'\e079'}.oi-inbox:before{content:'\e07a'}.oi-infinity:before{content:'\e07b'}.oi-info:before{content:'\e07c'}.oi-italic:before{content:'\e07d'}.oi-justify-center:before{content:'\e07e'}.oi-justify-left:before{content:'\e07f'}.oi-justify-right:before{content:'\e080'}.oi-key:before{content:'\e081'}.oi-laptop:before{content:'\e082'}.oi-layers:before{content:'\e083'}.oi-lightbulb:before{content:'\e084'}.oi-link-broken:before{content:'\e085'}.oi-link-intact:before{content:'\e086'}.oi-list-rich:before{content:'\e087'}.oi-list:before{content:'\e088'}.oi-location:before{content:'\e089'}.oi-lock-locked:before{content:'\e08a'}.oi-lock-unlocked:before{content:'\e08b'}.oi-loop-circular:before{content:'\e08c'}.oi-loop-square:before{content:'\e08d'}.oi-loop:before{content:'\e08e'}.oi-magnifying-glass:before{content:'\e08f'}.oi-map-marker:before{content:'\e090'}.oi-map:before{content:'\e091'}.oi-media-pause:before{content:'\e092'}.oi-media-play:before{content:'\e093'}.oi-media-record:before{content:'\e094'}.oi-media-skip-backward:before{content:'\e095'}.oi-media-skip-forward:before{content:'\e096'}.oi-media-step-backward:before{content:'\e097'}.oi-media-step-forward:before{content:'\e098'}.oi-media-stop:before{content:'\e099'}.oi-medical-cross:before{content:'\e09a'}.oi-menu:before{content:'\e09b'}.oi-microphone:before{content:'\e09c'}.oi-minus:before{content:'\e09d'}.oi-monitor:before{content:'\e09e'}.oi-moon:before{content:'\e09f'}.oi-move:before{content:'\e0a0'}.oi-musical-note:before{content:'\e0a1'}.oi-paperclip:before{content:'\e0a2'}.oi-pencil:before{content:'\e0a3'}.oi-people:before{content:'\e0a4'}.oi-person:before{content:'\e0a5'}.oi-phone:before{content:'\e0a6'}.oi-pie-chart:before{content:'\e0a7'}.oi-pin:before{content:'\e0a8'}.oi-play-circle:before{content:'\e0a9'}.oi-plus:before{content:'\e0aa'}.oi-power-standby:before{content:'\e0ab'}.oi-print:before{content:'\e0ac'}.oi-project:before{content:'\e0ad'}.oi-pulse:before{content:'\e0ae'}.oi-puzzle-piece:before{content:'\e0af'}.oi-question-mark:before{content:'\e0b0'}.oi-rain:before{content:'\e0b1'}.oi-random:before{content:'\e0b2'}.oi-reload:before{content:'\e0b3'}.oi-resize-both:before{content:'\e0b4'}.oi-resize-height:before{content:'\e0b5'}.oi-resize-width:before{content:'\e0b6'}.oi-rss-alt:before{content:'\e0b7'}.oi-rss:before{content:'\e0b8'}.oi-script:before{content:'\e0b9'}.oi-share-boxed:before{content:'\e0ba'}.oi-share:before{content:'\e0bb'}.oi-shield:before{content:'\e0bc'}.oi-signal:before{content:'\e0bd'}.oi-signpost:before{content:'\e0be'}.oi-sort-ascending:before{content:'\e0bf'}.oi-sort-descending:before{content:'\e0c0'}.oi-spreadsheet:before{content:'\e0c1'}.oi-star:before{content:'\e0c2'}.oi-sun:before{content:'\e0c3'}.oi-tablet:before{content:'\e0c4'}.oi-tag:before{content:'\e0c5'}.oi-tags:before{content:'\e0c6'}.oi-target:before{content:'\e0c7'}.oi-task:before{content:'\e0c8'}.oi-terminal:before{content:'\e0c9'}.oi-text:before{content:'\e0ca'}.oi-thumb-down:before{content:'\e0cb'}.oi-thumb-up:before{content:'\e0cc'}.oi-timer:before{content:'\e0cd'}.oi-transfer:before{content:'\e0ce'}.oi-trash:before{content:'\e0cf'}.oi-underline:before{content:'\e0d0'}.oi-vertical-align-bottom:before{content:'\e0d1'}.oi-vertical-align-center:before{content:'\e0d2'}.oi-vertical-align-top:before{content:'\e0d3'}.oi-video:before{content:'\e0d4'}.oi-volume-high:before{content:'\e0d5'}.oi-volume-low:before{content:'\e0d6'}.oi-volume-off:before{content:'\e0d7'}.oi-warning:before{content:'\e0d8'}.oi-wifi:before{content:'\e0d9'}.oi-wrench:before{content:'\e0da'}.oi-x:before{content:'\e0db'}.oi-yen:before{content:'\e0dc'}.oi-zoom-in:before{content:'\e0dd'}.oi-zoom-out:before{content:'\e0de'} -------------------------------------------------------------------------------- /InventAPI/InventoryOnHand/CanvasApps/src/msbuild_inventonhand_2be80/pkgs/label_2.5.1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | TODO: Need license text here.

]]>
4 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | = 0 ? 'button' : 'presentation', 45 | 'aria-disabled': properties.TabIndex() >= 0 && viewState.displayMode() !== AppMagic.Constants.DisplayMode.Edit 46 | }, 47 | event: { 48 | click: handleClick 49 | }, 50 | shortcut: { 51 | provider: shortcutProvider, 52 | enabled: shortcutsEnabled 53 | }" 54 | > 55 | 56 |
71 |
72 | 73 | 74 |

89 |

90 | 91 | 92 |

107 |

108 | 109 | 110 |

125 |

126 | 127 | 128 |

143 |

144 | 145 | 146 | ]]>
147 | 148 | 149 | 150 | Live 151 | data 152 | ##label_Live_DisplayName## 153 | ##label_Live_Tooltip## 154 | 155 | 156 | 157 | Line Height 158 | design 159 | ##label_LineHeight_DisplayName## 160 | ##label_LineHeight_Tooltip## 161 | lineWidth 162 | 163 | 164 | Overflow 165 | design 166 | ##label_Overflow_DisplayName## 167 | ##label_Overflow_Tooltip## 168 | overflow 169 | 170 | 171 | 172 | AutoHeight 173 | design 174 | ##CommonProperties_AutoHeight_DisplayName## 175 | ##CommonProperties_AutoHeight_Tooltip## 176 | 177 | 178 | Wrap 179 | design 180 | ##label_Wrap_DisplayName## 181 | ##label_Wrap_Tooltip## 182 | 183 | 184 | 187 | 188 | 189 | 190 | 191 | true 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 |
-------------------------------------------------------------------------------- /InventAPI/InventoryOnHand/CanvasApps/src/msbuild_inventonhand_2be80/pkgs/text_2.3.2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | TODO: Need license text here.

]]>
4 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 16 | 17 | 54 | 55 | 56 | 95 | 96 |
97 | 113 |
114 | 115 | 116 |
117 | 118 | 119 | ]]>
120 | 121 | 122 | Initial text 123 | data 124 | ##text_Default_DisplayName## 125 | ##text_Default_Tooltip## 126 | 127 | 128 | Output Text 129 | data 130 | 131 | 132 | Textbox Mode 133 | design 134 | TextMode 135 | ##text_Mode_DisplayName## 136 | ##text_Mode_Tooltip## 137 | 138 | 139 | Input textbox Format 140 | design 141 | TextFormat 142 | ##text_Format_DisplayName## 143 | ##text_Format_Tooltip## 144 | 145 | 146 | Input Keyboard Type 147 | design 148 | VirtualKeyboardMode 149 | ##text_VirtualKeyboardMode_DisplayName## 150 | ##text_VirtualKeyboardMode_Tooltip## 151 | 152 | 153 | Clear Button 154 | design 155 | boolean 156 | ##text_Clear_DisplayName## 157 | ##text_Clear_Tooltip## 158 | 159 | 160 | Enable spell check 161 | design 162 | boolean 163 | ##text_EnableSpellCheck_DisplayName## 164 | ##text_EnableSpellCheck_Tooltip## 165 | 166 | 167 | Reset 168 | data 169 | ##commonProperties_Reset_DisplayName## 170 | ##commonProperties_Reset_Tooltip## 171 | 172 | 173 | Line Height 174 | design 175 | ##text_LineHeight_DisplayName## 176 | lineWidth 177 | ##label_LineHeight_Tooltip## 178 | 179 | 180 | Hint text 181 | data 182 | ##text_HintText_DisplayName## 183 | ##text_HintText_Tooltip## 184 | 185 | 186 | MaxLength 187 | data 188 | ##commonProperties_MaxLength_DisplayName## 189 | ##commonProperties_MaxLength_Tooltip## 190 | 191 | 192 | DelayOutput 193 | data 194 | ##text_DelayOutput_DisplayName## 195 | ##text_DelayOutput_Tooltip## 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | true 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 | 342 | 343 | 344 | 345 | 346 | 347 | 348 | 349 | 350 | 351 | 352 | 353 | 354 | 355 | 356 | 357 | 358 | 359 | 360 | 361 | 362 | 363 | 364 | 365 | 366 | 367 |
-------------------------------------------------------------------------------- /InventAPI/InventoryOnHand/CanvasApps/src/msbuild_inventonhand_2be80/Entropy/AppCheckerResult.sarif: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.4.json", 3 | "runs": [ 4 | { 5 | "columnKind": "utf16CodeUnits", 6 | "invocations": [ 7 | { 8 | "executionSuccessful": true, 9 | "toolExecutionNotifications": [ 10 | { 11 | "associatedRule": { 12 | "id": "app-InefficientDelayLoading", 13 | "index": 4 14 | }, 15 | "descriptor": { 16 | "id": "app-InefficientDelayLoading" 17 | }, 18 | "message": { 19 | "text": "Error occurred running rule app-InefficientDelayLoading." 20 | } 21 | }, 22 | { 23 | "associatedRule": { 24 | "id": "app-InefficientDelayLoading", 25 | "index": 4 26 | }, 27 | "descriptor": { 28 | "id": "app-InefficientDelayLoading" 29 | }, 30 | "message": { 31 | "text": "Error occurred running rule app-InefficientDelayLoading." 32 | } 33 | }, 34 | { 35 | "associatedRule": { 36 | "id": "app-InefficientDelayLoading", 37 | "index": 4 38 | }, 39 | "descriptor": { 40 | "id": "app-InefficientDelayLoading" 41 | }, 42 | "message": { 43 | "text": "Error occurred running rule app-InefficientDelayLoading." 44 | } 45 | }, 46 | { 47 | "associatedRule": { 48 | "id": "app-InefficientDelayLoading", 49 | "index": 4 50 | }, 51 | "descriptor": { 52 | "id": "app-InefficientDelayLoading" 53 | }, 54 | "message": { 55 | "text": "Error occurred running rule app-InefficientDelayLoading." 56 | } 57 | }, 58 | { 59 | "associatedRule": { 60 | "id": "app-InefficientDelayLoading", 61 | "index": 4 62 | }, 63 | "descriptor": { 64 | "id": "app-InefficientDelayLoading" 65 | }, 66 | "message": { 67 | "text": "Error occurred running rule app-InefficientDelayLoading." 68 | } 69 | }, 70 | { 71 | "associatedRule": { 72 | "id": "app-InefficientDelayLoading", 73 | "index": 4 74 | }, 75 | "descriptor": { 76 | "id": "app-InefficientDelayLoading" 77 | }, 78 | "message": { 79 | "text": "Error occurred running rule app-InefficientDelayLoading." 80 | } 81 | }, 82 | { 83 | "associatedRule": { 84 | "id": "app-InefficientDelayLoading", 85 | "index": 4 86 | }, 87 | "descriptor": { 88 | "id": "app-InefficientDelayLoading" 89 | }, 90 | "message": { 91 | "text": "Error occurred running rule app-InefficientDelayLoading." 92 | } 93 | }, 94 | { 95 | "associatedRule": { 96 | "id": "app-InefficientDelayLoading", 97 | "index": 4 98 | }, 99 | "descriptor": { 100 | "id": "app-InefficientDelayLoading" 101 | }, 102 | "message": { 103 | "text": "Error occurred running rule app-InefficientDelayLoading." 104 | } 105 | }, 106 | { 107 | "associatedRule": { 108 | "id": "app-InefficientDelayLoading", 109 | "index": 4 110 | }, 111 | "descriptor": { 112 | "id": "app-InefficientDelayLoading" 113 | }, 114 | "message": { 115 | "text": "Error occurred running rule app-InefficientDelayLoading." 116 | } 117 | }, 118 | { 119 | "associatedRule": { 120 | "id": "app-InefficientDelayLoading", 121 | "index": 4 122 | }, 123 | "descriptor": { 124 | "id": "app-InefficientDelayLoading" 125 | }, 126 | "message": { 127 | "text": "Error occurred running rule app-InefficientDelayLoading." 128 | } 129 | }, 130 | { 131 | "associatedRule": { 132 | "id": "app-InefficientDelayLoading", 133 | "index": 4 134 | }, 135 | "descriptor": { 136 | "id": "app-InefficientDelayLoading" 137 | }, 138 | "message": { 139 | "text": "Error occurred running rule app-InefficientDelayLoading." 140 | } 141 | }, 142 | { 143 | "associatedRule": { 144 | "id": "app-InefficientDelayLoading", 145 | "index": 4 146 | }, 147 | "descriptor": { 148 | "id": "app-InefficientDelayLoading" 149 | }, 150 | "message": { 151 | "text": "Error occurred running rule app-InefficientDelayLoading." 152 | } 153 | }, 154 | { 155 | "associatedRule": { 156 | "id": "app-InefficientDelayLoading", 157 | "index": 4 158 | }, 159 | "descriptor": { 160 | "id": "app-InefficientDelayLoading" 161 | }, 162 | "message": { 163 | "text": "Error occurred running rule app-InefficientDelayLoading." 164 | } 165 | }, 166 | { 167 | "associatedRule": { 168 | "id": "app-InefficientDelayLoading", 169 | "index": 4 170 | }, 171 | "descriptor": { 172 | "id": "app-InefficientDelayLoading" 173 | }, 174 | "message": { 175 | "text": "Error occurred running rule app-InefficientDelayLoading." 176 | } 177 | }, 178 | { 179 | "associatedRule": { 180 | "id": "app-InefficientDelayLoading", 181 | "index": 4 182 | }, 183 | "descriptor": { 184 | "id": "app-InefficientDelayLoading" 185 | }, 186 | "message": { 187 | "text": "Error occurred running rule app-InefficientDelayLoading." 188 | } 189 | }, 190 | { 191 | "associatedRule": { 192 | "id": "app-InefficientDelayLoading", 193 | "index": 4 194 | }, 195 | "descriptor": { 196 | "id": "app-InefficientDelayLoading" 197 | }, 198 | "message": { 199 | "text": "Error occurred running rule app-InefficientDelayLoading." 200 | } 201 | }, 202 | { 203 | "associatedRule": { 204 | "id": "app-InefficientDelayLoading", 205 | "index": 4 206 | }, 207 | "descriptor": { 208 | "id": "app-InefficientDelayLoading" 209 | }, 210 | "message": { 211 | "text": "Error occurred running rule app-InefficientDelayLoading." 212 | } 213 | }, 214 | { 215 | "associatedRule": { 216 | "id": "app-InefficientDelayLoading", 217 | "index": 4 218 | }, 219 | "descriptor": { 220 | "id": "app-InefficientDelayLoading" 221 | }, 222 | "message": { 223 | "text": "Error occurred running rule app-InefficientDelayLoading." 224 | } 225 | }, 226 | { 227 | "associatedRule": { 228 | "id": "app-InefficientDelayLoading", 229 | "index": 4 230 | }, 231 | "descriptor": { 232 | "id": "app-InefficientDelayLoading" 233 | }, 234 | "message": { 235 | "text": "Error occurred running rule app-InefficientDelayLoading." 236 | } 237 | }, 238 | { 239 | "associatedRule": { 240 | "id": "app-InefficientDelayLoading", 241 | "index": 4 242 | }, 243 | "descriptor": { 244 | "id": "app-InefficientDelayLoading" 245 | }, 246 | "message": { 247 | "text": "Error occurred running rule app-InefficientDelayLoading." 248 | } 249 | }, 250 | { 251 | "associatedRule": { 252 | "id": "app-InefficientDelayLoading", 253 | "index": 4 254 | }, 255 | "descriptor": { 256 | "id": "app-InefficientDelayLoading" 257 | }, 258 | "message": { 259 | "text": "Error occurred running rule app-InefficientDelayLoading." 260 | } 261 | }, 262 | { 263 | "associatedRule": { 264 | "id": "app-InefficientDelayLoading", 265 | "index": 4 266 | }, 267 | "descriptor": { 268 | "id": "app-InefficientDelayLoading" 269 | }, 270 | "message": { 271 | "text": "Error occurred running rule app-InefficientDelayLoading." 272 | } 273 | }, 274 | { 275 | "associatedRule": { 276 | "id": "app-InefficientDelayLoading", 277 | "index": 4 278 | }, 279 | "descriptor": { 280 | "id": "app-InefficientDelayLoading" 281 | }, 282 | "message": { 283 | "text": "Error occurred running rule app-InefficientDelayLoading." 284 | } 285 | }, 286 | { 287 | "associatedRule": { 288 | "id": "app-InefficientDelayLoading", 289 | "index": 4 290 | }, 291 | "descriptor": { 292 | "id": "app-InefficientDelayLoading" 293 | }, 294 | "message": { 295 | "text": "Error occurred running rule app-InefficientDelayLoading." 296 | } 297 | }, 298 | { 299 | "associatedRule": { 300 | "id": "app-InefficientDelayLoading", 301 | "index": 4 302 | }, 303 | "descriptor": { 304 | "id": "app-InefficientDelayLoading" 305 | }, 306 | "message": { 307 | "text": "Error occurred running rule app-InefficientDelayLoading." 308 | } 309 | }, 310 | { 311 | "associatedRule": { 312 | "id": "app-InefficientDelayLoading", 313 | "index": 4 314 | }, 315 | "descriptor": { 316 | "id": "app-InefficientDelayLoading" 317 | }, 318 | "message": { 319 | "text": "Error occurred running rule app-InefficientDelayLoading." 320 | } 321 | }, 322 | { 323 | "associatedRule": { 324 | "id": "app-InefficientDelayLoading", 325 | "index": 4 326 | }, 327 | "descriptor": { 328 | "id": "app-InefficientDelayLoading" 329 | }, 330 | "message": { 331 | "text": "Error occurred running rule app-InefficientDelayLoading." 332 | } 333 | }, 334 | { 335 | "associatedRule": { 336 | "id": "app-InefficientDelayLoading", 337 | "index": 4 338 | }, 339 | "descriptor": { 340 | "id": "app-InefficientDelayLoading" 341 | }, 342 | "message": { 343 | "text": "Error occurred running rule app-InefficientDelayLoading." 344 | } 345 | }, 346 | { 347 | "associatedRule": { 348 | "id": "app-InefficientDelayLoading", 349 | "index": 4 350 | }, 351 | "descriptor": { 352 | "id": "app-InefficientDelayLoading" 353 | }, 354 | "message": { 355 | "text": "Error occurred running rule app-InefficientDelayLoading." 356 | } 357 | }, 358 | { 359 | "associatedRule": { 360 | "id": "app-InefficientDelayLoading", 361 | "index": 4 362 | }, 363 | "descriptor": { 364 | "id": "app-InefficientDelayLoading" 365 | }, 366 | "message": { 367 | "text": "Error occurred running rule app-InefficientDelayLoading." 368 | } 369 | }, 370 | { 371 | "associatedRule": { 372 | "id": "app-InefficientDelayLoading", 373 | "index": 4 374 | }, 375 | "descriptor": { 376 | "id": "app-InefficientDelayLoading" 377 | }, 378 | "message": { 379 | "text": "Error occurred running rule app-InefficientDelayLoading." 380 | } 381 | }, 382 | { 383 | "associatedRule": { 384 | "id": "app-InefficientDelayLoading", 385 | "index": 4 386 | }, 387 | "descriptor": { 388 | "id": "app-InefficientDelayLoading" 389 | }, 390 | "message": { 391 | "text": "Error occurred running rule app-InefficientDelayLoading." 392 | } 393 | }, 394 | { 395 | "associatedRule": { 396 | "id": "app-InefficientDelayLoading", 397 | "index": 4 398 | }, 399 | "descriptor": { 400 | "id": "app-InefficientDelayLoading" 401 | }, 402 | "message": { 403 | "text": "Error occurred running rule app-InefficientDelayLoading." 404 | } 405 | }, 406 | { 407 | "associatedRule": { 408 | "id": "app-InefficientDelayLoading", 409 | "index": 4 410 | }, 411 | "descriptor": { 412 | "id": "app-InefficientDelayLoading" 413 | }, 414 | "message": { 415 | "text": "Error occurred running rule app-InefficientDelayLoading." 416 | } 417 | }, 418 | { 419 | "associatedRule": { 420 | "id": "app-InefficientDelayLoading", 421 | "index": 4 422 | }, 423 | "descriptor": { 424 | "id": "app-InefficientDelayLoading" 425 | }, 426 | "message": { 427 | "text": "Error occurred running rule app-InefficientDelayLoading." 428 | } 429 | } 430 | ] 431 | } 432 | ], 433 | "results": [ 434 | { 435 | "locations": [ 436 | { 437 | "logicalLocations": [ 438 | { 439 | "fullyQualifiedName": "Screen1" 440 | } 441 | ], 442 | "physicalLocation": { 443 | "address": { 444 | "fullyQualifiedName": "Screen1", 445 | "relativeAddress": 0 446 | } 447 | }, 448 | "properties": { 449 | "module": "Screen1", 450 | "type": "Screen1" 451 | } 452 | } 453 | ], 454 | "message": { 455 | "id": "issue" 456 | }, 457 | "properties": { 458 | "level": "Low" 459 | }, 460 | "ruleId": "acc-ReadableScreenNameNeeded", 461 | "ruleIndex": 0 462 | }, 463 | { 464 | "locations": [ 465 | { 466 | "logicalLocations": [ 467 | { 468 | "fullyQualifiedName": "Screen1.TextSearchBox1.AccessibleLabel" 469 | } 470 | ], 471 | "physicalLocation": { 472 | "address": { 473 | "fullyQualifiedName": "Screen1.TextSearchBox1.AccessibleLabel", 474 | "relativeAddress": 0 475 | } 476 | }, 477 | "properties": { 478 | "member": "AccessibleLabel", 479 | "module": "Screen1", 480 | "type": "Screen1.TextSearchBox1" 481 | } 482 | } 483 | ], 484 | "message": { 485 | "id": "issue" 486 | }, 487 | "properties": { 488 | "level": "Medium" 489 | }, 490 | "ruleId": "acc-AccessibleLabelNeeded", 491 | "ruleIndex": 1 492 | }, 493 | { 494 | "locations": [ 495 | { 496 | "logicalLocations": [ 497 | { 498 | "fullyQualifiedName": "Screen1.BrowseGallery1.AccessibleLabel" 499 | } 500 | ], 501 | "physicalLocation": { 502 | "address": { 503 | "fullyQualifiedName": "Screen1.BrowseGallery1.AccessibleLabel", 504 | "relativeAddress": 0 505 | } 506 | }, 507 | "properties": { 508 | "member": "AccessibleLabel", 509 | "module": "Screen1", 510 | "type": "Screen1.BrowseGallery1" 511 | } 512 | } 513 | ], 514 | "message": { 515 | "id": "issue" 516 | }, 517 | "properties": { 518 | "level": "Medium" 519 | }, 520 | "ruleId": "acc-AccessibleLabelNeeded", 521 | "ruleIndex": 1 522 | }, 523 | { 524 | "locations": [ 525 | { 526 | "logicalLocations": [ 527 | { 528 | "fullyQualifiedName": "Screen1.BrowseGallery1.TabIndex" 529 | } 530 | ], 531 | "physicalLocation": { 532 | "address": { 533 | "fullyQualifiedName": "Screen1.BrowseGallery1.TabIndex", 534 | "relativeAddress": 0 535 | } 536 | }, 537 | "properties": { 538 | "member": "TabIndex", 539 | "module": "Screen1", 540 | "type": "Screen1.BrowseGallery1" 541 | } 542 | } 543 | ], 544 | "message": { 545 | "id": "issue" 546 | }, 547 | "properties": { 548 | "level": "Medium" 549 | }, 550 | "ruleId": "acc-TabIndexShouldBeDefinedForInteractiveControl", 551 | "ruleIndex": 2 552 | }, 553 | { 554 | "locations": [ 555 | { 556 | "logicalLocations": [ 557 | { 558 | "fullyQualifiedName": "Screen1.BrowseGallery1.NextArrow3.TabIndex" 559 | } 560 | ], 561 | "physicalLocation": { 562 | "address": { 563 | "fullyQualifiedName": "Screen1.BrowseGallery1.NextArrow3.TabIndex", 564 | "relativeAddress": 0 565 | } 566 | }, 567 | "properties": { 568 | "member": "TabIndex", 569 | "module": "Screen1", 570 | "type": "Screen1.BrowseGallery1.NextArrow3" 571 | } 572 | } 573 | ], 574 | "message": { 575 | "id": "issue" 576 | }, 577 | "properties": { 578 | "level": "Medium" 579 | }, 580 | "ruleId": "acc-TabIndexShouldBeDefinedForInteractiveControl", 581 | "ruleIndex": 2 582 | }, 583 | { 584 | "locations": [ 585 | { 586 | "logicalLocations": [ 587 | { 588 | "fullyQualifiedName": "Screen2" 589 | } 590 | ], 591 | "physicalLocation": { 592 | "address": { 593 | "fullyQualifiedName": "Screen2", 594 | "relativeAddress": 0 595 | } 596 | }, 597 | "properties": { 598 | "module": "Screen2", 599 | "type": "Screen2" 600 | } 601 | } 602 | ], 603 | "message": { 604 | "id": "issue" 605 | }, 606 | "properties": { 607 | "level": "Low" 608 | }, 609 | "ruleId": "acc-ReadableScreenNameNeeded", 610 | "ruleIndex": 0 611 | }, 612 | { 613 | "locations": [ 614 | { 615 | "logicalLocations": [ 616 | { 617 | "fullyQualifiedName": "Screen2.TextSearchBox2.AccessibleLabel" 618 | } 619 | ], 620 | "physicalLocation": { 621 | "address": { 622 | "fullyQualifiedName": "Screen2.TextSearchBox2.AccessibleLabel", 623 | "relativeAddress": 0 624 | } 625 | }, 626 | "properties": { 627 | "member": "AccessibleLabel", 628 | "module": "Screen2", 629 | "type": "Screen2.TextSearchBox2" 630 | } 631 | } 632 | ], 633 | "message": { 634 | "id": "issue" 635 | }, 636 | "properties": { 637 | "level": "Medium" 638 | }, 639 | "ruleId": "acc-AccessibleLabelNeeded", 640 | "ruleIndex": 1 641 | }, 642 | { 643 | "locations": [ 644 | { 645 | "logicalLocations": [ 646 | { 647 | "fullyQualifiedName": "Screen2.BrowseGallery2.AccessibleLabel" 648 | } 649 | ], 650 | "physicalLocation": { 651 | "address": { 652 | "fullyQualifiedName": "Screen2.BrowseGallery2.AccessibleLabel", 653 | "relativeAddress": 0 654 | } 655 | }, 656 | "properties": { 657 | "member": "AccessibleLabel", 658 | "module": "Screen2", 659 | "type": "Screen2.BrowseGallery2" 660 | } 661 | } 662 | ], 663 | "message": { 664 | "id": "issue" 665 | }, 666 | "properties": { 667 | "level": "Medium" 668 | }, 669 | "ruleId": "acc-AccessibleLabelNeeded", 670 | "ruleIndex": 1 671 | }, 672 | { 673 | "locations": [ 674 | { 675 | "logicalLocations": [ 676 | { 677 | "fullyQualifiedName": "Screen2.BrowseGallery2.TabIndex" 678 | } 679 | ], 680 | "physicalLocation": { 681 | "address": { 682 | "fullyQualifiedName": "Screen2.BrowseGallery2.TabIndex", 683 | "relativeAddress": 0 684 | } 685 | }, 686 | "properties": { 687 | "member": "TabIndex", 688 | "module": "Screen2", 689 | "type": "Screen2.BrowseGallery2" 690 | } 691 | } 692 | ], 693 | "message": { 694 | "id": "issue" 695 | }, 696 | "properties": { 697 | "level": "Medium" 698 | }, 699 | "ruleId": "acc-TabIndexShouldBeDefinedForInteractiveControl", 700 | "ruleIndex": 2 701 | }, 702 | { 703 | "locations": [ 704 | { 705 | "logicalLocations": [ 706 | { 707 | "fullyQualifiedName": "App.InventAPI_Connector" 708 | } 709 | ], 710 | "physicalLocation": { 711 | "address": { 712 | "fullyQualifiedName": "App.InventAPI_Connector", 713 | "relativeAddress": 0 714 | } 715 | }, 716 | "properties": { 717 | "member": "InventAPI_Connector", 718 | "module": "App", 719 | "type": "App" 720 | } 721 | } 722 | ], 723 | "message": { 724 | "id": "issue" 725 | }, 726 | "properties": { 727 | "level": "Medium" 728 | }, 729 | "ruleId": "app-NotOfflineConnectors", 730 | "ruleIndex": 3 731 | } 732 | ], 733 | "tool": { 734 | "driver": { 735 | "fullName": "PowerApps app checker", 736 | "name": "PowerApps app checker", 737 | "rules": [ 738 | { 739 | "id": "acc-ReadableScreenNameNeeded", 740 | "messageStrings": { 741 | "issue": { 742 | "text": "Revise screen name" 743 | } 744 | }, 745 | "properties": { 746 | "componentType": "app", 747 | "howToFix": [ 748 | "Give the screen a title that describes what's on the screen or what it's used for." 749 | ], 750 | "level": "Low", 751 | "primaryCategory": "accessibility", 752 | "whyFix": "People who are blind, have low vision, or a reading disability rely on screen titles to navigate using the screen reader. " 753 | } 754 | }, 755 | { 756 | "id": "acc-AccessibleLabelNeeded", 757 | "messageStrings": { 758 | "issue": { 759 | "text": "Missing accessible label" 760 | } 761 | }, 762 | "properties": { 763 | "componentType": "app", 764 | "howToFix": [ 765 | "Edit the accessible label property to describe the item." 766 | ], 767 | "level": "Medium", 768 | "primaryCategory": "accessibility", 769 | "whyFix": "If there's no accessible text, people who can’t see the screen won't understand what’s in images and controls." 770 | } 771 | }, 772 | { 773 | "id": "acc-TabIndexShouldBeDefinedForInteractiveControl", 774 | "messageStrings": { 775 | "issue": { 776 | "text": "Missing tab stop" 777 | } 778 | }, 779 | "properties": { 780 | "componentType": "app", 781 | "howToFix": [ 782 | "Set TabIndex to 0 or greater to ensure that interactive elements have a tab stop." 783 | ], 784 | "level": "Medium", 785 | "primaryCategory": "accessibility", 786 | "whyFix": "People who use the keyboard with your app will not be able to access this element without a tab stop." 787 | } 788 | }, 789 | { 790 | "id": "app-NotOfflineConnectors", 791 | "messageStrings": { 792 | "issue": { 793 | "text": "Using a non Dataverse data source." 794 | } 795 | }, 796 | "properties": { 797 | "componentType": "app", 798 | "howToFix": [ 799 | "Turn off the offline enabled parameter in the app general settings or use only Dataverse connector." 800 | ], 801 | "level": "Medium", 802 | "primaryCategory": "offline", 803 | "whyFix": null 804 | } 805 | }, 806 | { 807 | "id": "app-InefficientDelayLoading", 808 | "messageStrings": { 809 | "issue": { 810 | "text": "Inefficient delay loading" 811 | } 812 | }, 813 | "properties": { 814 | "componentType": "app", 815 | "howToFix": [ 816 | "Use variables, collections, and navigation context to share state across screens instead." 817 | ], 818 | "level": "Medium", 819 | "primaryCategory": "performance", 820 | "whyFix": "Controls that reference controls on other screens can slow down app loading and navigation. Doing this may force the app to load the other screens immediately, rather than waiting until the user navigates to that screen." 821 | } 822 | } 823 | ], 824 | "version": "1.333" 825 | } 826 | } 827 | } 828 | ], 829 | "version": "2.1.0" 830 | } --------------------------------------------------------------------------------