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.

1,056 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
1answer
180 views

I want to add terms from a Choice column to the Refiners list in a Content Search Web Part

I want to add terms from a Choice column to the Refiners list in a Content Search Web Part. I figured this out once but I can't figure it out again. Can anyone help?
1
vote
0answers
30 views

Change List Webpart View (Not Filter) using Page Querystring

I have a list webpart on a page. I also have a Query String (URL) Filter and am able to filter the list view based on a QS parameter. What I would like to do though is change the webpart 'group-by' ...
1
vote
2answers
125 views

Can we display Audit Logs or User's Activity in user friendly format in SharePoint Online (2013) Web Part

We have a requirement, where we have to show the user's activity in graphical format. What actions user has performed on any SharePoint Online Site and when? If user post/edit comment, like, rate on ...
1
vote
0answers
263 views

Choose which links on SharePoint 2010 page open in same window

I have an InfoPath Form Web Part on a SharePoint 2010 page. The form has a bunch of hyperlinks which by default InfoPath opens in a new window, but I added the code below in a CEWP on the SharePoint ...
1
vote
0answers
31 views

Share SharePoint list with Subsite - Permissions issue?

I have a list in one site and i am trying to share it with users who have access to the subsite, but do not have access to the parents site where the data in the list is from. I used the data viewer ...
1
vote
2answers
260 views

Adding default webparts to pagelayout in office 365

I am trying to add a default webpart to PageLayout I tried using this <div class="col-3 col-md-3" id="sidebar"> <WebPartPages:ContentEditorWebPart webpart="true" runat="server" ...
1
vote
1answer
1k views

SharePoint 2013 Popular items web part - wrong results

Essentially, I have a Popular items webpart on a page, analytics is running - usage reports are being generated but results are not displaying correctly in the webpart. The popular items is set to a ...
1
vote
0answers
22 views

Sharepoint Online/2016

Does anyone know how to display an image when using the "Search driven content" --> Wiki Pages Web Part? Ive tried messing with the "managed properties mapping" but nothing seems to work and I havent ...
1
vote
1answer
2k views

How to edit the size of a web part in a modern site

Am using a modern communication site,and i added some web part but cant seem to find a way to edit those web part sizes.
1
vote
0answers
297 views

How to add advanced search to sharepoint online library

can anyone teach me how to add advanced search function to SharePoint Online? This is what i have now. This is what I want, with the options like MATCH CASE and FIND WHOLE WORD ONLY appear in Word ...
1
vote
0answers
23 views

How to add and make a search box appear within a Picture in SharePoint 2010

How do i make a Search box(maybe in the form of a searchbox webpart) appear within a Picture(in the form of a picture viewer webpart) on Sharpoint 2010? Thanks.
1
vote
0answers
18 views

How to create a custom property for targeted audience within a sharepoint web part

So I have an existing Sharepoint web part and I want to allow a button within that web part to hide or show depending on the users group, however I also want this to be configurable like the targeted ...
1
vote
0answers
14 views

List in a custom layout page

It seems incredible but I cannot find out the way to add a list ("app part") in a page layout.So far I could just add a web part and then add the list manually editing the single pages created - but ...
1
vote
0answers
22 views

Cell values looks different to others on SharePoint

I have an excel sheet stored on SharePoint. It has a table in it. The cells of this table get a value based on a formula I run on another PIVOT table. The formula returns the value as either P or ...
1
vote
0answers
239 views

Announcement customization - Follow up to pre existing solution

