< class="prominent-subhead ">

Sharepoint SmartObject error: "The property or field 'LoginName' has not been initialized"

This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.


When trying to execute the SmartObject titled “Group” which can be located via the Sharepoint 2013 service instance > management column. The method that you choose to execute is as stated: “Is User In Any One Group”.

You can find this within the SmartObject tester tool:


(The Smart object Tester tool can be found via the following directory upon the K2 sever  Program Files x86 >>> K2 Blackpearl >>> Bin >>> Smart Object Tester Tool.)

When executing the method you get the following error below: 

The property or field ‘LoginName’ has not been initialized.


It appears that this happens after installing Fixpack 29 for K2 version 5.1. Installing Fixpack 30 also doesn't resolve this issue. 


Fixpack 31 resolves the error here. This can be downloaded via the link: