sharepoint
111 TopicsHide Site Header communication site
Hi. We are trying to hide the Site header in a communication site, and we would like to know if there is any possibility of doing so. We are trying with some css or js, injected in a webpart and SPFx extension, but there is some flickering, because the code is not executed before the header is showed. In addition, to achieve this we are depending on some CSS classes that we understand could change. Is there any supported way to do it? Or will be supported in the future? CC: VesaJuvonen Many thanks.1.9KViews11likes1CommentMSOZoneCell_WebPart WPQ ID is keep changing
Hi, I'm using JavaScript to submit the form. In new and edit forms I have content editor web part that is calling default web part zone id to submit an item to the list. but this WPQ id is changing everyday. It was not changing in the past but from this week this id is changing to 3,4,5.. everyday, even im not changing anything. if (SPClientForms.ClientFormManager.SubmitClientForm('WPQ6')) return false; Any suggestion to get the web part zone id to pass here? Thanks, -Sal3.5KViews3likes11CommentsSharePoint Page Layout CSS Error "invalid or empty reference to a Cascading Style Sheet"
When encountering the following error after creating a SharePoint page layout the cause may be how you are calling a font as a style sheet. An invalid or empty reference to a Cascading Style Sheet file was specified. Valid references must specify only a filename that ends with a ".css" extension In my situation the offending line of HTML was as follows: <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,700|Source+Sans+Pro:300,400,500,600,700|Crete+Round:400i" rel="stylesheet" type="text/css" /> As you can see above, the href attribute's value does not end with a ".css" extension. While it is easy to add ".css", and it does not appear to break the use of fonts within the web page, the next error you would encounter is: styles/https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,700|Source+Sans+Pro:300,400,500,600,700|Crete+Round:400i.css contains invalid character '?'. The workaround is to reference Google Fonts within a style sheet using "import". @import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,700|Source+Sans+Pro:300,400,500,600,700|Crete+Round:400i');2.3KViews2likes1CommentSharePoint Designer Cannot open list with 5000 items
Hi, I'm not able open a SPO list in the SharePoint designer that have more then 15000 items, none of the views running into 5000 threshold issue. I need to modify list forms in SharePoint Designer. In the designer I tried to get to the list from List and Libraries and from All Files->List->Custom_List but none of them worked and I'm keep getting "The attempted operation is prohibited because it exceeds the list view threshold enforced by admin". Please suggest? Thanks, -Sal1.6KViews1like4CommentsCannot create new site page by choosing saved template
I am trying to create a new site page, however i am not able to save the page by using save as draft nor able to publish it. The page keeps on auto saving at the back end and creates multiple copies under site pages. Inner-Message: Invalid data has been used to update the list item. The field you are trying to update may be read only. Exception-Message: We're sorry, we encountered an unexpected error. Please refresh the page and try again. Refreshing the page does work out, but it removes the web parts in the saved template, which is not helpful. can anyone please help me with this.787Views1like1CommentBest JS framework(Angular/React/Vue) to use in SharePoint 2013
Hi, We have tools (Basically CRUD operations in multiple lists across sites/site collections. Handles large amount of data and has lots of business functionalities/logic) that were built using jQuery and Datatables.js. We are planning to rebuild in 2013. Visual Studio/ server side coding is not allowed. Can anyone suggest which JavaScript framework (Angular Js1.x, Angular 2+, React, Vue/ Others) is best to use in SharePoint 2013? Difficult to get Node.JS/NPM/CLI on DEV environment. we have tried a PoC in Angular 4 using SystemJs-Manual mapping concept. But not sure how bundling and future upgrade will be if CLI/NPM is not used. Any suggestions please? Thanks, Puli2KViews1like1CommentSharePoint 2016 - Custom Actions issue on multiple item select
Hey Tech Community. We have identified an issue on couple SharePoint Server 2016 farms that I want to get confirmation from you. Issue: When a Custom Action is added to a SP2016 list, (regular or external list) - If you select 1 item, and look at the List item menu (.....), your custom action is visible. However, if you select multiple items, same custom action is not visible. Behavior is different on SharePoint Server 2013 where multiple item select properly shows the custom actions on the items. Please see screenshots below.1.5KViews1like2CommentsSPFX webpart not rendering data untill browser console is opened
Hi, For a customer we have been asked to make a webpart that can list all the current subsites for the site that a user is on. This was asked to be done using react "DetailList". I am not super familiar with react and while testing my webpart, I noticed that the data did not get rendered or fetched unless I opened the browser console. When I run the webpart a lot of 'requests' are done and my webpart renders the basics, but some requests only get done when I open my console. Only on the moment that I open my browser console, do all the subsites get rendered inside the DetailList. I will include some of the code I wrote to show as to what we did, but is there someone that can verify what causes this behavior, or can tell me how to fetch the data properly to render inside the Detaillist webpart first I pass my httpclient and siteurl to the TSX file by giving it in the react.createElement after that in the constructor of the TSX file, I put the code that will define the state of the component (I know after doing more research that this is not hte best method to do it but I followed an example :) ) the code that is done in the renderlistasync method to give you an example of what happens inside the method ( it was a lot shorter but I experimented a lot to try and find a solution ) when I run my webpart, this is the output that I get when adding the webpart to my workbench on sharepoint Notice the last request that was performed (highlighted in red) now as you can see the in the following picture, the subsites of the current page are not shown inside the webpart Now when I open my browser console, there are 2 new requests that get done : and the webpart suddently gets all the subsites from the current site that the workbench is on. now is there anyone that can explain what is going on here and how I can fix this behavior ? I´ve read about componentDidMount but don´t know for sure if this will fix everything.3.1KViews1like1CommentAdding People to the People Web Part Programmatically (using PowerShell maybe?)
There doesn't seem to be any documentation relating to the modern web part components. I can add a modern web part component to the page like this: Add-PnPClientSideWebPart -Page $home -DefaultWebPartType People But I cannot work out how to actually add people to it. Any thoughts greatfully received (although I don't hold out much hope -- it's very quiet around here).Solved8.2KViews1like6Comments