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

learn more… | top users | synonyms (1)

0
votes
2answers
15 views

How do we make a choice whether to create new webparts as projects in solution or new items in project?

In VS we create a solution. Then, we can create multiple projects under this. Also, we can add multiple new items under each project. Suppose requirement is to create a webpart, then how is decision ...
1
vote
2answers
57 views

Creating/editing Sharepoint 2013 columns with VS2013

Firstly, I'm very new to SharePoint, just the 6th day working with this powerful tool. The problem I'm facing which I can't solve is how to edit for example existing attachment column for list for ...
0
votes
0answers
10 views

How do I check if a collection is empty?

I can't figure out how I can do a simple null check on a Collection variable in a workflow. The variable is populated by a GetDynamicValueProperties activity, so it can (and will be, under certain ...
0
votes
1answer
26 views

Visual Studio sharepoint list as a database without Sharepoint Server

I have installed Visual studio. I want to create web tool which should use SharePoint List as a database. I should not install SharePoint Server, it is not approved for my team. To create a project ...
0
votes
1answer
31 views

create a custom ListDefinition based on a custom Content Type

I have created a custom content type that inherits from the Basic Page content type. I want to create a custom ListTemplate that will store pages, the library must use my custom content type I ...
1
vote
0answers
27 views

Editing HTML in pages or content editor with software

I would like to do some advance customization in my wiki pages or content editors. For this, I use the HTML function, but the editor where I paste the code is not very user friendly. Is there any ...
0
votes
1answer
31 views

Retrieve all lists and libraries Sharepoint Online

I'm trying to retrieve all lists from my online tenant from Visual Studio. After much fumbling and unsuccessful attempts with: ListItemCollection listItemCollection = oList.GetItems(query); and ...
0
votes
1answer
42 views

Cleanest way to do multiple response.redirects without page refresh?

I am trying to develop a simple web part in VS that will pull data from a text box, construct a URL with the data and open a new tab using OnClientClick="aspnetForm.target ='_blank';" and using this ...
1
vote
1answer
41 views

Branding the suiteBar in SP 2013

I need to rebrand default look of sharepoint suiteBar. I have no problems with logo or custom links but I need something more. I need to change whole look of suiteBar - background color, height, ...
0
votes
1answer
47 views

How to show/Hide Data in dropDown field in a list depending on other list boolean field

I have two lists; Cars{brand,color,price} and Colors{designation,disponibility}. I made the field color as a lookup field to display colors from colors list. My problem is that i ONLY want just to ...
0
votes
1answer
32 views

Distinct values of SPFieldUserValue List

I'm working with visual studio 2010 and I have this list: List<SPFieldUserValue> directeursDelegues = (from SPListItem agence in webSite.Lists[agenceGuid].Items ...
0
votes
0answers
6 views

Change the Type of a deployed ListTemplate

We need to change the Type attribute of some deployed and in use ListTemplates because of the problem discussed here. What is the correct way to do this without losing data?
0
votes
0answers
8 views

How to have environment specific details in Declarative ECT,VS 2012, SP 2013

I have developed a declarative ECT from VS 2012 to connect and read data from Oracle. I have to specify "RdbConnection Data Source" property that points to Oracle DB. How to have that property as ...
0
votes
1answer
29 views

'Alert Me' does not work on custom lists

We have several custom lists which are all deployed using WSPs along with some web parts to a SharePoint 2010 installation. Every time a user clicks on the 'Alert Me' button on a custom list or an ...
0
votes
0answers
13 views

Can't create SharePoint 2013-Empy Project in Visual Studio 2013 [duplicate]

I can't create a SharePoint empty project using Microsoft Visual Studio 2013. I get this error: The required version of SharePoint Foundation 2013 or SharePoint Server 2013 is not installed on this ...
0
votes
0answers
24 views

Timer Job - Deploy WSP from VS2010 Vs Management shell

Help me to understand about deployment of Timer job from Visual studio 2010 and management shell . Software: Sharepoint2010 Visual Studio 2010 .NET 4.5 My Experience: I wrote timer job with ...
0
votes
0answers
30 views

Is it possible to add a cache.manifest to sharepoint hosted app?

