Announcing the WSRP Toolkit for SharePoint

Ayer me encontre con el siguiente link en la página del equipo de SharePoint (http://blogs.msdn.com/sharepoint/)
Web Services for Remote Portlets (WSRP) Toolkit for Office SharePoint Server 2007.

Mayor Información en el siguiente enlace:
http://blogs.msdn.com/sharepoint/archive/2008/12/15/announcing-the-wsrp-toolkit-for-sharepoint.aspx

Saludos desde Perú,

ArthasNet

Búsquedas por Metadata

Objetivo: Mostrar el procedimiento para mostrar resultados basados en Site Columns de SharePoint.

Procedimiento:

Creación de un sitio de búsqueda

 

  • Nos ubicamos en el home principal del portal, hacemos clic en Acciones del Sitio y elegimos la opción Crear Sitio
  • Se carga la página Web con las opciones de creación de un nuevo Site, agregamos el nombre del Site y una descripción del mismo.
  • Nos ubicamos en el Tab Empresa (Enterprise en Ingles) y elegimos la opción Centro de Búsqueda con fichas (Search Center with Tabs en Inglés)
    y hacemos clic en Crear.

Configuración para mapear propiedades de metadata.

 

  • Ingresar al SharePoint 3.0 Central Administration
  • Ingresar al SharePoint 3.0 Central Administration e ingresar al Shared Services
  • Ingresar a Search Settings
    y seleccionar la opción Metadata property mappings.
  • Para agregar un nueva propiedad de metadata hacer click en New Managed Property
  • Agregar el nombre de la propiedad y el tipo de información al cual pertenece la propiedad.
  • Hacer clic en Add Mapping para mapear metadata de sharepoint dentro del Managed Property.
  • Seleccione la categoría de datos a mapear. En nuestro caso es SharePoint y seleccione la propiedad que se mapeara. Para facilitar la búsqueda tiene la opción de Find y hacer una búsqueda rápida de la columna. Finalmente hacer clic en OK.
  • Luego de aceptar los datos a agregar se visualiza las columnas que mapearemos para hacer la búsquedas por Search

Rastreo

 

Hacer crawling del content source Local Office SharePoint Server sites, para mapear todo el contenido de metadata. Esto tomara le tomará unos minutos. Y mapeara la información contenida de la columna que usted definió para hacer búsquedas.

 

Configurar Búsqueda Avanzada

 

  • Ingrese a búsqueda avanzada y ingrese por opción de edición al webpart de Búsqueda Avanzada.
  • En la sección del panel de la derecha de la configuración del webpart ingresar a la sección de propiedades y en el Textbox de Propiedades seleccionar el botón contextual que aparece en la sección derecho (solamente cuando ingresamos al textbox)
  • Cuando se abre la ventana emergente de entrada de texto realizar las modificaciones. Se recomienda guardar una copia de la estructura mostrada.
  • Se deben realizar los cambios correspondientes a nuestros requerimientos, luego aceptar los cambios y republicar la pagina editada.

Estructura del WebPart de Busqueda Avanzada

 

En la sección inferior se muestra la estructura del webpart de búsqueda avanzada, se recomienda en este caso eliminar el contenido que no sirva de apoyo para el trabajo a realizar en la búsqueda de metadata, y cambiar por aquellos valores que sirvan para buscar el tipo de contenido que necesitamos en nuestro requerimiento.

<root xmlns:xsi=»http://www.w3.org/2001/XMLSchema-instance»>

<LangDefs>

<LangDef DisplayName=»Chino» LangID=»4″/>

<LangDef DisplayName=»Francés» LangID=»12″/>

<LangDef DisplayName=»Alemán» LangID=»7″/>

<LangDef DisplayName=»Italiano» LangID=»16″/>

<LangDef DisplayName=»Japonés» LangID=»17″/>

<LangDef DisplayName=»Portugués» LangID=»22″/>

<LangDef DisplayName=»Español» LangID=»10″/>

</LangDefs>

<Languages>

<Language LangRef=»10″/>

<Language LangRef=»7″/>

<Language LangRef=»12″/>

</Languages>

<PropertyDefs>

<PropertyDef Name=»Area» DataType=»text» DisplayName=»Area»/>   Â

<PropertyDef Name=»Path» DataType=»text» DisplayName=»dirección URL»/>

<PropertyDef Name=»Size» DataType=»integer» DisplayName=»Tamaño»/>

<PropertyDef Name=»Write» DataType=»datetime» DisplayName=»Fecha de la última modificación»/>

<PropertyDef Name=»FileName» DataType=»text» DisplayName=»nombre»/>

<PropertyDef Name=»Description» DataType=»text» DisplayName=»descripción»/> <PropertyDef Name=»Title» DataType=»text» DisplayName=»Título»/>

<PropertyDef Name=»Author» DataType=»text» DisplayName=»autor»/>

<PropertyDef Name=»DocSubject» DataType=»text» DisplayName=»tema»/>

<PropertyDef Name=»DocKeywords» DataType=»text» DisplayName=»palabras clave»/> <PropertyDef Name=»DocComments» DataType=»text» DisplayName=»comentarios»/> <PropertyDef Name=»Manager» DataType=»text» DisplayName=»jefe»/>

<PropertyDef Name=»Company» DataType=»text» DisplayName=»compañía»/>

<PropertyDef Name=»Created» DataType=»datetime» DisplayName=»fecha de creación»/> <PropertyDef Name=»CreatedBy» DataType=»text» DisplayName=»creado por»/>

<PropertyDef Name=»ModifiedBy» DataType=»text» DisplayName=»modificado por última vez por»/>

</PropertyDefs>

<ResultTypes>

<ResultType DisplayName=»Todos los resultados» Name=»default»>

<Query/>

<PropertyRef Name=»Area» />

<PropertyRef Name=»Author» />

<PropertyRef Name=»Description» />

<PropertyRef Name=»FileName» />

<PropertyRef Name=»Size» />

<PropertyRef Name=»Path» />

<PropertyRef Name=»Created» />

<PropertyRef Name=»Write» />

<PropertyRef Name=»CreatedBy» />

<PropertyRef Name=»ModifiedBy» />

</ResultType>

<ResultType DisplayName=»Documentos» Name=»documents»>

<Query>IsDocument=1</Query>

<PropertyRef Name=»Author» />

<PropertyRef Name=»DocComments»/>

<PropertyRef Name=»Description» />

<PropertyRef Name=»DocKeywords»/>

<PropertyRef Name=»FileName» />

<PropertyRef Name=»Size» />

<PropertyRef Name=»DocSubject»/>

<PropertyRef Name=»Path» />

<PropertyRef Name=»Created» />

<PropertyRef Name=»Write» />

<PropertyRef Name=»CreatedBy» />

<PropertyRef Name=»ModifiedBy» />

<PropertyRef Name=»Title»/>

<PropertyRef Name=»Manager» />

<PropertyRef Name=»Company»/>

</ResultType>

<ResultType DisplayName=»Documentos de Word» Name=»worddocuments»>

<Query>FileExtension=’doc’ Or FileExtension=’docx’ Or FileExtension=’dot'</Query> <PropertyRef Name=»Author» />

<PropertyRef Name=»DocComments»/>

<PropertyRef Name=»Description» />

<PropertyRef Name=»DocKeywords»/>

<PropertyRef Name=»FileName» />

<PropertyRef Name=»Size» />

<PropertyRef Name=»DocSubject»/>

<PropertyRef Name=»Path» />

<PropertyRef Name=»Created» />

<PropertyRef Name=»Write» />

<PropertyRef Name=»CreatedBy» />

<PropertyRef Name=»ModifiedBy» />

<PropertyRef Name=»Title»/>

<PropertyRef Name=»Manager» />

<PropertyRef Name=»Company»/>

</ResultType>

<ResultType DisplayName=»Documentos de Excel» Name=»exceldocuments»>

<Query>FileExtension=’xls’ Or FileExtension=’xlsx’ Or FileExtension=’xlt'</Query>

<PropertyRef Name=»Author» />

<PropertyRef Name=»DocComments»/>

<PropertyRef Name=»Description» />

<PropertyRef Name=»DocKeywords»/>

<PropertyRef Name=»FileName» />

<PropertyRef Name=»Size» />

<PropertyRef Name=»DocSubject»/>

<PropertyRef Name=»Path» />

<PropertyRef Name=»Created» />

<PropertyRef Name=»Write» />

<PropertyRef Name=»CreatedBy» />

<PropertyRef Name=»ModifiedBy» />

<PropertyRef Name=»Title»/>

<PropertyRef Name=»Manager» />

<PropertyRef Name=»Company»/>

</ResultType>

<ResultType DisplayName=»Presentaciones» Name=»presentations»>

<Query>FileExtension=’ppt'</Query>

<PropertyRef Name=»Author» />

<PropertyRef Name=»DocComments»/>

<PropertyRef Name=»Description» />

<PropertyRef Name=»DocKeywords»/>

<PropertyRef Name=»FileName» />

<PropertyRef Name=»Size» />

<PropertyRef Name=»DocSubject»/>

<PropertyRef Name=»Path» />

<PropertyRef Name=»Created» />

<PropertyRef Name=»Write» />

<PropertyRef Name=»CreatedBy» />

<PropertyRef Name=»ModifiedBy» />

<PropertyRef Name=»Title»/>

<PropertyRef Name=»Manager» />

<PropertyRef Name=»Company»/>

</ResultType>

</ResultTypes>

</root>

 

 

Simplificando este ejemplo por defecto, podríamos utilizar el siguiente como parte de la estructura para búsqueda por metadata.

 

<root xmlns:xsi=»http://www.w3.org/2001/XMLSchema-instance»>

<LangDefs>

<LangDef DisplayName=»Chino» LangID=»4″/>

<LangDef DisplayName=»Francés» LangID=»12″/>

<LangDef DisplayName=»Alemán» LangID=»7″/>

<LangDef DisplayName=»Italiano» LangID=»16″/>

<LangDef DisplayName=»Japonés» LangID=»17″/>

<LangDef DisplayName=»Portugués» LangID=»22″/>

<LangDef DisplayName=»Español» LangID=»10″/>

</LangDefs>

<Languages>

<Language LangRef=»10″/>

<Language LangRef=»7″/>

<Language LangRef=»12″/>

</Languages>

<PropertyDefs>

<PropertyDef Name=»Area» DataType=»text» DisplayName=»Area»/>

<PropertyDef Name=»Unidad» DataType=»text» DisplayName=»Unidad»/>

</PropertyDefs>

<ResultTypes>

<ResultType DisplayName=»Todos los resultados» Name=»default»>

<Query/>

<PropertyRef Name=»Area» />

<PropertyRef Name=»Unidad» />

</ResultType>

<ResultType DisplayName=»Documentos» Name=»documents»>

<Query>IsDocument=1</Query>

<PropertyRef Name=»Area» />

<PropertyRef Name=»Unidad» />

</ResultType>

<ResultType DisplayName=»Documentos de Word» Name=»worddocuments»>

<Query>FileExtension=’doc’ Or FileExtension=’docx’ Or FileExtension=’dot'</Query>

<PropertyRef Name=»Area» />

<PropertyRef Name=»Unidad» />

</ResultType>

</ResultTypes>

</root>

 

 

Espero que este post les sirva de apoyo.

Saludos desde Perú,

 

ArthasNet

Hello World!!!

Bienvenido a todos a mi blog.

De antemano agradezco a Rodrigo por el apoyo en la creación del Blog. Este blog estará dedicado en compartir temas relacionados a mi experiencia personal en tecnologías Microsoft.

Los invito a todos ustedes lectores de Geek.Ms a mi espacio personal.
Saludos desde Perú,

Arturo Orellana Aquije
CodeName: «ArthasNet»