Tag Info

New answers tagged

0

A little late, but maybe it will help future users. Got the same problem on a PC with VS2013, SQL 2012, and Office 2013. Solved the problem by opening a .sln-file with "Open with" and checked "Always use the selected program".


0

You will need the SharePoint Client Components SDK for this: using Microsoft.Online.SharePoint.TenantAdministration; using Microsoft.SharePoint.Client; using System; using System.Security; namespace CreateSiteCollections { class Program { static void Main(string[] args) { //Open the Tenant Administration Context with ...


1

You can create site collections in SharePoint Online with C# using the client side object model. You will need to install the SharePoint client SDK first which includes the CSOM libraries and the all important Microsoft.Online.SharePoint.Client.Tenant.dll. There is a full walkthrough on how to get the client SDK and use the CSOM libraries with C# to create ...


0

I assume you want to attach the workflow to your live list automatically when the solution deploys. To do this, select workflow, choose element property and set Target List. How do I associate a workflow to a custom list in Visual Studio 2010? Or, to attach the workflow manually to your list (as long as there are no absolute references in your code, it ...


1

There are two ways of showing the attachments of List Item in the same grid where List Items will be shown. Check the followings: This TestList, each one contains multiple attachments. Way 1: Using JavaScript--> Go to the Site > Site Assets and upload jquery-1.11.1.min.js, knockout-3.0.0.js and Script.js. Script.js will contain following code: var my ...


1

If you want your own Error message, you have to make an application page (e.g. "error.aspx") and design it as per your requirement. Then set some properties like: properties.Status = SPEventReceiverStatus.CancelWithRedirectUrl; properties.RedirectUrl = "Error.aspx page's url"; Then this page will be displayed instead of the server error page.


0

You can find similar questions Organizing WebParts in Visual Studio - Best Practices and Structure of SharePoint Solution. When working with SharePoint 2010 and the Visual Studio Tools for SharePoint, you can effectively structure your project how you like - this is because you can use folders to structure things logically I agree with Chris ...


1

You should watch out, that solutions don't get messy or too big. Don't put too many projects inside a solution, it will be impossible to find a webpart then if you have many of them with many projects inside. I always make one solution for like one page, with all the webparts in it inside one project and every "item" of them is in a separate feature. Because ...


0

The design view was removed from SPD2013, so that is why you do not see the options to edit the view. The suggested method in SP2013 is to use JSLink to change the column. A couple of references: Martin Hatch: http://www.martinhatch.com/2013/08/jslink-and-display-templates-part-1.html Chris O'Brien: ...


0

You cannot have List without a SharePoint Environment. However, If you dont want to install SharePoint on premise but still want to use it SharePoint List, you can go for trail pack of Office 365 and create the SharePoint sites and create lists there. You can also use them in Visual Studio.


0

I have tried this. It is working fine. Please check the followings: Elements.XML <?xml version="1.0" encoding="utf-8" ?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Field ID="{58CA5957-14FA-450A-BE5C-A7C396DCC757}" Type="Text" Name="News Blurb" DisplayName="News Blurb" Required="TRUE" Sealed="TRUE"/> <Field ...


0

After struggling for hours trying all the above solutions, Restarting the machine resolved this issue for me.


2

Since CSOM supports Request Batching that allows to minimize the number of messages that are passed between the client and the server, it matters how operations are submitted to the server using ClientContext.ExecuteQuery method: ClientContext.ExecuteQuery method performs the actual request to the server, it could contain single or multiple operations. So, ...


1

you can do: Server.Transfer("Page2.aspx", true);


1

If you're on on-prem environment, you can customize the SuiteBar, there's a delegate control for the SuiteBar which you can override. For SP2013 online environment, you'd need to use jQuery to add links to it and CSS for changing color, font and styles.


0

Since you have to reference two lists, your only option that I see is to use a script to handle it (I originally thought you wanted to filter the color column, and not the Cars column. I don't know of an easy work around, besides creating a new field and using workflows to get it done). Here is a sharepoint script that could possibly get it done. I can't ...



Top 50 recent answers are included