Skip to main content

Questions tagged [custom-web-parts]

This Tag is use for Custom Web Parts of SharePoint

Filter by
Sorted by
Tagged with
0 votes
1 answer
1k views

Custom web part which downloads a file from SharePoint document library

I need to make a custom web part which can download a file from a SharePoint document library. I created a web part which contains a download button. The button should download the file. Currently I ...
Kyle Trent's user avatar
1 vote
1 answer
65 views

Custom Web Part Uploading Incorrectly

I am trying to upload my custom web part to my sharepoint online site. The upload is successful, but when adding the web part to a site it is not the expected content of the web part. It seems to be ...
JustinW's user avatar
  • 21
0 votes
1 answer
36 views

User in custom reader group unable to access site (until added to custom contributor group and removed)

I have a site collection with custom web parts (which do not alter permission groups but use them) and custom permission groups in Sharepoint 2013. There are no subsites. When I add a user to a ...
the simple's user avatar
0 votes
1 answer
362 views

Custom web part unable to call custom web API

I'm unable to get my custom web part to connect to my custom Web API. Ultimately, my goal is to secure the API using Azure AD and then call that API from my web part. In the local workbench, I'm ...
TheIronCheek's user avatar
0 votes
3 answers
15k views

Can I display a document library from another site collection as a Webpart in Sharepoint Online

How could I display a Document Library from another Site Collection, in Sharepoint Online. Could I create a Custom Web part and connect to the Sharepoint API?
Webdevbytes's user avatar
1 vote
1 answer
753 views

Fill SharePoint People Picker from SharePoint List Column

I have a SharePoint List who has the column of type Person or Group. In my webpart solution I am trying to use Caml Query to get the Data of the List based on Department column. Each Department is ...
Alina Anjum's user avatar
0 votes
2 answers
258 views

Pass HTML text from webpart to Application Page (.aspx) SharePoint

I have placed a Rich Textbox in SharePoint webpart & on Button click I want to Print the text same as in the format entered by the user which will have certain HTML tags. For Printing this, I ...
Alina Anjum's user avatar
1 vote
0 answers
99 views

Webpart randomly stopped working

We have a webpart running on SharePoint 2010 that displays our latest news that has been in use for at least 3 years. As of yesterday, it stopped working. It displays the webpart with title and the ...
Brandi's user avatar
  • 63
1 vote
0 answers
530 views

Recommended .gitignore for sharepoint solutions [closed]

I've inherited a heavily customized SharePoint 2013 environment that makes heavy use of farm solutions. I'm trying to implement Git as a source control for our environment so that we can have better ...
Bryan Halterman's user avatar
0 votes
1 answer
46 views

How to implement Auto-fill behavior for search in custom Web Part in SharePoint

I am trying to implement Auto-fill behavior for search in custom Web Part in SharePoint here I have to read data either from SharePoint list or SQL Server database table. Here I can implement these ...
Madhav's user avatar
  • 1,494
1 vote
1 answer
708 views

How to call custom web part's method in Ajax call?

