My last project has changed of name, I believe that CAML XML EDITOR will be called.
Join to workspaces.gotdotnet.com/CAMLEditor
At the moment he is a simple XML editor that allows simultaneously to publish the code by fragments (use the context menu in editor) that can are validated themselves. Also has a HTML preview to show the HTML code generated.
And a little CAML generator, you can select any CAML then you has the correct XML, if you select a reference in the XML you can expand it using the context menu.
Para la mayoría de los que trabajamos con SharePoint, el personalizar listas, sitios o áreas usando CAML, seré suave, es un INFIERNO, pero para bien o para mal vamos a tener que convivir con el.
No quiero entrar en detalles acerca de lo bueno o malo, de lo dificultoso o no que pueda llegar a ser, por que como ya he dicho antes hay que convivir con el. Así que he pensado en ser más tolerante y tratar de solucionar los problemas en la medida de lo posible.
I have a site with some document libraries to store documentation based in multiple templates, to save each template in the correct folder, I have created a custom list thats contains the name of the template, the template and the folder where documents created with this tempalte must be stored.
Name – text – Template name
Template – hyperlink – The link to the template file
Folder – text – Folder where the document must be stored (site based path)
Finally csegRollUp v3 is here, first I want to give to thanks to all beta testers and and special thanks to Florian Rossmark and Dor Rotman.
Lists – As in previous versions, List of comma delimited values that signify the sites and lists
Format: /site/subsite:ListName, /site/subsite/subsite:ListName
Fields – As in previous versions, List of comma delimited values with the field names
Format: Title,Text,Comment,User
Include List Data (new) – If enabled the result xml data contains special fields
Hace unos días necesitaba bloquear un campo en una lista de sharepoint, esto se puede hacer modificando las páginas newform.aspx y editform.aspx y añadiendo un pequeño script.
<scriptdefer>
// tomar el campo y bloquearlo
varfld_anotacion=frm.FieldPost(frm.FindField("Anotaci_x00f3_n"));
fld_anotacion.readOnly=true;
// poner el foco en el campo descripcion
frm.FindField("Descripci_x00f3_n").FieldFocus();
</script>
En este caso en concreto, el campo bloqueado se rellena desde un nuevo formulario (una copia de editform.aspx que he modificado para albergar una nueva zona de webparts y dentro de esta he añadido un data viewer webpart) este formulario se utiliza para rellenar el campo que con los formularios iniciales se encuentra bloqueado.
Al igual que otros usuarios de SharePoint, en su día me encontré con la limitación que tienen las búsquedas de SharePoint. Por ello desarrolle el csegSearchWebPart, añadiendo funcionalidad extra a las búsquedas del portal.
Como referencia tome Google, ya que es considerado “el mejor buscador del mundo”.
Estos días he pensando en ello, y he llegado algunas conclusiones interesantes.
Goggle tiene tres grandes rasgos que otros buscadores no tienen:
Cantidad de documentos indexados. (8.000 millones)
Flexibilidad en las búsquedas.
Motor de indexación / búsqueda distribuido.
Y un gran característica que lo diferencia de los demás buscadores
This last long weekend I’m playing with spqery to show recurrent events from one of my lists after spent too many hours and the only think I have got are frustrations.
The query.ViewAttributes, with RecurrenceRowset=’TRUE’ or with ModerationType=’Moderator’ modifiers are ignored totally.
My sample query for recurrence without results : (RecurrenceRowset=’TRUE’)
<Where><DateRangesOverlap><FieldRefName=”EventDate”/><FieldRefName=”EndDate”/><FieldRefName=”RecurrenceID”/><ValueType=”DateTime”><Now/></Value></DateRangesOverlap></Where>``
Today trying get the pending documents: (ModerationType=’Moderator’)
```xml
<Where><Eq><FieldRefName=”_ModerationStatus”/><ValueType=”Integer”>0</Value></Eq></Where>
After read the wsssdk, there is only a example with “ModerationType” is in “SPModerationInformation” class