SPFx webpart method execution order: When loading the web part on a page, the methods are fired in the following order: 1) protected onAfterDeserialize(deserializedObject: any , dataVersion: Version): TProperties; 2) protected onInit(): Promise < void >; 3) protected render(): void ; 4) protected onBeforeSerialize(): void ; When the web part is removed from a page, the methods are fired in the following order: 1) protected onDispose(): void ; SPFx webpart property pane method execution order: Opening the property pane: 1) protected loadPropertyPaneResources(): Promise < void > 2) protected getPropertyPaneConfiguration(): IPropertyPaneConfiguration; 3) protected onPropertyPaneRendered(): void ; 4) protected onPropertyPaneConfigurationStart(): void ; Updating the properties in the property pane: The SPFx property pane can be set in either the reactive mode or in a non-reactive mode: "Reactive implies th...
SharePoint Site Collection Permission The "sites.selected" permission in Microsoft Graph API allows you to grant an application access to specific SharePoint sites instead of all SharePoint sites in the tenant. Step1: To Configure "Sites.Selected" Permission in Azure App Registration To use "sites.selected" , you need to: Register an App in Azure AD . Grant "Sites.Selected" Permission to the app. Manually Grant Access to the specific SharePoint site. Use Microsoft Graph API or PowerShell to assign the required role (Read/Write). Step 1: Register an App in Azure AD Go to Azure Portal → Azure Active Directory → App Registrations . Click New registration . Provide a name (e.g., SharePointAccessApp). Choose Accounts in this organizational directory only . Click Register . Step 2: Add "Sites.Selected" API Permission Navigate ...
Create a machine ordering app with Power Apps - Online Workshop This module has three exercises: Exercise 1 - Create the app in Microsoft Power Apps. In this exercise, you create a solution to hold your app and any related customizations. Then, you create your canvas app and complete the first screen of the app. Exercise 2 - Add a machine gallery and connect to a data source. In this exercise, you add a gallery of all available machines, which helps make it easier for users to browse the list and get a quick overview of the available machines. Exercise 3 - Add a compare screen. The second screen is where users compare the selected machines and then choose the one that they want to submit for approval. Solution overview The Microsoft Power Platform technologies enable tech-savvy business users to build a customized machine ordering solution. The application user interface and interaction logic are built in Power Apps, the approval workflow is automated using Powe...
Comments
Post a Comment