webparts

Failed to determine definition for Feature with ID... - unknown GUID

I am in the process of developing a Feature to install a WebPart with associated List and List Instance. On deployment of the list the following message is logged: Failed to determine definition for Feature with ID 'cdca545a-333a-4b3f-ba15-ac3cdbb12312'. Skipping this feature for element querying consideration. (line breaks added for ...

SharePoint - Web part to view remote list

Which web part and how to configure it to view a list from a different site collection? Please note that I do not want to view a page but a list. For example view Announcements from a different team site under a seperate site collection. Thank you in advance for your help. ...

LDAP query in a webpart deployed in MySite throws an exception

Hi All, I designed a webpart that brings the employee info according to the EmployeeId stored in active directory, this webpart must be deployed in MySite for every user and then get the employeeId from active directory for the current user "mysite" owner, for testing purposes I deployed the webpart in the intranet site and logged in wi...

Setting up the SharePoint+Silverlight Blueprint Colleague Viewer Web Part

I'm trying to get the Silverlight Colleague Viewer webpart to work on my test server. The silverlight player renders the Viewer but it fails when it attempts to access the WCF service. The error below is caught by IE 8. Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR >1....

Change "access denied..." text string for document library web part.

I have a MOSS publishing site and a document library with it's own unique permissions. On the site home page (default.aspx) I have a document library webpart that shows a list of documents. If the user does not have permissions to view the documents the web part currently displays the message "Access denied. You do not have permissio...

How can you make your custom property of a webpart in SharePoint 2007, sort to the top of the property pane?

In SharePoint 2007, is it possible to programmatically sort the custom property you created to the top of the property pane? So when someone edits your webpart it would show at the top, rather than at the bottom by default, so that the user wouldn't have to scroll to the bottom? Here's my code, for reference: private string _strMai...

Sharepoint webpart and overiding the css style

Have a look at this picture Does anyone know what css style is used for the line/border highlighted in red? I'm trying to over ride it in my custom style sheet but I’m not having any luck, so far I’ve tried overiding these different styles... .ms-viewheadertr .ms-vh2 .ms-vb .ms-vb2 .ms-unselectedtitle .ms-summarystandardbody ...

Combining different lists data and showing it in a webpart

hello, let me explain my current situation i have a SharePoint site lets say it is MAIN, and a subsite lets call it SUBMAIN in MAIN i have a list called "a" and in subMAIN i have a list called "b" both lists have the exact same columns, i need to show the content of both lists (ordered by modified date for example) in one webpart i...

Can't delete custom SharePoint webpart DLL

Hi All, I've created a couple of custom web parts and put the DLLs in the /bin folder for testing. I now want to delete the DLLs from the /bin folder but I keep getting the following error: Cannot delete xxxxx: Access is Denied Make sure the disk is not full or write-protected and that the file is not currently in use. I can rename t...

Sharepoint - Can You Output Unfiltered HTML from a Database?

Our customers have asked for Sharepoint and, of course, we are having to implement features for which Sharepoint wasn't really designed. We are first trying to stretch the in-house webparts as far as we can, so we are doing a lot of the work in stored procedures, user defined functions, and custom views in the MSSQL DB. I am generating...

Can I programaticaly replace one webpart with another in Sharepoint?

We have a sharepoint website that has been quite heavily developed with content using the out of the box content editor webpart. This is a bit rubbish when it comes to using any other browser than IE. We have in mind to update to the free Telerik content editor, however we would like to save ourselves a large amount of copy and pasting,...

How to modify "Summary View" in SharePoint list web part?

I'm using the Announcements list on a team site and I'm displaying the list on a page using the out of the box list web part. I like the fact that the Summary View trims the body of each list item, but I would like to display an additional column in the summary view. Is there a way to do that without having to use SharePoint Designer? ...

ASP.NET Webpart Static Connections.

I have two webparts in two different webpart zones. They provide a Master/Details scenario using gridviews. They are defined using static connections. Initially this works great. As soon as I close one of the webparts I get the message "You are about to close the webpart. It is currently providing data to other webparts, and these conne...

Sharepoint - connectable receiving, XSLT editable web part?

You can use the "Data View" webpart to take data from a database call, then you can edit the XSLT manually to make it look and do whatever you want, within the scope of that data and XSLT capabilities. Is there a web part that allows me to do the same thing, but with data that is received by a connected webpart source rather than a data...

web part visible to admin

Hi, I have added a DataView Web part to a SharePoint. After making some customization The web part renders fine when I log in as an Admin, but with a reader account I don't none of the changes I've made to that web part. Cheers ...

How do I add Paging to a sharepoint DataFormWebPart?

I'm creating an archive of news articles in a sharepoint publishing site. users can browse or search the archive. browsing is a simple list of article dates titles. I'm using the DataFormWebPart to display the contents of the Pages (articles). as there are thousands of articles, i'l like to show maybe 50 on a page. I see no built in...

WebPart Connections on Sharepoint. - Which Type to use?

I Wrote a sample webpart which takes the parameter passed from orher webpart and display its value on a label. Here is the code: [Guid("11a885e9-13e1-4c6e-8045-e5575794ebd8")] public class DisplayParameter : System.Web.UI.WebControls.WebParts.WebPart { protected Label _label = new Label(); private string _message; [ConnectionCon...

WebPartTitleID differences between ASP.NET webparts and Sharepoint webparts

when I reference Microsoft.SharePoint.WebPartPages.WebPart the WebPartTitleID is generated on pages in the following format. WebPartTitleWPQ2 when I reference the System.Web.UI.WebControls.WebParts.WebPart the WebPartTitleID is generated on pages like the following WebPartTitlectl00_m_g_cfe73da2_e9aa_44e3_aa10_b8a300837217 is t...

What are the Valid values of the searchboxex AppQueryTerms enum?

I'm building a custom search page and attempting to use an existing custom search scope. I'm having success using the SearchBoxEx with the AppQueryTerms = "ContentType:'my custom content type name'" but when i try using AppQueryTerms = "Scope:'My Custom Search Scope'" I get no errors, but also no proper results. I know my scope is popu...

ASP.Net Webparts: How to hide a webpart?

In one of the pages in my ASP.Net 3.5 site, I need to hide a specific webpart, as it is not applicable to that page (note: the webparts are defined in the master page). I basically have three webparts within the zonetemplate contained within the wpzGadgets web part zone. The webpart containing the google map control needs to be hidden. ...