Web parts are ASP.NET controls that can be added to web part zones.
3
votes
1answer
1k views
How to import external javascript in a User Control?
I have a code-behind User Control (myUserControl.ascx and myUserControl.ascx.cs) that are in
ControlTemplates/MyFolder/
and, in the code of myUserControl.ascx I need to use some javascript ...
3
votes
3answers
794 views
Possible to programmatically display a list of all web parts and dynamically render on a page?
Is there anyway to use the object model to display a list of all web parts installed (say in a list box)? If so would it then be possible to render that web part on a page if it were selected?
3
votes
1answer
674 views
Webpart Custom Properties
With this attributes decorating the Properties of a Web Part...
[WebBrowsable(true)]
[Category("Common Settings")]
[WebDisplayName("Show tab header")]
[WebDescription("Show tab header for the News ...
3
votes
1answer
914 views
Check to see if a web part exists on a page using SPLimitedWebPartManager
In a feature I need to check if a part is already on the page.
How can this be performed (programatically) (i.e. through a feature)
thx
3
votes
1answer
712 views
Developing WebParts for SP 2007 and SP 2010
We are currently working on a project where the first release will be in 2007 and the next release will be in 2010.
In previous projects we have created webparts using user controls and defining ...
3
votes
2answers
186 views
How to publish blog posts on behalf of another user in SharePoint 2010?
I have blog for our management team. Assistants will be posting instead of the managers. I have created a column called "Author" which is "people/group" lookup field for the assistants to add a person ...
3
votes
1answer
785 views
Connecting Web Parts across pages in SharePoint Designer
I am trying to connect some web parts across different pages (in the same site) and the behavior I am seeing doesn't make sense to me. I think I am missing something in my understanding.
I am using ...
3
votes
1answer
651 views
how to check if a webpart already exists on a page or not
I am adding three webparts with different titles to a given page url, but I need to check if webpart is already on page or not, here is the code i am using atm to add webpart to the page.
using ...
3
votes
3answers
1k views
How can I remove the tables rendered around the webparts in the Rich Content area?
How would I override the tables rendered around the webparts in the "Rich Content" area?
I have successfully removed the tables around webpartzones and their webparts but can't figure how to remove ...
3
votes
2answers
2k 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 ...
3
votes
2answers
331 views
Deploying a Web Part to a single Site Collection using WSPBuilder
I am working with Visual Studio 2008 with the WSPBuilder add-in, and WSS 3.0. When I create a Web Part feature and deploy it to my SharePoint site, it is available to every site collection in the web ...
3
votes
1answer
139 views
Porting Web Parts to Office365 (SharePoint 2013 )
I've been in the process of developing a site in SharePoint 2010, which is composed of a set of different Farm deployed Web Parts.
I was wondering what the process was for porting them to SharePoint ...
3
votes
3answers
1k views
Can't rename “Title” field in List Definition
I can't rename "Title" field to "Unit Type"
Here is my Schema.xml:
<?xml version="1.0" encoding="utf-8"?>
<List xmlns:ows="Microsoft SharePoint" Title="PrCenter - StatisticsDef" ...
3
votes
2answers
510 views
SharePoint webpart and application page
I need to make an application page or a webpart that have a javascript code and i tried to add the jquery i a new project to upload it to the SharePoint but the code didn't work
this is the code that ...
3
votes
3answers
396 views
jquery projects and visual studio best practices?
Just curious how others are handling their jquery related solutions. It's obviously very easy to add a Content Editor web part with a content link to a source file. That file could have your ...
3
votes
1answer
676 views
~site / ~siteCollection token replacement with sandboxed solutions
It seems you cannot use the ~site or ~siteCollection tokens in an Element.xml when you deploy as a Sandboxed Solution. Has anyone ever seen this behaviour?
Code snippet:
...
3
votes
3answers
6k views
Show recently modified or uploaded documents
I'd like to display a list of the most recently modified documents across all document libraries in a site in Sharepoint 2010.
It seems that the Content Query webpart might do this for me, but the ...
3
votes
3answers
1k views
Content query web part
I'm using SharePoint 2007.
I need to use "Content Query Web Part".
This web part displays a link to the item, I need the content type to show me all the rows (item).
Is that possible?
I do not want ...
3
votes
1answer
757 views
Dynamically display a single row of a custom list
In SharePoint 2010, I have created a custom list and I want to be able to display a single row of this custom list on page. But I do not want to create a separate page for each row.
I would like to ...
3
votes
1answer
65 views
Webpart error is shown when a user does not have permission to see it
I am facing a strange Webpart error. Users not having permissions to view a list should be unable to see the web part at all, instead they see a web part with a permission error.
Is there a way to ...
3
votes
1answer
447 views
Preupgrade check reveals webpart issues which are not installed on farm, how to identify the name, assembly of the referenced webparts
I have run a preupgrade check on a SP2007 database to identify issues prior to upgrading to SP2010. The report shows a lot of messages for missing webparts. The strange thing is that I cannot identify ...
3
votes
2answers
4k 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 ...
3
votes
2answers
590 views
How to put web parts on publishing pages?
Scenario: On a intranet page there is several site verticals (hierarchies) (e.g products and services). Now I want for each site to have a familiar welcome page.
How is it best to put web parts on ...
3
votes
2answers
2k views
SharePoint 2010 RSS Viewer Web Part Fails to Load
Has anyone seen occurrences of the SharePoint 2010 RSS Viewer web part failing to complete loading when the page loads, instead remaining in constant "loading" mode with the Ajax indicator showing? ...
3
votes
2answers
449 views
Activity stream for SharePoint 2007
Are there any web parts for SharePoint 2007 offering an activity streaming facility?
3
votes
5answers
3k views
Web Part Error: Access Denied
I'm currently playing around with SharePoint 2010 but have come across an issue when using the standard Document Library and Announcement web parts. If I change the permissions to a list or library ...
3
votes
2answers
188 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 ...
3
votes
3answers
1k views
Finding the Current User login in a Content Query Web Part?
I have the unique requirement of needing to get the current user's id (domain\logon) for use within a Content Query Web Part. If no documents are retrieved with the CQWP I need to craft a custom url ...
3
votes
5answers
632 views
Delete a WebPart from Web Part Gallery
I am trying to delete a Web Part from WebPart gallery but I don't see it there. The Web Part is available in the list when I try to add a Web Part in the page. This is the first time I am facing this ...
3
votes
1answer
347 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?
3
votes
5answers
2k views
Webparts in the left side bar
Is it possible to get webparts in the left side bar?
I have a custom .master page and the business wants more items on the left. From what I can see with web parts you can only put them in the ...
3
votes
1answer
445 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 ...
3
votes
6answers
504 views
Security around Web Parts
I have been looking to wrap security around web parts. I already have security wrapped around documents so only the correct people see the allowed documents. The problem lies when a user does not ...
3
votes
1answer
4k views
How can I have a Rich text box in a custom webpart?
In a custom Web part (actually on the home page, but I think it doesn't matter), I want to let the users input some rich content, keeping the Ribbon functionalities; same as the OOB rich text columns. ...
3
votes
1answer
72 views
CSWP “Value of a field on the Page” Questions/Issues
We're trying to create a seach query that grabs a content type based on a taxonomy field added to our custom Publishing Page content type. We seem to be having one of two issues:
We don't know how ...
3
votes
1answer
2k views
Programmatically find lists by template ID
I am looking for an efficient way to programmatically find all SharePoint lists with a given template / type in the current site collection from within a sandbox solution.
NB: I'm obviously aware ...
3
votes
3answers
763 views
Sync Google Calendar with sharepoint Calendar
How to synchronize Google calender with SharePoint 2010 calender ?
3
votes
1answer
507 views
Web part property - allow multi-line values
I have the following code in a webpart I am developing.
WebBrowsable(true),
Category("Data"),
WebDisplayName("Banks"),
WebDescription("Banks"),
Personalizable(PersonalizationScope.Shared)]
public ...
3
votes
3answers
170 views
Can I use EntityFramework and sql azure with Sharepoint Online?
I would like to connect to an entity model from a sandboxed webpart in sharepoint online. Is this possible?
Is it possible to connect to sql azure from a sandboxed webpart?
3
votes
2answers
657 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 ...
3
votes
1answer
550 views
Sandbox Web Part without Site Collection Administrator permissions?
Is there a way to get a Sandboxed Web Part deployed without Site Collection Administrator permissions? Here is the situation:
I have Full Control permissions of the Site Collection's Root Web, ...
3
votes
1answer
406 views
Custom web part as consumer and provider for other single web part
I have a task to create a custom filter web part (CFWP) for standard List View web part (LVWP).
I decided to use a connection framework for this task and designed next concept:
LVWP is a provider ...
3
votes
2answers
352 views
Is there a “Who Follows me” Web Part?
I need a WebPart similar to Colleagues WebPart, but to return which users have added me as a Colleague.
Does it already exist? Or, how can I develop it? I'm using SharePoint 2010.
3
votes
1answer
916 views
Connecting web parts to metadata navigation in document library
Is it possible to read from the metadata navigation in a document library so that the selected value(s) can be passed into another web-part (in this case a CoreResultsWebPart ).
The IsNodeSelected ...
3
votes
1answer
385 views
How to remove the OOB appearance category from the web part tool pane (editor part)?
I am working on developing an (ASP.NET) web part for SharePoint 2010.
I have a requirement to not to show the Appearance and Layout category which gets displayed by default in the web part tool pane ...
3
votes
1answer
420 views
WSPBuilder in Visual Studio 2010 for solution in Sharepoint 2007
I've installed the WSPBuilder extension for Visual Studio 2010 and I'm looking for a walkthrough of how to create a deployment package for my web-part. Can anyone point me to a good resource? ...
3
votes
1answer
356 views
Possible to add to to the “Additional Column Settings” for a Column in a list?
Is there any way that I can add an additional check box to the "Additional Column Settings" section of a Column in a list? I'm talking about the section pictured below:
I don't even know where to ...
3
votes
2answers
115 views
Not able to add a webpart to a wiki page on teamsites
I have deployed a custom webpart to a TeamSite using Visual Studio. I get this error message when i try to insert it to the home page.
"A Web Part or Web Form Control on this Page cannot be displayed ...
3
votes
6answers
1k views
How do I access an updated web part's property immediately after changes are applied to it?
I have a custom web part that has the default toolpart and one additional custom property. I have a use case that requires me to be able to access the value of Title within the web part (this.Title) ...
3
votes
1answer
53 views
Filter Webpart to match any column
I have a list of products with hundreds of entries. Each product has contact details with it as well as company information etc.
I would like to be able to run a search on this list and return ...

