How to enable site collection feature by default when deploying a visual...
Hi,I am making a visual web part in SP 2010 using visual studio 2010. I want it so that when I add and deploy my wsp file, it should by default keep the site collection feature activated for the web...
View ArticleConnecting web parts - consumer/provider in context of a Read Only user
I have a question about how things should behave for a Read Only user in the folowing scenario.I have an example up and running with three web parts1. Contract Dropdown list (provider) - user selects a...
View ArticleUse the Client Object Model to activate a feature
I'm trying to activate a web and/or site feture using the Client Object Model (Microsoft.SharePoint.Client). I've tried many variations but always get this error message...Error Message: Feature with...
View ArticleCan you populate a new Document Set with files from another Document Library?
We have a Document Library that contains a handful of version-controlled documents. Two of these are "Request for Quote Form" (a word document) and "Quote Worksheet" (an excel document).I then would...
View ArticleSet a field value based on query string
Hi, I have a list where I need to set field value based on the query stringI have this field called "Type", which is numberFor Eg : let's say, My URL is "Http://www.example.com/newpage.aspx?type=12"Now...
View ArticleSharePoint and Custom Navigation using a list?
I am looking for the ability to have my global nav (vertical - which I did), then I want a list driven nav (horizontal) for the user to control so not looking for code solution but one that is list...
View ArticleHow to make custom task edit form for Sharepoint 2010 sequential workflow in...
Hi All,I am using SharePoint Foundation 2010. I want to create a sequential approval workflow on list item in visual studio 2010 and want to create custom task edit form for it which will have approve,...
View ArticleProblem displaying an Excel Spreadsheet in a Web Access Webpart in SP 2010...
Hi, I have an excel spreadsheet in a shared document library. I added an Excel Web Access webpart to my page. But when I navigate to the spreadsheet in the webpart configuration tool, I get this error...
View ArticleCan Viso be embedded in Sharepoint 2010?
Hi, is this possible? I was thinking about the organisational structures you can build in Visio.Or are there alternatives?Thanks.
View ArticleError occurred in deployment step 'Activate Features': A duplicate content...
I am getting this error each time I try to deploy my solution, using VS2010. I have have deployed this solution several times while I was working on the code, and never had any issues. All of a sudden,...
View ArticleRunning SharePoint timer job programmatically using non-farm admin users
Hi All,I am trying to start a custom timer job programmatically on click of a button in my custom web part(see the below code).The code works fine if run using a farm admin account, but get access...
View ArticleCopy files across web application using client object model
Hi All,I have a client requirement to copy files across document libraries on different web applications. Can someone please help me.MercuryMan
View ArticleCustom Web Part as a Modal Pop Up
Hi..I want to display a custom web part page as a modal popup when we click a button...i implemented this codefunction openBasicDialog() { var options = { url:...
View ArticleMost commented news articles
Hello All,We are using the OOB NoteBoard web part in SharePoint 2010 and SharePoint 2013. On home page we want to show the most commented news articles in web part. But here I am getting the way to...
View Articlecreate custom bread crumbs fetching data from list in sharepoint 2010
Hi,I want to create custom bread crumb which will fetch the data from my custom list. i dont want to sue OOTB feature.Can anybody have idea how to implement it????
View ArticleSharepoint linq entity classes generation error
i want to query the SP list using LINQ. so in cmd prompt i moved to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN. then i ran the command SPMetal.exe /web:http://YOURSITE...
View ArticleUsing InfoPath 2013 for SharePoint 2010 Web Form - Why can't I deploy?
I have an InfoPath form (.xsn) that was in InfoPath 2010, but I have upgraded to InfoPath 2013. Within InfoPath 2013, I have set the Compatibility of this form to "Web Browser Form (InfoPath 2010)" and...
View ArticleEvent Receiver does not fire when item added/updated in Document Library
So i've got a document library event receiver set on item added/updated. In Event Elements.xml file i already setdoc lib templateid:<Receivers ListTemplateId="101">I am adding a file to the...
View ArticleAutomatic task approval in SharePoint 2010
I have the following business requirement...After an approval workflow has started an "approver" has 10 days to approve or reject the task.If the "approver" doesn't take any action, the task will...
View ArticleHow can I convert a string into an HtmlField (“Publishing Html”) type?
How can I convert a string into an HtmlField (“Publishing Html”) type?One of the field in the SP list is of type "Publishing Html". I read the value from an excel sheet into a string variable. I want...
View Article