Tag Info

Hot answers tagged

5

There is a couple of reasons for this: SharePoint is from companies point of view a Microsoft product, so if there is a security risk then it's seen as Microsofts fault. This is the reason for Microsoft to putting in a lot of security into SharePoint which by default isn't in ASP.Net like: not running full trust not allowing updates on GETs and ...


3

Before modifying item, you should Disable event firing this.DisableEventFiring(); After finish updating you can Enable it using this.EnableEventFiring(); Identify if event is fired as part of Check-in if (properties.AfterProperties["vti_sourcecontrolcheckedoutby"] == null && properties.BeforeProperties["vti_sourcecontrolcheckedoutby"] != null) ...


2

You have to include the property: using (var clientContext = new ClientContext("http://yourSite/")) { var oSite = clientContext.Site; clientContext.Load(oSite); var oWeb = oSite.OpenWeb(""); clientContext.Load(oWeb, web => web.Lists); clientContext.ExecuteQuery(); //get your list by index var list = oWeb.Lists[0]; ...


1

SharePoint 2010 You could use the standard Html attribute title="someText" To use it, you need to open the SharePoint page in Edit mode and then under your Editing Tools -> Format Text you have the Option: HTML Open it and search for your Image (should look like this <img src="..." alt="..." />) just add title="Your Hover Text" as an attribtue, hit ...


1

You should specify this in SQL. Open SQL Management Studio Connect to SQL database server Right click and select Properties Choose Database Settings Change Database default locations From now onwards all new database files goes to new location


1

To call a function in PowerShell the function needs to have been declared before it is called (int the document order or if in an external module the module must have been loaded before the call.) To pass arguments to a function write it like this functionName $argument1 $argument2 so your call should look like this ActivateConfidentailWorkFlow ...


1

You have to search for the ID of the item in the Candidates list (filtering by sender value) and then create the lookup value. //if you are in the event receiver to get the web use: SPWeb web = properties.OpenWeb() int lookupID = GetLookupIDFromList(web, item["sender"]); // the first parameter is the ID of the item (lookupto) the second is the label ...


1

You can get the Hash Code of the site collection using following: $s = Get-SPSite -Identity siteurl $s.GetHashCode()



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