Article archive

PowerForms - label localization

09/03/2015 17:10
JavaScript for label localization in PowerForms. - Insert following code to 'Load Completed' section in Scripts part in Options tab, or include external .js file with functions. - Use label value in form: Moj nadpis|My Title (for sk-SK|en-US version). - Add SetLabel method call to this script for...

Cannot connect to the targeted site

04/03/2015 09:06
Visual Studio error when setting Site Url for Sharepoint projectCannot connect to the targeted site. This error can occur if the specified site is not hosted on the local system. SharePoint solutions work only with locally-installed versions of SharePoint Foundation or SharePoint Server. Remote...

Get domain account from Person field

16/07/2014 11:49
  //If you have Sharepoint field of Person type (SPUser, people picker), you cannot read login name as follows (item["yourPersonFieldName"] as SPUser).LoginName, because item["yourPersonFieldName"] returns 6;#User DisplayName,   You have to convert field to SPFieldUser and then retreive...

Call web service with soap message

15/07/2014 14:14
 public static string CallAsrWebService(string soapMessage, string webServiceUrl, string webServiceLogin, string webServicePassword)        {            string soapResult =...

Create file on sharepoint

02/07/2014 15:56
//Create file from scratch - from memory stream using (StreamWriter writer = new StreamWriter(new MemoryStream()))                   ...

Nintex Workflow trial licence download

06/06/2014 11:17
https://www.nintex.com/en-US/Products/Pages/TrialDownload.aspx?v=NWF.2013

Workflow action 'Nintex.Workflow.Activities.Adapters.NWQueryList Adapter' is not allowed on site

06/06/2014 11:10
I had following exception when trying to save imported Nintex workflow:Workflow action 'Nintex.Workflow.Activities.Adapters.NWQueryList Adapter' is not allowed on site{"Server was unable to process request. ---> Workflow action 'Nintex.Workflow.Activities.Adapters.NWQueryListAdapter' is not...

Create content database

05/06/2014 15:06
param($webAppUrl, $siteUrl)$script:MyInvocation.MyCommand.NameAdd-PSSnapin microsoft.sharepoint.powershell -ErrorAction SilentlyContinue$webApp = Get-SPWebApplication $webAppUrl$sqlServerName = $webApp.ContentDatabases[0].Server#Get content database name from siteUrl (last url part)$sitePart =...

New-SPSite : User cannot be found.

05/06/2014 11:22
New-SPSite : User cannot be found.My script suddenly didn't work when creating team site from PowershellIt was caused by not running PS as administrator, so problem was in my own account

Set date picker value in InfoPath programmatically

04/06/2014 11:31
Only date format "yyyy-MM-dd" or datime "yyyy-MM-ddTHH:mm:ss" is accepted by Infopathyou have to remove nil value if thereDateTime date = DateTime.Today; DateTime nextDayDate = (DateTime)date.Value.AddDays(1);string nextDateString =...
Items: 111 - 120 of 384
<< 10 | 11 | 12 | 13 | 14 >>