He I am trying to call one of my method in web part using ajax call but there I am getting error as Test2.aspx/ReadData Failed to load resource: the server responded with a status of 500 (Internal ...
Madhav's user avatar
  • 1,494
1 vote
2 answers
262 views

SharePoint 2016 Custom Web Part Issue

I have developed several custom web parts for a new SharePoint instance. When I leave the web parts as a Sandbox Solution and deploy them to the server they display and function as intended for users ...
A. Clevenger's user avatar
1 vote
1 answer
2k views

Connect to SQL Database from Custom WebPart

I am trying to create a custom web part in SharePoint 2013 that connects to a SQL 2012 database. I have gone as far as I can with the SharePoint BDC to connect to the external data. I am not able to ...
Moe's user avatar
  • 45
6 votes
1 answer
2k views

Best Way to create Custom Poll Web part in sharepoint 2013?

I need to create a custom poll web part, My requirement is User able to responds the poll, the admin needs to create a poll question, He needs options to choose the poll options type (checkbox, radio ...
Debugger's user avatar
  • 1,722
0 votes
3 answers
150 views

How to maintain different session in different tabs?

We are working on a custom web part in which data is fetched from different SharePoint lists in to a static datatable based on the name of the SharePoint list . But when i open same web part , from ...
Rohit Kharade's user avatar
1 vote
0 answers
169 views

How to filter a calendar events in list view based on moth and weak view in calendar view?

I need to filter a Calendar list view based on month and week view, I mean I will add calendar view web part first then I will add my custom web part to show the list view, Think is list view need to ...
Debugger's user avatar
  • 1,722
1 vote
1 answer
137 views

Best way to add custom webpart

What is the best way to add a custom webpart to a sharepoint default page(i.e list page like NewPost.aspx) and/or into the webpart gallery programmatically without directly deploying from Visual ...
Unknown's user avatar
  • 309
2 votes
2 answers
4k views

How to customize the calendar list programmatically in sharepoint 2013?

I need to Customize the Calendar list, So I planned to develop it Custom web part for changing the look and feel, functionality, etc, So please suggest me some idea to customize add event page look ...
Debugger's user avatar
  • 1,722
0 votes
1 answer
188 views

Use Cascading Dropdowns in Custom Editor Part

How would I set up a cascading dropdown in my custom web part's editor part so that when I, for instance, choose a list from the first dropdown the second dropdown would be populated with a list of ...
Neberu's user avatar
  • 178
3 votes
2 answers
195 views

Is any alternative way to implement custom webpart(coding) in sharepoint online?

Microsoft has Removing Code-Based Sandbox Solutions in SharePoint Online then how to deploy custom webpart Is any alternative way?
Sarika Koli's user avatar
1 vote
1 answer
91 views

How to detect page properties in Custom Webpart

Is there a way in the server side .NET code of a custom built web part to detect and use the properties of the page the web part will be deployed on. So page library has custom column (property) "x" ...
Neberu's user avatar
  • 178
1 vote
1 answer
67 views

Web Part with a Custom Tool Part error "Sorry this site is not shared with you”

I created Web Part with Custom Properties My issue is that only the admin profile can edit the properties Users with contributerole can't edit the webpart. He gets this error : Sorry this site is ...
Imen Turki's user avatar
  • 2,193
0 votes
1 answer
458 views

The Page You Selected Contains a List that Does Not Exist in Custom Web Part

I'm developing a web part in which the Announcements list of a subsite will be displayed on its parent. Here's what I have so far: XsltListViewWebPart XLV = new XsltListViewWebPart(); SPWeb web1 = ...
Christine's user avatar
  • 356
14 votes
2 answers
10k views

Cannot uninstall the LanguagePack 0 because it is not deployed

I'm trying to run the following PS command on a SharePoint 2010 Foundation Farm: Update-SPSolution -Identity testwebpart.wsp -LiteralPath C:\ChrisProjects\TestWebPart\TestWebPart\TestWebPart\bin\...
Christine's user avatar
  • 356
1 vote
1 answer
2k views

Populate Custom Web Part Property from List

I have a custom web part (Contact Info) with a property (Topic). The topic is a drop down list (ie behind the scenes its an enum type. What I would like is for the values of this dropdown property to ...
Neberu's user avatar
  • 178
2 votes
0 answers
151 views

Filter Drop-down values based on logged user

I should create a drop down box to display hosted-app part, based on the selected value from drop down box. Also I need to filter the drop down values based on logged user. And this need to be done ...
Arun's user avatar
  • 495
0 votes
1 answer
379 views

Custom Web Part in fixed height div

I am developing a web part and it loads correctly, however when it is set to a fixed height a DIV is appearing before my rendered content with a height set that is the same as the fixed height I set ...
Lima's user avatar
  • 193
0 votes
1 answer
49 views

Access denied accessing web part

We have created a custom web part that sends e-mail. A page is created, the web part is added on the page, and the page is published by an administrator. The issue now is that all other users have ...
Ilyas's user avatar
  • 1,341
1 vote
0 answers
78 views

Programmatically created SPWebApplication's WebParts not registered as safe

I am having a frustrating issue with a programmatically created web application in which a programmatically deployed solution's web parts are not registered as safe when adding to a programmatically ...
A. Cooper Ried's user avatar
-1 votes
2 answers
994 views

How to restrict script editor to make changes to only one of two list web parts on a page

I have two list web parts on a page. When I add some css code to the script editor webpart, it makes changes to both lists, but I want to make changes only one list. What do I need to do in order for ...
KumarV's user avatar
  • 2,730
2 votes
0 answers
548 views

FormContext.FormMode == DISPLAY after calling Edit Item in custom list

In a custom webpart we check on PageLoad the SPContext.Current.FormContext.FormMode to show different additional controls on edit and display mode. If the list is created manually everything works ...
Celophysis's user avatar
2 votes
1 answer
2k views

remove custom master page for modal popup

I am using visual studio 2013 for custom webparts and I have a page(call it X.aspx) which has a link that opens a modal popup(body only page) and has a custom webpart in it and it is referencing site ...
user38490's user avatar
0 votes
1 answer
2k views

Farm solution deployed to my web application , is not available to new site collections

I have a .wsp Farm solution deployed to my web applications, as follow:- I have created this solution using VS .Now inside my current web application I have 2 site collections. Old site collection ...
John John's user avatar
0 votes
2 answers
384 views

Javascript isn't linking in IE for a webpart

I'm adding a web part(farm solution) into SharePoint 2013, the problem that I am receiving is that any scripting link I add(specifically jquery in this example), doesn't seem to be found by internet ...
Jaspreet Chauhan's user avatar
0 votes
2 answers
7k views

sharepoint 2010 - 2013 web parts migraiton: jQuery is undefined error

I posted this in the general Stack overflow site but this seems like a better place to post a sharepoint question. I am trying to move a custom web app (contacts list) from sharepoint 2010 to ...
user3621543's user avatar
0 votes
1 answer
1k views

Custom Webpart With checkbox

I Created Webpart Page in SPD and they saved inside site Pages then I chose Empty Date View.now I have Data list with some columns but they are not like Listview webpart, there is no Checkbox on each ...
behrouz's user avatar
  • 55
4 votes
2 answers
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.
user3162786's user avatar
0 votes
1 answer
207 views

Xsl when-otherwise statement

I have the following xsl snippet from a standard web part that gets its data (image, header, text) from the Pages library, specifically the part that checks the image: <xsl:choose> <xsl:...
Eliya Amanoeel's user avatar
3 votes
1 answer
1k views

Add webpart to application page programatically

I want to add a webpart on page load to the application page, I want to deal with the webpart like any other control, like adding a label in the page load function, but I want to view this webpart ...
SharePoint Freak's user avatar
0 votes
1 answer
93 views

Send Row Data to Dialog Box for Editing

I have created a custom ribbon button in SharePoint 2013 which enables when 2 or more files are selected and opens a dialog box. Within this dialog box, I would like to open a custom page which ...
user1107190's user avatar
0 votes
3 answers
9k views

Custom web part in a modal dialog pop-up

Can we display a custom web part (developed in visual studio 2010) in a modal dialog pop-up? If yes then how can we do that... any tutorials or article? Thanks!
Zakir HC's user avatar
  • 3,650
5 votes
1 answer
8k views

Run Sharepoint timer job programatically using RunNow() using account having non admin rights

I have a custom timer job which is scheduled to run during specific time period. I want to give a Run Now functionality using button click from custom sharepoint webpart. If i run timer job using a ...
Ishan's user avatar
  • 774
0 votes
1 answer
439 views

Control View based on Current User Role

I am trying to limit visibility to buttons and ability on a user control based on Role on a SharePoint 2010 Site. I get the user from the following code line SPContext.Current.Web.CurrentUser Then ...
crossroad's user avatar
1 vote
1 answer
634 views

Exception when deleting webpart Microsoft.SharePoint.WebPartPages.WebPartPageUserException

I have been looking for any leads on this direction on the web and most of the issues I have found is when they try to add a webpart but I am running across the issue where I am getting an exception ...
crossroad's user avatar
1 vote
2 answers
3k views

How to format Content Query Webpart

I have 2 CQWP's in my Welcome Page for a document set. By default, they look like this: I was hoping there were an easy way I could either make the Names of the webparts Bold or Highlighted, like so:...
April Drake's user avatar
  • 1,105
0 votes
1 answer
565 views

Problem with Adding Custom Web Part

I'm new at developing an web part with Visual Studio. I want a weather web part. I created an empty SP 2013 Project, added Web Part item. But when I deploy it and add the custom webpart into my site. ...
e.ozmen's user avatar
  • 1,492
1 vote
2 answers
719 views

Missing Site Collection Feature Permission prevents custom web parts from being added to a page

I created a custom web part hello world and deployed it to a local SharePoint 2010 (Developer laptop) successfully. However, when I try to add the web part to a page, it errors off. The error in the ...
Remy's user avatar
  • 181
2 votes
1 answer
208 views

How to synchronize Google Calender and SharePoint Calender ?

I am using SharePoint 2010 and I wants to create web part that synchronize My Google Calender and SharePoint Calender in both way Google to SharePoint and SharePoint to Google. I need to create a web-...
Vikalp Kapadiya's user avatar
0 votes
1 answer
2k views

In SharePoint 2013, How do I use the person field (people picker) in a custom web part?

Sharepoint 2013 gives a pop up when the cursor is kept on top of a users name ( the pop up allows to connect to email, lync, etc) I need to add that field in my custom webpart... Is there any way ?
DannyRatna's user avatar
2 votes
3 answers
1k views

Steps to Deploy multiple webparts with one feature

(SharePoint 2010) I have created 4 webparts each in their own solutions and they work great. How could I add each webpart to an empty solution and deploy them as one feature & have each web-part ...
Ram's user avatar
  • 21