I've got a sharepoint hosted app on o365 that I'd like to add offline functionality to with a cache.manifest file eg here. This requires adding manfest="cache.manifest" to my html tag. My app ...
1
vote
2answers
42 views

New field is not accessible via Powershell

I have a list "Orders" in SP, where I have some data. The list definition and instance were previously created in Visual Studio and then successfully deployed. Today I've opened VS again and added ...
1
vote
0answers
21 views

SharePoint 2007 solution in Visual Studio 2010

I have a question regarding building a solution in visual studio 2010 for SharePoint 2007. So basically I have a SharePoint 2007 and to maintain it from central location, I would like to move the ...
0
votes
0answers
28 views

Getting error of Object reference not set to an instance of an object while trying to Package

I am using Visual Studio 2010 Ultimate and I have a solution with two SharePoint projects. These projects are dependent on two SP DLLs - Microsoft.SharePoint.dll and Microsoft.SharePoint.Security.dll. ...
0
votes
1answer
47 views

toolbox controls are disabled in visual studio 2010?

When I create an empty SharePoint 2010 project with Visual Studio 2010 a lot of controls are disabled (chart, sqlDatasource). I try to reinitialize and other stuff but nothing. The controls are ...
2
votes
2answers
156 views

Unable to Delete Custom Master Page Programmatically During Feature Deactivation 2013

I currently have a custom master page that is being deployed at the Site scope. Once deployed and the feature is activated it makes the master page available for use. I am able to activate the ...
0
votes
0answers
22 views

Can I call an activity from a Code Activity?

I have an existing activity in my workflow. Can I call it from a code activity?
0
votes
2answers
117 views

How to deploy an EventReceiver which writes to SQL Server correctly

following scenario. I have a client machine on which I have all the permissions for: SQL-databases (db_owner) Full access to a Sharepoint Application. Created a Sql-account (db_owner) and included ...
0
votes
3answers
162 views

SharePoint 2010 workflows from visual studio

My task List has the Following Fields 1) Start Date 2) Due Date 3) Survey Submitted By Through Visual Studio Workflows I want to achieve the below scenario. Can any one give me an idea which actions ...
0
votes
1answer
33 views

How can I build a Visual Studio 2010 solution from wsp? [duplicate]

I've inherited a site with a Sandbox Solution but no documentation nor the original solution package. How can I extract the .wsp to get the solution? I tried renaming it to a .cab file and ...
1
vote
1answer
242 views

How to customize the XsltListViewWebPart?

I would like to have submission feature on the List List structure would be Mon-Fri is considered as a week, user would be asked to select the current week's Friday from the calendar. It ...
1
vote
2answers
49 views

Debugging sandboxed solution?

I know this is a novice question, but my sandboxed solution works on one site and not the other. How/where can I actually see the errors generated by some sort of report? Debugging simply takes me to ...
0
votes
1answer
33 views

Add SPuser to SPGroup by defult ,after registration directly

I need that when the user registers on the site he should automatically be logged in to the site. How can I do that by code?
2
votes
1answer
109 views

Cannot connect to SharePoint online to create SharePoint App in Visual Studio 2013

I have an Office 365 account and I am trying to create a SharePoint App via Visual Studio 2013 Here are the steps: 1. Open VS 2013 and select Office/SharePoint > App for SharePoint (type the name) ...
0
votes
0answers
15 views

Columns not added to the sharepoint deployed list

I used vs2013 to create a list with name "Committees" and added columns to it within visual studio environment and added both to the same feature, after deployment and deactivate the feature and ...
0
votes
1answer
57 views

How to restore the sharepoint list data after deploying project solution again?

I have an Visual Studio 2010 empty sharepoint solution project. Solutions consist of several custom lists and workflows attached to that lists. The solution always changes, so it means I'm redeploying ...
1
vote
2answers
80 views

Advance Search For Find Document with Column

I have a Document Library that contain large number document with four kind of content type. My Documents Contain specific column that inherit from content type. Now I need to design an advance search ...
2
votes
0answers
56 views

can provider-hosted app deployed outside the domain when using s2s

I'm creating a SharePoint provider-hosted app using visual studio 2013 in a machine and connecting to SharePoint 2013 on another machine. Visual studio is not in the same domain as SharePoint ...
1
vote
1answer
45 views

