Web parts are ASP.NET controls that can be added to web part zones.
2
votes
1answer
498 views
How to find the localized name of the Web Part Gallery
I have learned (still a SP-Noob...) that I have to take care of removing webParts that I deployed as part fo a solution myself.
Now I have coded something like
string file = "MyWebPart.webpart"; ...
2
votes
2answers
684 views
How to stop the XML being returned by a list view web part from truncating a value
I have an Announcements list. In my view I am returning the body. When displaying the body field in a list web part, the body field is being truncated and '...' is added to the end. When viewing the ...
2
votes
1answer
387 views
How best to create CQWP and test
I'm working in SharePoint 2010 Server and creating custom content query web parts (CQWP) that point to custom ItemStyle_myTemplates.xsl file. To do this, I've been creating the CQWP in the browser by ...
2
votes
2answers
2k views
How do I display the current user's computer information?
We are using the Microsoft SharePoint Server 2007 in our company environment. How can I display user's computer information who has logged in to SharePoint?
I want to do something like this:
...
2
votes
1answer
2k views
How do I get my query results to display in my web part?
I'm working on my very first web part for SharePoint 2010 in Visual Studio 2010. Please keep that in mind as you continue reading.
I'm trying to build a web part that runs a simple query against a ...
2
votes
3answers
6k views
The “Add new document” link on Forms Library list form is messing up
It links to upload document page insead of pulling the infopath.
http://sitecoll/sites/0438A/_Layouts/listform.aspx?PageType=8&ListId={7BA9BF8D-52B5-432D-8068-B5290D2E7602}
But if i edit the ...
2
votes
1answer
583 views
How to set height of the webpart?
How to set height of the webpart to 4 inches? I tried following but not working.
PageViewerWebPart pvwp = new PageViewerWebPart();
pvwp.Title = strTitle;
pvwp.Height= "4 Inch"; // Should be "4in" ...
2
votes
3answers
394 views
Want a Sharepoint (WSS 3.0) webpart to display server information
I want a way to display all internals server based information of WSS 3.0 like Hard disk space, RAM usage, etc in form of a Webpart....Is it possible?
-saumil
2
votes
2answers
950 views
Web Part to Show Libraries and Contents?
Is it possible from the MOSS 2007 OOTB web parts with no custom code of any sort to create a view of all document libraries on a given site expanded to show all folders and documents within it?
...
2
votes
2answers
229 views
SPQuery works on libraries under the list view threshold, but not over
So I am building a webpart which enumerates all doclibs in the current web, grabbing all checked out files and listing them in a table, allowing a user to apply some required metadata and check in ...
2
votes
1answer
623 views
Adding List View Web part by Powershell and via GUI hasn't same View
Following is a part of my Powershell Script which creates a Discussion Board List and tries to add it to a default.aspx page. the problem is when I add default view to the code (marked as *) it ...
2
votes
1answer
66 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 ...
2
votes
1answer
574 views
Specifying advanced webpart properties on a view in a custom module?
I'm deploying a web part page from a feature. In the module/file node, I defines a view to a specific list in the site :
<Module Name="SitePages"
Url="SitePages"
...
2
votes
1answer
446 views
What query string can I use to enable web part editing?
This is a real long-shot, but here goes.
I followed this tutorial: httpcode.msdn.microsoft.comAdding-default-web-parts-ab7aec72#content
And successfully, have incorporated the server control into my ...
2
votes
2answers
660 views
Custom webpart to set and get Property per user (PersonalizationScope.User)
I am trying to create a custom webpart in point to set and get a property per user on page.
To change the background and save it per user.
I'm using code like this:
public static string ...
2
votes
1answer
481 views
Can't save webpart after editing with PowerShell
I'm using the code below to edit the image in a webpart:
$webPartCollection = $web.GetWebPartCollection("default.aspx","Shared")
$imagePart = $webPartCollection | Where-Object { $_.Title -eq "Site ...
2
votes
1answer
299 views
Is it possible to update .Webpart file and reflect the change on all uses of a webpart
I have a webpart that is a modified XSLT list view webpart in SharePoint 2010. I exported the webpart as a file and uploaded it to the webpart gallery manually.
If the user adds this webpart to ...
2
votes
1answer
955 views
Send e-mail with SMTP (Office 365)
I need to show a popup-window with a basic e-mail layout and send the e-mail after pressing the send button. The popup, I've created and also the webpart within. But when I want to send the e-mail, it ...
2
votes
1answer
396 views
list most recently added user profiles?
In a web part (either out of the box or custom), I would like to list the user profiles most recently imported from Active Directory. This would be roughly equivalent to the most recent hires. Is this ...
2
votes
2answers
583 views
Displaying Documents With ListView Across Site Collections
Is there a way to use the SharePoint ListVeiw web part to display documents contain in a Document Center site collection?
We are not seeing a way to use this web part and point it to a Document ...
2
votes
3answers
6k views
Show only a subfolder of a document library in a web part
I want to show only a particular folder in the right pane of a page using a webpart in Sharepoint Foundation 2010. Is this possible? When adding the webpart, I could only add the document library. ...
2
votes
2answers
3k views
UpdatePanel with SharePoint 2010 web part
UPDATE
protected override void CreateChildControls()
{
if (!this._error)
{
try
{
base.CreateChildControls();
...
2
votes
2answers
2k views
How to add content to Content Editor Webpart programatically?
So I have the standard Content Editor Webpart (MSContentEditor.dwp). The title i can set via webPart.Title (MSDN).
I can't find any property where I would set the content editor's content.
I ...
2
votes
1answer
190 views
Possible to create a document library for my web part on installation?
I have a web part that need to have its own document library. Is there any way for me to check to see if that document library exists and if not create it, when the WSP is installed?
2
votes
1answer
41 views
Possibly to create a library on webpart install?
I'd like to create a library that my webpart uses to store documents. I would prefer to have this library only be visible through my webpart and by admins. Is this possible?
If so, how would I go ...
2
votes
2answers
153 views
Sharepoint Web Part restrict to zone
Is there any way to restrict a web part to a certain zone? I know I can restrict it by using the AllowZoneChange flag, but is it possible to make sure the web part can only be added to certain zones? ...
2
votes
1answer
389 views
Anyone successfully inherited from CoreResultsWebpart with FAST Search as the provider?
I created a dummy webpart which inherits the CoreResultsWebpart. If I add the built-in SharePoint Search SSA to the default application proxy group, this webpart renders results just like the normal ...
2
votes
4answers
8k views
Organization Browser in SharePoint 2010 empty unless used on My Site
I have been trying to get the organization browser web part to work on a publishing site and I can't get the web part to display any users. When I look at the organization browser web part on the my ...
2
votes
2answers
1k views
Not able to move web parts from the edit page view
I just completed work on a Publishing Site collection for MOSS 2007 that is using a custom master page that I developed. The stylesheet that I am using holds all the overrides of the core.css. This ...
2
votes
2answers
2k views
Web Part error for preloaded web part zone
SharePoint 2007 Enterprise, SP2.
I am getting a strange error (found in the ULS logs, Google reports no hits on the message itself) when trying to upload a page with a webpart preloaded in a zone:
...
2
votes
1answer
301 views
Submit Data Using HTML Form Web Part
Can someone please point me in the right direction. I've created a fill-able form using the HTML web part in SharePoint 2010 and I want to submit the data to a list. I've created the form and the ...
2
votes
3answers
296 views
How to change active directory password from webpart?
How to change active directory User Account Password using code?
2
votes
3answers
503 views
Retrive data using Caml Query Join Operation
How can I retrieve data from two SharePoint List using Join CamlQuery ?
2
votes
2answers
130 views
What software do I need to develop web parts?
I'm a site collection administrator for my SharePoint site and would like to create a custom web part for my site. I don't have access to the server that's running SharePoint and am unlikely to get ...
2
votes
1answer
778 views
Web Part zone index not working
I am installing a web part on a few different pages. I have set my zone index to 0, yet they still wind up below the other web parts on the page. Here is my code:
TasksWebPart ...
2
votes
3answers
923 views
Develop a custom format display for a sharepoint list
Is there a possibility to develop a custom format display for a sharepoint list.
What I mean, can I develop a custom datagrid for the list webpart ?
2
votes
3answers
3k views
How to add javascript and css to a SharePoint 2010 webpart?
What is the proper way (i.e. without having to manually copy the assets to any sharepoint folder or anything like that) to add custom javascript and CSS to a SP 2010 web part?
I would like them to be ...
2
votes
1answer
1k views
create or get XsltListViewWebPart
What I want to do is just same with what I do when I add a list view web parts into a web page. The difference is that I want to do it programmatically.
I know how to import web parts to ...
2
votes
1answer
951 views
How to add a webpart to 2nd “Top” Zone of a Webpart Page Programmatically
I Have a webpart page, which has layout as shown in picture,
Now I want to add a webpart to second "Top" zone of my page but I dont know how to access it,
If I want to add it to first top zone I ...
2
votes
1answer
2k views
Creating a searchable FAQ section in sharepoint 2010
How can i create a FAQ section that I can use a basic search web part to search through the FAQ and display the most relevant results.
I am new to sharepoint and need some guidance,
thanks.
2
votes
1answer
595 views
Content Query webpart- CommonViewFields vs ViewFieldsOverride
I'm reading up on the Content Query web part and based on this page, I can't understand the difference between the CommonViewFields property vs the ViewFieldsOverride property. How are they different?
...
2
votes
3answers
295 views
Find version number of a webpart
There is a requirement to get the version number of another web part in a page to be displayed programmatically.
We get details of the web part including the version number in the web part gallery as ...
2
votes
1answer
219 views
How to download a dynamically generated file without blocking the page ?
In one of my webpart I have a feature to generate a file dynamically depending on what the users choosed in the view.
On my OnClick event handler, I have this code :
protected void ...
2
votes
1answer
157 views
file not found when click new in webpart gallery
I am getting an error when i click new webpart in webpart gallery. I want to deploy my custom webpart to sharepoint webpart gallery.
I try to look in sharepoint log. Sadly, there is no further info in ...
2
votes
1answer
249 views
Sharepoint Toolpart Values Not Being Retrieved
I am looking to add custom properties to a tool part. I've been able to add the textbox as desired. I've been able to enter values and display it in the webpart.
The problem is when I edit the ...
2
votes
2answers
344 views
Custom tab on contenttype not working in webpart
I've created a custom ribbon tab that shows for a specific contenttype like this:
<CustomAction
Id="IncomingDocumentTab"
Location="CommandUI.Ribbon"
...
2
votes
2answers
4k views
How do I add dropdown list of titles from list in the configuration part of a web part?
I'm programming a Web Part in Visual Studio 2010 with SharePoint 2010. It will post content that users choose from the configurable part when you click on "edit web part". I want add a drop down list ...
2
votes
3answers
1k views
Why web parts are loading sequentially?
In our home page we have multiple web parts that get the data from different webservices or from a recursive search in some lists in the site collection.
We detected that all this calls were too ...
2
votes
1answer
654 views
want to display image url in contacts list
We are working on an iPad application with SharePoint 2010 as CMS.
On my SharePoint site we have a contacts list which the middleware is fetching using Lists.asmx and passing it to iPad.
Now what ...
2
votes
2answers
566 views
Paste a screen shot in a richtext box
I am creating a custom webpart by using SharePoint object model (using visual studio), which has a rich text box control on it and I'm trying to paste a screen shot of the screen. It seems that the ...

