Questions tagged [visual-studio]

Visual Studio is an integrated development environment (IDE) from Microsoft.

226 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
1answer
52 views

Inheritance of Content Types in a Single Feature

I am having the same issue as seen in https://stackoverflow.com/q/9699451/240372 yet the solution does not work for me. The ID's for my Content Types are the following A ...
0
votes
1answer
1k views

default.aspx renaming

I manage rip-off SharePoint team site. Some reason, I cannot rename default.aspx. If I rename default.aspx -> demo.aspx and I create new site collection, it gives me 404 error message. Also, if I ...
0
votes
0answers
970 views

SPServiceContext class not available in SharePoint

I have made a web part in Visual Studio in which I am using the following class: Microsoft.SharePoint.SPServiceContext It is working fine. Then I created a new visual web part project and tried to ...
0
votes
0answers
117 views

Custom Action works fine on default view but not other?

I have a list. Over in Visual Studio 2010, I have a customized replacement for the "Delete Item" button in the Ribbon, my customized version fires off a workflow, and some other stuff. In order to get ...
0
votes
1answer
65 views

Single Wsp From Multiple Wsp Sharepoint 2007

I have Sharepoint 2007 three Project. Each one have WSP. Now I have to create single WSP from all of three WSP. How to create One WSP from 3 different WSP in sharepoint 2007 using visual studio 2008. ...
0
votes
0answers
49 views

Cannot modify page layouts in SharePoint designer

We have a SharePoint solution developed by a vendor that does not allow me to make open and save a page layout with SharePoint Designer with out the thing blowing up. What would cause this type of ...
0
votes
1answer
29 views

How to find feature including a specific element

this migth be a really easy question, but I could not find any solution for that. I'm using VS 2012 and want to find which features are using a specific element. Since I got lots of Features in my ...
0
votes
1answer
78 views

Remove WorkFlow from List Instance

I have Created one Document Library Definition.I have Created two Document Library Instance from that Definition.I had created one workflow.I want to associate workflow for only one Document Library ...
0
votes
0answers
63 views

Error in adding post to a blog programmatically

I used linq to insert post into blog programmatically but when i clicked button error is appeared
0
votes
0answers
78 views

I can not see Custom Ribbion that created from following code

I have created custom action to view on webpart page but i can not see it. <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <CustomAction Id="MyRibbonCustomization" Location="...
0
votes
0answers
469 views

Not all changes apply after re-deploying solution (custom workflow action for SharePoint Designer)

currently I'm creating a custom workflow action for SharePoint Designer 2010. After the first deploy succeeded everything looked fine. But after that I changed several things and re-deployed the ...
0
votes
1answer
251 views

how to make picture library in site definition?

If anyone knows I want to know how to make picture library in site definition? Thanks in advance.
0
votes
1answer
533 views

Custom Event Reciever For Document Library(sharepoint 2010)

I have a month column which is a choice column in my document library in the format specified below.. For eg. Jan 2013 I have the following requirements 1. The month dropdown should always have only ...
0
votes
0answers
128 views

Deployed solution using stsadm commands..But it is not working

I have a differnt issue, that i was deployed the solution using stsadm commands. feature is showing site collection solutions and it is activated. But the functionality for the solution is not working....
0
votes
0answers
1k views

How Sharepoint pages life cycle works?

I built a HttpModule for sharepoint. But when I begin to debug the page request, I notice that the debugging has an strange cycle: 1 - context_PreRequestHandlerExecute() 2- page_PreInit() 3 - Init()...
0
votes
1answer
28 views

Is it posible to create a EventReceiver for opening a site?

I want to start an EventReceiver when a site or a list opens. How can I do this? Is this possible?
0
votes
0answers
77 views

How can Solve problems while debugging sharepoint web application?

Everytime I try to run my sharepoint application in debug mode, I get the error bellow:
0
votes
1answer
25 views

Local setup Vs live setup when developing web parts

I'm developing lots of web parts and of course i'm doing this all locally then uploading to the live online SP2010. I'm needing to write a lot of extra code to accommodate the file paths of images ...
0
votes
0answers
90 views

Auto-generated code for “Using”, “SQLConnection”, “ReadItem”, “ReadList” methods

I am beginner in SharePoint 2010 development. and doing following lab: Module 6: Accessing external data with Business Connectivity Services in SharePoint 2010 http://msdn.microsoft.com/en-US/...
0
votes
0answers
327 views

Sharepoint Solution showing old server url while debugging in visual studio 2010

I have a SharePoint solution which I developed in a server named HostA, and was deployed in the same server at the url, http://HostA:2100/ASD Later I moved the entire solution to a new server HostB, ...
0
votes
0answers
113 views

Error while creating site definition in visual studio

I written a program to create site definition in visual studio. I am running below stsadm commandlines in post deployment process. I added below code in the "Post-Deployment command line" window. ...
0
votes
0answers
147 views

sharepoint custom workflow by visual studio

i wanted to know if it possible to create a workflow in visual studio for a form library to make approval for forms by manager and if it possible how ,and if it possible to make a certain code inside ...
0
votes
0answers
513 views

Deploy solution using powershell

I have a solution with 4 projects to automatically some processes in Sharepoint.these projects are: WebPartProject: Create a custom webpart CreateTemplate: Create 2 documents libraries (with columns),...
0
votes
0answers
182 views

Infopath 2010 Add in development

I have a requirement to create a custom add in infopath form which will only be implemented in a single form library i.e. if users opens infopath forms in different form library then they will not be ...
0
votes
0answers
536 views

How do I set the value of the WebUrl query parameter of an SPDataSource?

I've put an SharePoint:SPDataSource element on an aspx page, which is going to be linked to an asp:DropDownList, but I can't find a value for the query WebUrl parameter that works. What am I missing? ...
0
votes
0answers
1k views

listdata.svc does not respond in VS

I am trying to add list.svc to a project in VS 2010. Even though, the path http://server/site/_vti_bin/listdata.svc is accessible through internet browsers, when I attempt to add service to my project,...