Tag Info

Hot answers tagged

2

No, it's not possible, but you can use the javascript csom to accomplish this. Here's an example: var clientContext = new SP.ClientContext.get_current(); var web = clientContext.get_web(); var listCollection = web.get_lists(); var list = listCollection.getByTitle("MyList"); var viewCollection = list.get_views(); var view = ...


1

In my opinion, it is a good practice if you can afford it, but it is not strictly necessary. I mean: If you are using SQL Server with SharePoint, you should stop SharePoint services first. That WILL have a performance impact. If you have a timeslot allowed for maintenance, reboot the machine once a month or every 2 months. Adjust this frequency along time ...


1

no need for any of those! you just need to add it to web.config http://msdn.microsoft.com/en-us/library/jj653752(v=vs.110).aspx and http://msdn.microsoft.com/en-us/library/ms228094(v=vs.85).aspx somthing on the lines of: <appSettings> <add key="SQLConnectionString" ...


1

There is app_offline and here is a good extension of this for sharepoint: http://spoffline.codeplex.com/ "SharePoint Offline displays a friendly error messasge that enables farm administrators to take a web application offline and display a custom message" I think this is a nice elegant way, and it also supports a schedule, so you don't have to rush ...


1

It seems like somewhere inside your webpart an exception is thrown. I would suggest you to wrap all your code inside CreateChildControls and client_DownloadStringCompleted methods with try..catch something like that: try{ ... } catch (Exception ex){ this.Controls.Add(new LiteralControl(ex.Message+"; "+ex.StackTrace)); } It is a good practice to ...



Only top voted, non community-wiki answers of a minimum length are eligible