web part
4 TopicsAfter Communication Site upgrade of the root site full-width sections are limited
If you upgrade root site's team site template with a communication site template, the new home page (front page) contains one section that can have a full-width web part and it's the first section (uppermost). You cannot add a full-width section down on the page because it's not available in Add Section menu. Is there a possibility somehow to allow full-width sections also on other slots on the new homepage? The upgrade was done with Powershell: Enable-SPOComm... and it was otherwise successful.828Views0likes3Commentsweb part Component to upload or select existing images
I'm developing a custom web part similar to quick links. But I'm unable to find a way to trigger the modal/window for uploading a new image or selecting an existing image. Could anyone share some resources related to this? thank you757Views0likes0CommentsAvePoint Office 365 Backup Job Exception- Missing Web Part
We are using AvePoint Online Services to backup our data in Office 365. While AvePoint is working properly will almost all our SharePoint sites, it is throwing an exception upon job completion The error description reads: "An error occurred while backing up the item. Item ID: e34a9f32-9d46-47bb-9057-900f372080b3, Item Name: Home.aspx, Error: The operation could not be completed because the Web Part is not on this page.." The web part is on: https://[ORGANIZATION].sharepoint.com/Site Pages/Home.aspx cannot be displayed on the web page. Can you tell us which Web Part is causing this exception in the backup job? What’s also curious is we cannot access the Web Parts Maintenance Page at: https://[ORGANIZATION].sharepoint.com/SitePages/Home.aspx?contents=1 “Something went wrong: Correlation ID: 36b4649f-c001-b000-19be-9d23732c8879” We’ve reached out to AvePoint for their analysis of the issue and they provided the following: “AvePoint Cloud Backup is using SharePoint Client API to retrieve web parts to backup, not using another web part for synchronization. Below are the details about the API that Cloud Backup uses and the exception which occurred while using the SharePoint Client API to retrieve the web parts on this page, Microsoft could use the CorrelationId (bbec619f-e0ad-b000-11bc-2c282331cd24) for troubleshooting. The API that Cloud Backup used to get LimitedWebPartManager: Microsoft.SharePoint.Client.File.GetLimitedWebPartManager(PersonalizationScope.Shared) Load properties: Microsoft.SharePoint.Client.WebParts.LimitedWebPartManager.WebParts.Include( wpd => wpd.WebPart.ZoneIndex, wpd => wpd.ZoneId, wpd => https://protect-us.mimecast.com/s/tNp9Co2nKqC2yVBS3aHds?domain=nam06.safelinks.protection.outlook.com, wpd => wpd.WebPart.ExportMode, wpd => wpd.WebPart.Hidden, wpd => wpd.WebPart.IsClosed, wpd => wpd.WebPart.Subtitle, wpd => wpd.WebPart.Title, wpd => wpd.WebPart.TitleUrl) CorrelationId:bbec619f-e0ad-b000-11bc-2c282331cd24 Exception occurred time: 07-01 23:03:26,365 UTC time ErrorTypeName: Microsoft.SharePoint.WebPartPages.WebPartPageUserException Error Message: Microsoft.SharePoint.Client.ServerException: The operation could not be completed because the Web Part is not on this page. at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream) at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse() at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery() An exception occurred when loading the web part maintenance page, so we suspect that something went wrong on this page.” Can anyone help determine what’s wrong with the web part on the Home.aspx, or why it’s missing? Is there anything we can do to delete or remove it so that the backup job can complete? Does anyone have any similar experience with AvePoint Office 365 backup? Thanks1.3KViews0likes0CommentsObtaing access token in a Web Part
Hi , We have a website with a game that uses Azure AD to authenticate the users. One of our clients has decided to put the website inside their Sharepoint and now they want avoid the "relogin" against their Azure AD. If they are logged in their Sharepoint, they want be logged in my website at the same time. Our doubt is simple. We have developed a Sharepoint Web Part. Inside this Web Part we have an iframe to render our website that login against Azure AD. Our client don' t want to relogin in our website and prefers that the login will be automatic according to the access token of the session Sharepoint. We need to know the way to obtain the Sharepoint access token to pass it to our website ----------------------------------------------------------------------------------------------------------------- import { Version } from '@microsoft/sp-core-library'; import { IPropertyPaneConfiguration, PropertyPaneTextField } from '@microsoft/sp-property-pane'; import { BaseClientSideWebPart } from '@microsoft/sp-webpart-base'; import { escape } from '@microsoft/sp-lodash-subset'; import styles from './TestwebpartWebPart.module.scss'; import * as strings from 'TestwebpartWebPartStrings'; export interface ITestwebpartWebPartProps { description: string; } export default class TestwebpartWebPart extends BaseClientSideWebPart <ITestwebpartWebPartProps> { public render(): void { var access_token = ¿¿?? this.domElement.innerHTML = ` <iframe src='https://ourapp.es/?token=${access_token}'/>`; } protected get dataVersion(): Version { return Version.parse('1.0'); } protected getPropertyPaneConfiguration(): IPropertyPaneConfiguration { return { pages: [ { header: { description: strings.PropertyPaneDescription }, groups: [ { groupName: strings.BasicGroupName, groupFields: [ PropertyPaneTextField('description', { label: strings.DescriptionFieldLabel }) ] } ] } ] }; } }3.9KViews0likes3Comments