Questions tagged [web-part]

Web parts are ASP.NET controls that can be added to web part zones. They are generally distributed through the deployment of .WSP files. Pre-2013, they could be developed off the hosting server. With 2013, Web Parts for the most part have to be developed on the hosting server for proper library inclusion.

Filter by
Sorted by
Tagged with
4
votes
2answers
774 views

How to use more than 1 metadata tag in search criteria of “Items matching a tag” webpart

I would like the webpart to display pages with 2 metadata tags, but right now it only allows me to input 1 tag ("1.Executive Summary"). I have tried to include the second tag ("Product") in the "Add ...
4
votes
1answer
2k views

Choice filter to lookup its values from a list

Is it possible to make a choice filter web part look up it's values from a column of other list? I want it to take it's values directly from other list so that manually filling it's values is no more ...
4
votes
1answer
410 views

Microsoft Office 365 Sharepoint issue

When I am logged in through the edit mode my web part (Summary link webpart) displays fine. However when logged out the Summary link webpart displays the error below: Unable to display this Web ...
4
votes
3answers
3k views

Add web part so that we can retrieve it later via CSOM?

How to add a web part on page in such a way that we later on can find it (using CSOM) - Can we somehow store identifier information to the web part? Say user could change the title and description (so ...
4
votes
2answers
906 views

Contributors can't seem to save personalisable web part properties?

I've using the following code to save the week a user is currently looking at, for next time they view the web part: private string _week = null; [WebPartStorage(Storage.Personal)] public string ...
4
votes
1answer
63 views

How can I add a global control to check user has updated her/his profile?

Is there any control/feature/webpart I can add to trigger a functionality globally in any page on a Sharepoint? I now have a webpart on the homepage that checks if a user is due to update her/his ...
4
votes
2answers
7k views

Understanding problem: How to add a stylesheet to a web part

Well, I try to add a css stylesheet to my web part but it didn’t work… I read that there are many ways to a css file into a web part, but I didn’t understand them…. First I installed the Sharepoint ...
4
votes
2answers
3k views

Structuring wiki pages with templates in SharePoint 2007

I need to create a custom template for SharePoint 2007 wiki pages. With ability to add multiple web parts zones on Wiki Page. Is it possible to do that, as I have read from online that wiki pages in ...
4
votes
3answers
4k views

Web Part Tool Part Customization issue

To customize the Web Part Tool Part, im following this tutorial : http://blogs.microsoft.co.il/blogs/dudin/archive/2011/04/17/sharepoint-2010-how-to-customize-the-web-part-tool-part.aspx when i use ...
4
votes
2answers
8k views

Changing colors on calendar view

I have a calendar list setup. My customer could like to give the appointments in the calendar view (by default green) a different color based on the category; much like the way Outlook does it. I ...
4
votes
1answer
460 views

SharePoint 2013 blog

I've built a SharePoint 2013 blog. It is a sub-site of the overall team site. I was hoping that I could provide a summarized view of the Blog via a web part...similar to how one could create an ...
4
votes
2answers
906 views

How can I validate against all special characters in the attachments file name?

By default SharePoint does not allow the following special characters to be present in attachment file names ~, #, %, & , *, {, }, \, :, <, >, ?, /, |, “ How can I validate that any ...
4
votes
2answers
1k views

How to change webpart custom property in sharepoint 2010 using javascript?

I want to change Custom Property of Webpart using javascript. Does anyone have any ideas on how to accomplish this?
4
votes
3answers
480 views

Manage some state inside a Sharepoint WebPart

Considering a simple example of a webpart that adds items to a list based on a simple button click: public partial class MyVisualWebPartUserControl : UserControl { private int cont = 0; ...
4
votes
3answers
2k views

The same web part (.wsp) for MOSS 2007 and SP 2010?

Is it possible to have the same web part (.wsp) for both (MOSS 2007 & SP 2010)? Assume that I want to develop a simple web part, and I want to deploy it on MOSS 2007 and also on SP 2010? So, is ...
4
votes
2answers
204 views

How can I create a web part for add update and delete operations?

I'm new to SharePoint and I'm working with web parts. I have learned how to create a basic webpart and how to deploy it...but I don't have any ideas about how to create a web part that adds updates ...
4
votes
1answer
4k views

How can I enable my website to allow embedding in Sharepoint with just the web address?

When adding a web address to a Sharepoint page (O365) using the Content Embed web part I get the error message: This website doesn’t support embedding using just the address. Try pasting the ...
4
votes
1answer
234 views

List view web part - auto refresh

I created page with a list view web part. When I modify list view I noticed that view in web part didn't change. Is it possible to make it auto refresh every time the list view is changed? Maybe ...
4
votes
1answer
298 views

For SharePoint 2016, is there a way to place web parts within HTML custom code?

I am looking for ideas/guidance for importing web parts into custom coded HTML in SharePoint 2016. Below is a web layout that uses a rotating card layout from Creative Tim and Bootstrap styling. The ...
4
votes
1answer
420 views

Using tooltips on an image map in a content editor web part Sharepoint 2010

I am trying to add pop-up tooltips on mouse hover over an image map delivered by a content editor web part (HTML stored as a .txt file in the pages library) on a site in SharePoint 2010. Is this ...
4
votes
1answer
698 views

Run JS link file on just 1 web part

I have a page with 2 web parts. the 2 web parts are the same list just imported in different views. i have added a JS link file to 1 of the web parts using the edit web part properties miscellaneous ...
4
votes
2answers
3k views

Project Summary Web Part not available

I am a site owner of a SharePoint Sever 2013 SharePoint site. I have all permissions except for: Create Subsites and Use Self-Service Site Creation. I am not a site collection administrator. I want ...
4
votes
1answer
62 views

Can i limit the number of concurrent users playing a video?

I would like to know if it's possible to limit the number of users who can play a video using the video web part in SharePoint 2013 SP1.
4
votes
1answer
395 views

Add more than 5 web parts to same web page in SharePoint Online?

I tried to add more than 5 web parts to a single webpart/page in SharePoint Online but I am not able to do that. the result which i am getting is as like. Any idea why this is not possible?
4
votes
2answers
454 views

How to detect if a Project is in edit mode with JavaScript

I uploaded a javascript with a web part to my Project Server 2013 environment, and included the web part in one of the project's PDP, which contains the following code: var $puidElement = $("[GUID='" ...
4
votes
1answer
122 views

Hide Add New Item Icon in Async refresh also

I am having a LVWP on a custom WebPart page. Got few properties set for webpart are as follows: Inline editing is allowed ASync refresh is allowed Manual Refresh is allowed Now the problem I am ...
4
votes
1answer
41 views

Prohibit site owner from deleting web part SP2010

Is there a way to stop site owners(Full Control-permission) from deleting a custom web part. I want to create a custom web part that can only be removed, closed or minimized by a specifically choosen ...
4
votes
3answers
4k views

RSS viewer web part not working

We have had a site collection set up in SharePoint 2010 where we added quite a few RSS feeds that showed content from other parts of the site collection. When we upgraded the site collection to ...
4
votes
2answers
2k views

How to load custom webparts in site page asynchronously in sharepoint 2010

In home page of my site i have some custom webparts. so home page is taking much time to load page,I want to load custom webparts asynchronously how can i do this. Does anyone have any idea.
4
votes
1answer
3k views

Use Credentials Provided to Sharepoint for Webservice Authentification

I created a webpart that is able to consume a service provided by Dynamics NAV 2009 R2. I documented in short what I did so far: http://shb.vps.bitfolk.com/nav-sharepoint.html I use the following ...
4
votes
1answer
16k views

How to add web part in page layout?

Ok I created my first master page and now I am working on page layout. I created a new "Publishing Content Type" page layout in SharePoint Designer whose content type was "Page". In that page I want ...
4
votes
2answers
2k views

Server-Side Rendering in SharePoint 2013 Content Search Web Part Without XSLT?

Background: I am new to SharePoint and I recently attended the SharePoint 2012 conference. It seems the primary way to render content in a custom way is on the client-side via JavaScript in the ...
4
votes
2answers
7k views

How to add a custom filter for a chart?

I have a list which contains multiple columns. I have inserted the chart web part and it's showing the graph based on the column list. Now I want to add a custom drop down filter which contains column ...
4
votes
2answers
2k views

People search box results URL doesn't work

We are using SharePoint 2010. We are having a problem with the web part “People Search Box”. We created a custom page from a page layout and added the web part. We have edited the web part and ...
4
votes
3answers
2k views

Save webpart (html) as PDF file

I have a webpart that is specialized business calculator. Once the user puts in the details of the contract, they need to save the web part (in pdf format) as part of the contract documentation. I ...
4
votes
1answer
527 views

In SharePoint 2010 how can I add user selected WebParts at run time?

I am quite new to SharePoint and have been given an interesting problem to solve. My users have requested to each have a custom home page that they can customise with ease. The design I have been ...
4
votes
3answers
12k views

How to set link on images with SP OOTB picture library slide show web part?

I added a link column in my picture library and populated with links. Then added SP OOTB picture library slide show web part. Both pictures and it's description are showing. I need the link to be on ...
4
votes
1answer
71 views

Create-react-app version 2 not compatible with SharePoint?

I'm trying to make a web part with React (not SPFx, just a regular mini React app) for use in SharePoint. I have done so successfully with version 1.x of react-scripts, but now 2.x is out, with ...
4
votes
1answer
494 views

How to get the type of a web part (with JavaScript)?

I need to determine the type of a web part (eg. Script Editor, Search Results, etc.) on pages using JavaScript. I started with REST and succeeded in getting the web part manager for a page and got ...
4
votes
1answer
731 views

Add description under title of a list view webpart?

Is it possible to add a description under title of a list view webpart? If yes how? In the image example I need description between "Title" and "DL"
4
votes
2answers
12k views

List View Web part not showing all available views for list

We have added a list view web part to a page, and we get the Current View link in the web part. Which is configurable when modifying the actual web part. What we'd like to see (instead of having to ...
4
votes
2answers
3k views

search box above every column of list in sharepoint 2010

The problem I am having is that I want to show search box above every column in list in my sharepoint site. But the number of columns in each list are different. Is there a dynamic way to do so?? I ...
4
votes
2answers
2k views

prevent css inheritance from master pages

I am creating horizontal menus for a web part to give more interactive navigation options to a corporate SharePoint site that has headers/Branding etc. locked down. I notice that intended colors and ...
4
votes
3answers
3k views

How to set the value of a people group field using JavaScript in the Newform.aspx

I need to set the value of my people/group field with current user on page load. I tried many different things, but nothing worked. Let me know how to do this in SharePoint 2010.
4
votes
2answers
16k views

Removing Weekend Days From Calendar

I wish to edit my 2013 Calendar web part and remove Saturday and Sunday from showing if possible so it only shows the work days of the week. Any help would be very much appreciated as i dont know ...
4
votes
1answer
7k views

Webpart added to webpart page using modules is not visible in edit page

I am provisioning a webpart to a webpart page in sandboxed solution. here is the module's element.xml <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/...
4
votes
2answers
3k views

How do I fetch the most popular search terms?

I'd like to display a usercontrol on the homepage of my SharePoint site. The control will display a list of the most popular searches performed in a given period, say the previous month. Does anyone ...
4
votes
1answer
93 views

Boundaries in diagram with Date as X

I've recently been trying to build a line diagramm webpart with dates as X Problem is: I can't find a way to adjust the boundaries of the diagram which causes it to start in ~1900 At the moment it ...
4
votes
1answer
365 views

Web parts not working when applying new master page

I started a small Sharepoint site as a rush job. It's a bunch of fairly simple web part pages. Now that we're expanding it, I need to add a different master page. I was using our client's master (...
4
votes
1answer
496 views

How to customize a ListView Webpart from code

I have a repository of files... I'd like to create a ListView Webpart wich receives the path in the tree and show the files in the document library... It's possible to do this by code? Is there any ...