I am using an solution from Learning Sharepoint this is not working. Found some help here disqus.com since the first link got some errors to the code. (function () { var itemCtx = {}; itemCtx....
1
vote
2answers
155 views

SharePoint 2016 Visual Web Part - error importing webpart when compiling, am I missing something simple?

I'm trying to just build a super simple web part for on-prem, I go into VS 2017 and I select SharePoint 2016 - Visual Web Part, I don't modify any of the code and then I just compile and deploy and ...
1
vote
0answers
94 views

Tabs with links images and description on SharePoint online

I want to create tabs with links, images and description in SharePoint online? Is there any web part is available for it? something like below image. P.S I am using a new modern site.
1
vote
0answers
40 views

Creating an Advance Search for my Document library which include the ability to search free text, drop-down and Date fileds

I am working on an on-premises 2013 sharepoint farm. and i have a document library which contain many custom columns. and i want to have an advance search for this document library. the advance search ...
1
vote
1answer
103 views

SharePoint 2016 Module - Reference file from another folder?

I'm developing some WebParts in a SharePoint 2016 project and I'm using a SharePoint Module to deploy some needed assets (js lib, images, ...) to the Style Library list and this is working fine. Some ...
1
vote
0answers
51 views

Modified Summary Link Web Part

I'm migrating a heavily customized version of SharePoint 2010 (the master page is where most of the customization occurred) to 2016. The Summary Link Web Part is not displaying groups in columns in ...
1
vote
0answers
76 views

Importing webPart with PowerShell through command line versus PS1 script behaves differently

If I execute the following through a PowerShell console (ran manually) I am able to get the webParts to work correctly: $list = $context.web.Lists.GetByTitle("Pages du site") $context.Load($list) $...
1
vote
1answer
61 views

Unable to view list library in content Query web part

I have a new CQWP and when l export the WP and insert it into the page layout when l create a new page it adds the CQWP but the it doesn't show the list l have selected in the Query under "show items ...
1
vote
1answer
45 views

check How many Time Document is view from SharePoint Document Library

In custom web part how to check how many Time Document is view from SharePoint Document Library.
1
vote
0answers
100 views

Branching Logic on custom list with redirection - 3 scenarios (screenshots)

I´m struggling with something that probably isn´t that hard. I am a beginner in sharepoint, sorry if the question is too basic. So, the situation and scenarios are the following: I have this form (...
1
vote
0answers
38 views

Use Note Boards, but MySite is disabled

I set up an Enterprise WIKI for our department. I want to add a Note Board to the pages in order to enable discussions on the articles. Unfortunately, the IT told me that MySite is disabled in general....
1
vote
0answers
43 views

How to get previous version File object to get web parts?

I want to create a code which fetches all the version of the publishing page along with the web part. Here is the code which I have developed to get the version numbers of the page. foreach (...
1
vote
0answers
80 views

Can not load rss in SharePoint 2013 project

I have webpart which render the last news from rss channel with url: http://habrahabr.ru/rss/company/my_company/blog. I use: var doc = new XmlDocument(); doc.Load(...
1
vote
0answers
28 views

Displaying different newly made folders library in webpart of a list's display form

I intend to set up a workflow that will make a folder for every new element added to the list. This folder will be a small documents library for this specific list item. I would like to display this ...
1
vote
0answers
35 views

A Web Part on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe

A slight variation on an old chestnut of a problem. I have a SP2007 farm which we are upgrading to SP2010. We are carrying out UAT on our dev platform before conducting the full live environment ...
1
vote
0answers
93 views

SharePoint Online - Programmatically add App Part to Team Site

I have the need to programmatically create a team site, add a selection of apps to the site and populate some web parts on the page. What I have done: I have created the site I have successfully ...
1
vote
0answers
33 views

Display contents from multiple subfolders

I am using SharePoint 2010's Form WebPart in junction with its Document Library WebPart. The form is currently filtering results from a Document Library called Fruit (which is also being displayed ...
1
vote
1answer
720 views

Force Media Web Part to use HTML5 version

Is it possible to force the media web part to use the HTML5 version and never use the Silverlight version? I've embedded videos to a page, and about ten minutes after I embedded them, the media web ...
1
vote
0answers
144 views

Content Search Web Part to return task lists with specific fields

I have several task lists with a task progress field: I want my Content Search Web Part to return links to task lists that contain the term "Overdue" in a task progress field. I am new to this Web ...
1
vote
1answer
482 views

How to manage onClick event of a row field in DetailsList(UI Fabric)

I want to catch the event when click in a row field of a DetailsList in Webpart. My code looks like : return ( <div> <div> <div className="ms-Grid"> ...
1
vote
0answers
138 views

Resize title column in list with new SharePoint design

With the new SharePoint design, you can easily resize columns (although, that setting doesn't appear to stick). But for the title column, it appears you cant go any shorter than what appears to be a ...
1
vote
0answers
83 views

Two columns under one groupheader in a Summary Links WebPart 2013

Does anyone know how to have two columns (.dfwp-list) under one .groupheader in a summary links webpart? It seems that with some HTML, a table could be created with two columns, but not sure how to ...
1
vote
0answers
34 views

Users cant access web part but have access to site

I've added a clickable image to my SharePoint Online site which I can access fine. Other users who have read and limited access cant access the web part (the web part doesn't show). Are web parts ...
1
vote
0answers
233 views

Embedded PPT Deck and jumping to a specific slide

I've embedded a PPT into a web part page using the Page Capture Web, which is rendered as an PowerPoint Online Slide deck. The deck has been built with a "flow" to it and has several links that refer ...
1
vote
0answers
65 views

Sharepoint 2013 Search Issues when filter on path

Currently we have a problem regarding the sharepoint search service. We have two domains to access our sharepoint server (one for intranet users and one for Internet users). Lets say the two URLs are ...
1
vote
0answers
35 views

Convert Custom Newitem form into PDF

I'm in a situation where i need to create an event receiver for a custom List, which will create a PDF file of Custom NewForm(replaced SharePoint default webpart with custom one for item adding) and ...
1
vote
0answers
979 views

How do I manually edit the source code of a web part?

I am trying to edit the List web part. I want to add page numbers rather than item numbers. I found what seems to be a couple straightforward tutorials, but I can't figure out how to get to the ...
1
vote
0answers
17 views

Can't get sandboxed 2013 web part to emit client side JS for validation

I am developing a sandboxed feature for 2013 that includes several custom aspx pages, each with its own sandboxed web part through the SPUserCodeWebPart control. This project has had a long and ...
1
vote
0answers
68 views

Unable to save sharepoint page after Checkuot()

I need to update the sp page content by using C# code. I have used below code to check out and update and check in. SPLimitedWebPartManager manager = pageFile.GetLimitedWebPartManager(System.Web.UI....
1
vote
0answers
78 views

Unable to left align entire web-part contents

I created a standard contact library web part but when i place it on my page it will only right align. The title "Contact Library" will align left when i go in to Web Part settings > Layout and click ...
1
vote
1answer
275 views

Update panel issue on chrome and Firefox Sharepoint Webpart Page Will Get Full Post back on Dropdown change

I am using ASP.NET update panel in SharePoint WebParts and I am Having the DropDown With AutoPostBack true firing the Event OnSelectedIndexChanged Page will get Fully refresh on DropDown Change. ...
1
vote
0answers
182 views

“Unable to display the webpart…” error at the first time and after refreshing the page it goes off

Following error encounters at the first time and after refreshing the page it goes off. "Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint ...
1
vote
0answers
131 views

Can Skype be run as SharePoint WebPart?

I am looking into remote monitoring options for the disabled. And have to decide on Google, Microsoft or Amazon technology Would like to run (end-user is not capable of operating devices): Run a ...
1
vote
0answers
49 views

SharePoint 2010 - A Web Part or Web Form Control on this Page cannot be displayed or imported. The type is not registered as safe

I have been stuck on this error and am unable to solve it since the past few days. I have googled all I could, but none of the solutions seem to work for me. I'll go through all the steps I've done ...
1
vote
0answers
63 views

Treeview from Self Lookup List

I have been assigned a project to develop a SharePoint site that will help us track a set of objects. These objects can have dependent objects (or not). I have used a Lookup column and created a self-...
1
vote
0answers
125 views

Generate A list View interface using JSOM (SharePoint 2013, SharePoint Online)

I'm querying multiple lists from all the sites in the site collection, using JSOM/REST Is it possible to create a List view webpart with the results of the query ? I know this is possible using ...