SSD: el síndrome de la Sharepoint dependencia

Sharepoint me proporciona seguridad y me hace sentir más fuerte. Las 10 cosas que más me gustan de Sharepoint.

domingo, 24 de mayo de 2015

¿Cómo habilitar versiones en una lista en SharePoint con C#?

SPList listaKPIs = oWebsite.Lists.TryGetList("KPIs");if (listaKPIs != null){  if (!listaKPIs.EnableVersioning)  {    listaKPIs.EnableVersioning = true;    listaKPIs.Update();  }}...

lunes, 18 de mayo de 2015

¿Cómo ocultar un campo en un tipo de contenido en SharePoint con C#?

if (listaInformes.ContentTypes["Elemento"].FieldLinks["Porcentual_Portfolio"].Hidden)  contenido.InnerHtml += "<span style='color: blue'>Informes ya tiene porcentual OCULTO</span><br>";else{  listaInformes.ContentTypes["Elemento"].FieldLinks["Porcentual_Portfolio"].Hidden = true;  listaInformes.ContentTypes["Elemento"].Update();  contenido.InnerHtml += "<span style='color: green'>Porcentual OCULTO en Informes</span><br>";}...