Page 36963 Power BI Selection Lookup
src/Apps/W1/PowerBIReports/App/Core/Pages/PowerBISelectionLookup.Page.al62 lines, Copyright (c) Microsoft Corporation. MIT
// ------------------------------------------------------------------------------------------------// Copyright (c) Microsoft Corporation. All rights reserved.// Licensed under the MIT License. See License.txt in the project root for license information.// ------------------------------------------------------------------------------------------------namespace Microsoft.PowerBIReports;using System.Integration.PowerBI;page 36963 "Power BI Selection Lookup"{ ApplicationArea = All; Caption = 'Select Power BI Element'; DeleteAllowed = false; InsertAllowed = false; LinksAllowed = false; Editable = false; PageType = List; SourceTable = "Power BI Selection Element"; SourceTableTemporary = true; Extensible = false; layout { area(content) { repeater(ElementsRepeater) { field(Name; Rec.Name) { ApplicationArea = Basic, Suite; Caption = 'Name'; Editable = false; ToolTip = 'Specifies the name of the Power BI report or workspace.'; Style = Strong; } field(ID; Rec.ID) { ApplicationArea = Basic, Suite; Caption = 'ID'; Editable = false; ToolTip = 'Specifies the ID of the Power BI report or workspace.'; } field(Type; Rec.Type) { ApplicationArea = Basic, Suite; Caption = 'Type'; Editable = false; ToolTip = 'Specifies the type of the line (e.g. workspace or report).'; } } } } trigger OnOpenPage() var TempPowerBISelectionElement: Record "Power BI Selection Element"; SelectTxt: Label 'Select Power BI %1', Comment = '%1 = Type'; begin if Evaluate(TempPowerBISelectionElement.Type, Rec.GetFilter(Type)) then CurrPage.Caption := StrSubstNo(SelectTxt, TempPowerBISelectionElement.Type); end;}