Re-direccionar un sitio de SharePoint usando una CEWP

Me resultó muy interesante este artículo en donde nos muestran como re-direccionar a un usuario a otro sitio en forma automática luego de 10 segundos, usando una simple webpart de editor de contenido

El código es:

<SCRIPT type=’"text/javascript"’>// <![CDATA[
alert("This site has been moved to another location, please update all existing bookmarks.  You will be redirected momentarily.");
// ]]></SCRIPT>

<meta http-equiv="refresh" content="10;url=http://MYSERVERNAME.com/Pages/default.aspx">

Les recomiendo que lean el artículo completo Devin Walker en: http://www.endusersharepoint.com/2010/01/20/redirect-a-sharepoint-site-by-using-the-content-editor-web-part/.

Hasta la próxima!

Ejemplos prácticos de estilos en SharePoint

Les dejo este conjunto de artículos publicados en http://www.endusersharepoint.com/. La serie se llama "MOSS 2007, CSS and you, the Non-developer".

Es muy interesante porque muestra muchos ejemplos de clases de estilos, cómo modificarlas y cómo es el impacto visual en SharePoint. Artículos necesarios para los que trabajen con diseño en SharePoint.

Les dejo los enlaces de la serie, a cargo de Jay Simcox, desde The SharePoint Mechanic.

  1. http://www.sharepointmechanic.com/?p=58
  2. http://www.endusersharepoint.com/2010/03/08/moss2007-css-and-you-the-non-developer-%E2%80%93-part-2-the-quicklaunch/
  3. http://www.endusersharepoint.com/2010/03/15/moss2007-css-and-you-the-non-developer-%E2%80%93-part-3-the-globaltitlearea/
  4. http://www.endusersharepoint.com/2010/03/24/moss2007-css-and-you-the-non-developer-%e2%80%93-part-4-the-bodyarea/

Continuar leyendo en: http://surpoint.blogspot.com/2010/04/ejemplos-practicos-de-estilos-en.html.

Más sobre branding en: http://surpoint.blogspot.com/search/label/Branding.

Evento SUGES: Flujos de trabajo en SharePoint 2010 – Novedades y mejoras – Descarga de materiales!

Ayer Pablo Peris dictó un webcast (organizado por SUGES) muy interesante sobre flujos de trabajo en SharePoint 2010. Para los que no pudieron asistir, se los recomiendo.

Pueden bajar los materiales desde este enlace del Blog de CIIN: http://geeks.ms/blogs/ciin/archive/2010/04/27/evento-suges-flujos-de-trabajo-en-sharepoint-2010-novedades-y-mejoras-descarga-de-materiales.aspx.

Que lo disfruten.

image

Preseleccionar u ocultar valores en las pantallas de alta

Hace un tiempo me consultaron sobre como preseleccionar u ocultar valores en las pantallas de alta de SharePoint tomando los datos de parámetros de la URL.

 

Preseleccionar valores

Bien, hay muchas opciones. Una de las que más he utilizado es la solución con JavaScript descripta en el Blog oficial de SharePoint Designer de MSDN. Funciona bien y data del año 2007:

Hi, my name is Rob Howard, and I’m a Program Manager with the SharePoint Designer team. Like several of the other people posting here, I also built many of the Application Templates for Windows SharePoint Services.

If you’re familiar with them, you may have noticed that in several of the application templates we use a bit of Javascript to set default form values based on the query string. Because we found this to be useful in many different cases throughout our applications, I wanted to share our method with you guys so that you can include it in the applications you develop.

When might you use this?

It’s pretty easy to set a field’s default value through the list settings in the browser UI, so why might you need Javascript to set a default field value? The reason is that field default values can only take static values or simple formulae based on the current user or today’s date. If that meets your needs, then I’d definitely recommend sticking with that method. Sometimes, though, you may want the form to fill with default values based on the user’s interaction with the previous page, and that’s exactly where this method comes in.

How does it work?

In short, we add some Javascript to the page that runs when the body is loaded. This Javascript parses the page’s query string, locates the HTML objects that are rendered by the relevant SharePoint fields, and sets their value based on the information in the query string.

Pueden encontrar la solución completa en: http://blogs.msdn.com/sharepointdesigner/archive/2007/06/13/using-javascript-to-manipulate-a-list-form-field.aspx.

Otra opción con jQuery: http://sharepointjavascript.wordpress.com/2010/05/28/get-or-set-value-for-sharepoint-field-in-newform-editform-and-dispform-get-only-in-dispform/.

 

Ocultar campos

image Para esto también hay una solución del año 2008 que pueden encontrar en Clever Workarounds, basada en JavaScript y que he probado numerosas veces.

Para entender esta solución, les recomiendo que lean esta serie de artículos que pueden encontrar en la home page del sitio:

SharePoint Branding Series 2

 

Espero que les sea útil. Hasta la próxima!

Middle Tier (un método alternativo para desarrollar en SharePoint) – Repercuciones

Hace unos días hice una libre interpretación, traducción y resumen del excelente artículo de Marc D Anderson, cuyo título es: The Middle Tier Manifesto- An Alternative Approach to Development with Microsoft SharePoint.

Bien, hoy me entero de que Marc, ha hecho un comentario muy positivo en su blog al respecto, lo cual para mí es un honor. Transcribo:

I was looking through the incoming links here on my blog tonight, and I noticed this one: Middle Tier (un método alternativo para desarrollar en SharePoint). Well, that was interesting enough to click on, for sure!  What it led me to was a Spanish post which is basically a brief paraphrasing of The Middle Tier Manifesto: An Alternative Approach to Development with Microsoft SharePoint by Juan Pablo Pussacq Laborde in Buenos Aires, Argentina.  I don’t know Juan, but I’ve seen him out and about on the Interwebs before quite a few times. If you’d like to see which points he took from the white paper, you can read a translation using Microsoft Translator.

A side note: I’m always ready to be annoyed when I see my content “reused” inappropriately on the Web. However, in this case, Juan gave full attribution to my original blog post and the white paper.  This is how you play by the rules of common decency, boys and girls, if not the letter of the law.

It’s very cool to me that Juan took the time to do this translation and bring these ideas to the Spanish speakers out there.  Thanks, Juan!  (I also like the images you added to your post!)

Gracias Marc!

Fuente: http://mdasblog.wordpress.com/2010/04/24/the-middle-tier-manifesto-in-spanish/