Tag: property

Podemos mostrar la description Out-of-the-Box de un campo en un layout con dos lineas: Primero, debemos asegurarnos de tener registrado el namespace de WebControls en nuestro Layout: <!--SPM:<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>--> Y segundo, debemos incluir la siguiente linea por cada campo que queramos: <!--MS:<SharePoint:FieldProperty FieldName="FIELD_NAME" PropertyName="Description" runat="server">--><!--ME:</SharePoint:FieldProperty>-->
Windows PowerShell: New-ItemProperty HKLM:SystemCurrentControlSetControlLsa -Name "DisableLoopbackCheck" -Value "1" -PropertyType dword
I’ve found an interesting link about how to retrieve some properties of user profiles in SharePoint 2013 by using its client object model, like this: const string serverUrl = "http://serverName/"; const string targetUser = "domainName\userName"; ClientContext clientContext = new ClientContext(serverUrl); PeopleManager peopleManager = new PeopleManager(clientContext); string[] profilePropertyNames = new string[] { "PreferredName", "Department", "Title" }; […]