6
votes
Accepted
create a list with default items
It is possible.
When you create the list instance in Visual Studio, the created xml file contains the <ListInstance> element where you can add child <Data> element. That's where you can ...
4
votes
How to Archive folder or list in SharePoint
It depends what you mean by "archiving". You can move items to another list, or you can just filter them from the view.
Use a list column to hold a value, e.g. a status text or a year number. Then ...
3
votes
Accepted
Can I use my Visual Studio 2013 to build sharepoint add ins (Hosted App) -SharePoint Online
For VS 2015, I suggest download office developer tools preview 1 by clicking
This
Once you have installed it, SharePoint Addins option wil start reflecting as follows and to create share point ...
3
votes
Accepted
load list item in CSOM
You can modify following code to fetch all fields of your item:
var list = _clientContext.Web.GetListByUrl(<ListUrl>);
var query = new CamlQuery
{
ViewXml = @...
3
votes
Creating a list event receiver with Visual Studio 2013
Open Visual Studio 2013
Create new project from file > New > New Project
Select SharePoint 2013 - Empty Project.
Right click on your Project > Add > Add new item > you should now get Event Receiver. ...
3
votes
Accepted
Visual Studio 2013 on SharePoint 2010 Farm
As a short answer: Yes you can install and create a SharePoint 2010 Solution using Visual Studio 2013 without any issue.
Note: Don't forget to install Office/SharePoint Template tools to show Office/...
2
votes
How to make a print button in infopath form?
If you can use Javascript, there is workaround. You can take out the content wrapper part and create a new window (or use same window) and call window print functionality.
Following is the code you ...
2
votes
Accepted
Deploying Site Scoped solutions Farm wide (All Site Collections)
try the below script, you have to replace the web application url and feature name below.
Add-PSSnapin microsoft.sharepoint.powershell -ErrorAction SilentlyContinue
$webs = get-spsite -...
2
votes
Accepted
Importing all files from a existing document library to a project web sever in SP2013
Well since its 2 separate web applications. If you want to use no code. I suggest you go with Sharegate.
Sharegate will provide you a 30 day free trail. I think 30 days should be fine to achieve your ...
2
votes
Visual Studio 2013 on SharePoint 2010 Farm
Visual Studio 2013 can be used to create SharePoint 2013 solutions. You can use VS 2012 for SharePoint 2010 solution. But you can open the solutions using VS 2013.
You ca find more info about VS 2013 ...
2
votes
Accepted
Sharepoint 2013 BDC IEnumerable<T> VS List<T>
List implements IEnumerable interface. IEnumerable is an interface.
List is a class that defines a generic collection.
IEnumerable doesn't allow random access, where as List does allow random access ...
2
votes
How to Archive folder or list in SharePoint
You can create workflow which can move the items from Main List to archive list.Here are the steps to create a workflow for archiving purpose.
Archive SharePoint List Items in SP 2010 and 2013
Or ...
1
vote
How to upgrade Visual Studio 2012 workflows to Visual studio 2013 workflows?
System.workflows belongs to WF 3(SharePoint 2010 uses WF 3.5), SharePoint support Windows Workflow Foundation 3 and Windows Workflow Foundation 4(require Workflow Manager),check here for more details.
...
1
vote
Accepted
How can I connect SQL DB to SharePoint List without Business Data Connectivity
I've used the open source list source en destination in the past, but when I search, they don't seem to be compatible with newer SQL Server versions. If you're comfortable coding, you could write your ...
1
vote
Can we call SOAP web service from visual studio 2013 declarative workflow?
SharePoint workflows can consume any sort of web service.
You could check the guideline below.
https://docs.microsoft.com/en-us/sharepoint/dev/general-development/working-with-web-services-in-...
1
vote
Can I use my Visual Studio 2013 to build sharepoint add ins (Hosted App) -SharePoint Online
You have to install Office Developer Tools for building SharePoint Add-ins (Provider-hosted or SharePoint-hosted) or Office Add-ins.
1
vote
Feature in SharePoint farm solution not showing web part items
Depending on the Version of SharePoint 2013 or the UI Version its running in and the Features Web Parts are being deployed to they may not be visible unless deployed to the 14 hive folder or the 15 ...
1
vote
FBA Configuration
When the user changes their password with the change password web part, the password is stored in the membership database (default db name is ‘aspnetdb’). Depending on the settings for the membership ...
1
vote
Deployment error in Visual Studio Workflow - Invalid type(s) System.Decimal
I have found the solution: There was another workflow attached to the list that was also triggered by the creation of a new item. That workflow was a SharePoint Designer workflow and, as far as I ...
1
vote
Accepted
Getting SharePoint Site Title
GetWebByTitle(string siteTitle) method is trying to find title in all sub sites.
If you want to get the title of the site whose URL you passed, You can use
var sh = new SharepointHelper("https://...
1
vote
Building wsp for VS 2013 and SP 2013
WSPbuilder does not support to SharePoint 2013.
Here is the one workaround mentioned here
If you execute "%ALLUSERSPROFILE%\Application
Data\microsoft\MSEnvShared\Addins", you should see the ...
1
vote
Accepted
Creating a list event receiver with Visual Studio 2013
Open Visual Studio 2013 and create an Empty SharePoint Project.
Enter site URL and select Deploy as a farm solution and click Finish.
Open Solution Explorer and add a new item.
Select event ...
1
vote
Accepted
Weird workflow problem with custom activity
After procrastinating like a champ for about a year, I recently was forced to look into the question again, and this time I found the cause of my problems right away: It was a local time vs. UTC ...
1
vote
SCRIPT1004: Expected ';' error in the browser
Seems like you have entered the selector wrong. THere is never a comma in a selector. Instead of using Javascript, you can achieve this by CSS.
You can use the following css to hide the Edit button in ...
1
vote
How to make a print button in infopath form?
You cannot use XDocument in InfoPath 2010 or later. Instead, you can use
this.Print() method. This will print current page directly to default printer (unfortunately no dialog will pop up).
1
vote
How to get workflow instance's Title/Name property using WorkflowServicesManager in SharePoint 2013
You can get that name from WorkflowSubscriptionService. This is how you get that.
/// <summary>
/// get workflow name from instance
/// </summary>
/// <param name="...
1
vote
SharePoint DateTimeControl does not render the calendar in web part
Beware that $SPUrl is token known only in SharePoint Server editions and it is not available in SharePoint Foundation. Using $SPUrl in SharePoint Foundations throws an exception The expression prefix '...
1
vote
Error occurred in deployment step 'Activate Features'
Check, that package.package has the correct office/sharepoint version,
e.g. SP2016 16.0, SP2013 15.0. It's hardly noticeable but that could be the reason why the feature doesn't get installed into the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
visual-studio-2013 × 211sharepoint-server × 55
2013 × 52
sharepoint-online × 29
development × 28
workflow × 27
sharepoint-enterprise × 25
sharepoint-addin × 22
javascript × 15
web-part × 12
sharepoint-designer × 11
visual-web-part × 10
visual-studio-2012 × 10
office-365 × 8
2010 × 7
list × 7
visual-studio × 7
sharepoint-foundation × 6
event-receivers × 6
solution-package × 6
workflow-manager × 6
custom-list × 5
content-type × 4
error × 4
deployment × 4