How to create a custom list that is only available on RootWeb via Visual Studio?

I know how to create lists with Visual Studio. I need hint on how to create the custom list named 'test' with Title, URL and an boolean field only on the RootWebs of every site collection the feature ...
0
votes
1answer
146 views

Can I deploy a sandboxed solution from Visual Studio to SharePoint online?

Apps are great for many things but hosting a service for a one-off customization of a host web seem a little overkill. I want to use a sandboxed solution for things like branding and data structure ...
0
votes
1answer
58 views

Trying to learn SherPoint development with Sharepoint.com

Because I don't have the hardware or license i bought Sharepoint Online from sharepoint.com I've just started out, and want to for instance create a poll. I Visual Studio I have two choices: App ...
0
votes
1answer
58 views

Pass data from custom asp.net form to workflow (SharePoint 2010)

I've got a state-machine workflow with custom instantiation and task asp.net forms. My custom task form is pretty easy, it just shows the instantiation data and let the user approve or reject it. If ...
1
vote
1answer
84 views

Repeating Login Prompts when deploying reports using Visual Studio 2012 BIDS

I am running SharePoint 2013 integrated with SQL Server 2012 and SSRS but I've been having problems trying to deploy my reports from Visual Studio 2012 BIDS. Whenever I enter in my login credentials ...
0
votes
1answer
91 views

Add HTML elements programmatically

I think it is a very simple question, but I'm just stuck on it. I'm developing custom page for my SharePoint 2010 portal, and I need to add a button (or other elements) to my .aspx page: <input ...
0
votes
2answers
62 views

How to remove features from farm?

I have figured out a way to uninstall and remove the wsp from manage farm solutions. (Solution Management) - http://centraladmin:8888/_admin/Solutions.aspx But I donotknow how to uninstall and ...
0
votes
3answers
136 views

Collapsible asp.net control for SharePoint2010

I have a custom Instantiation form with a lot of CheckBoxes in SP2010. Now I've to put the CheckBoxes into different categories which should be collapsible, like you can see in the picture below. Is ...
0
votes
0answers
55 views

Visual Studio 2013 - An exception occurred while calling 'OnImportsSatisfied'

I am getting the following error message in a fresh install of Visual Studio 2013 when I try to open any "Feature" or "Package" in a SharePoint 2013 project. An exception occurred while calling the ...
1
vote
3answers
233 views

What should be scope of masterpage feature?

Here is my code on feature activated:- SPWeb topLevelSite = properties.Feature.Parent as SPWeb; if (topLevelSite != null) { // Calculate relative path to site from Web ...
0
votes
1answer
34 views

Deploy a Workflow without changing the Content Type ID everytime

I have a SharePoint 2010 State-Machine-Workflow with a custom Content Type. Everytime I want to deploy the Workflow to my test SharePoint Server I've to change the Content Type ID because it throws me ...
0
votes
2answers
235 views

How to get list item id of the workflow task list

I have a SP2010 workflow created in Visual Studio in which several tasks exist. At each task creation I need to send message to specific user which contains information about specific task, one of the ...
1
vote
1answer
64 views

How can I create a custom task form in Sharepoint 2010?

Is there an easy way to create a custom task form with asp.net/Visual Studio for Sharepoint 2010? I worked with WSS3 before, where you can easily add the form URL to the workflow.xml file but in ...
0
votes
0answers
69 views

SharePoint WebParts. Attaching to ProteusDebugEngine debugger failed

I'm using Visual Studio 2010 Ultimate and SharePoint Foundation 2010. When I debug my VisualWebParts I have some errors: "Attaching to ProteusDebugEngine debugger failed. Invalid pointer." "Cannot ...
1
vote
0answers
51 views

White rectangle background when i scroll SharePoint Modal Dialogbox

I'm facing a strange issue. Couldn't find the solution for this on the internet. I'm using a SP.UI.ModalDialog.showModalDialog in a SharePoint web part. Issue: When this dialog box is displayed and ...
2
votes
0answers
45 views

How to implement a custom action to run code with access to the current item columns

I am using sp2013. I have a custom list which is using a custom content type. I would like to implement some link or button which is running some code. First you will need to select a listitem. In ...