Tag Info

Hot answers tagged

2

You might need to do the following: In the library settings click "Versioning settings" Set "Requite Check Out" to true Done Update: I've just realized that you need to check out the document when you are adding it, not editing... Then this might work for you: SPListItem.File.CheckOut


2

as far as I know retracting solutions doesn't deactivate their features, so although you wont be able to find or activate/deactivate those features, their references are still there. on the particular case of event receivers, it could turn out to be a major problem. the receiver may still be attached and if you redeploy/reactivate you may end up with firing ...


1

Alexander is right, OOTB SharePoint will read/write properties to/from your docs. You can even have these properties visible and accessible in your content of the doc. You need to first add the doc to the library, so the doc inherits the properties. Open the doc in Word, go to the Insert ribbon, then Quick Part, then Document Property. This will list all ...


1

Microsoft is going to deprecate Sandbox solutions, so you shouldn't consider it for new development. Visual Studio Options - Remote/app event receiver is one option, explorer more on this here. However, you also have the option of Visual Studio SharePoint Workflow App No code solution - If you are not comfortable with Visual Studio programming then you ...


1

I hope by now you should have got your answer. In case not, below is the solution of the same. I am posting this now as I just now ran into the same problem, but fortunately, I could come out of it pretty quickly,and I think it would be helpful to all other developers like us. Follow the below steps: Go to Solution Explorer on Visual Studio Open the ...


1

Maybe a stupid question but have you set the Deployment Target for the assembly to be GlobalAssemblyCache in the Package configuration?


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.



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