webpart
48 TopicsImage Webpart that is not clickable. How to remove link?
Hello, I’d like to thank you in advanced for your assistance. I’d think something so basic would be easy to figure out, but I’ve been breaking my head with this all week and I’m now at a dead end. I have a normal page in a communication site and I would like to add an image without a link and which is not clickable. Just an image to be displayed. I’m currently using the image we parts but although I do not add a link, the user can still click on it, and the image enlarges. How do I disable this, Thank you so much, I really appreciate it.19KViews5likes15CommentsHighlighted Content Webpart filtering as "or" instead of "and" with multiple metadata filters
Hi All, I am trying to set up a Highlighted content webpart so that I can pull through specific documentation into a communication site view for end users to access. The idea behind this is that our training team has all the training documents in their document library, each document is tagged with "Finance, Compliance, IT" etc. What we want to do is surface onto a "Finance Page" all of the "Finance Training" documents in one webpart, and in another, all of the "Finance Policy" documents. So we have set up as follows: Training document library contains all training docs Each document is tagged with their function (e.g. finance) Each document is tagged with "Training Document" Compliance document library contains all policy docs Each document is tagged with their function (e.g. finance) Each document is tagged with "Policy Document" Now I have set up crawled and managed properties etc. So I can display in the Highlighted Content webpart all documents tagged with "Finance" I can also display all documents tagged with "Training Document" What I want to do now is bring through all documents that are tagged "Finance" AND "Training Document". However the Highlighted Content Webpart, when I put these two filters in, bring through any documents that are tagged with "Finance" and any documents that are tagged with "Training Document" so I am bringing through all the Finance Policy Documents and the IT Training Documents. Am I doing something wrong, is this the intended behaviour? Will we be able to select an "and/or" filter soon? Seems crazy that this isn't working for managed metadata (because it works as expected when you use the "Title contains" filter!) Thanks for any help! Daniel7KViews2likes12CommentsSPFX 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.2KViews1like1CommentMost Modern Webparts just crashed
Hi all, has anyone else experienced a sudden outage of Modern Webparts like News, Events, List View, and Document Library View? Here's what just happened to us in all of our SharePoint sites: This occurs for all of our users in any browser on and off network.Solved4.5KViews1like22CommentsNot happy about the new height of a one tile hero web part
We have been using a one tile hero web part as a call to action button type experience, which worked fine in a 1 thirds right column layout. I think the height used to be about 215px. Now it's 350px and does not look great at all. It would be nice to get the old height back on this one. Especially when you use a solid background color.1.7KViews1like1Comment