<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1892336559760933624</id><updated>2024-09-26T19:24:58.783+02:00</updated><category term="SharePoint"/><category term="API"/><category term="Errores"/><category term="EventHandler"/><category term="Fields"/><category term="Raona"/><category term="Certificaciones"/><category term="Personal"/><category term="Breadcrumb"/><category term="Designer"/><category term="Forms"/><category term="Javascript"/><category term="Listas"/><category term="Master Page"/><category term="ReportingServices"/><category term="SP2"/><category term="SQLServer"/><category term="Webservices"/><category term="Windows Server 2003"/><title type='text'>SharePoint: Customization &amp; Search</title><subtitle type='html'>Experiencias acumuladas trabajando con MOSS y WSS, personalizándolos y mejorando sus funcionalidades.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sharepoint-customization-search.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default'/><link rel='alternate' type='text/html' href='http://sharepoint-customization-search.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>19</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1892336559760933624.post-6801311873457993355</id><published>2009-07-08T11:50:00.002+02:00</published><updated>2009-07-08T12:10:23.112+02:00</updated><title type='text'>Showing lists &amp; document libraries folders in SharePoint 2007 breadcrumb</title><content type='html'>&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);&lt;br /&gt;document.write(unescape(&quot;%3Cscript src=&#39;&quot; + gaJsHost + &quot;google-analytics.com/ga.js&#39; type=&#39;text/javascript&#39;%3E%3C/script%3E&quot;));&lt;br /&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var pageTracker = _gat._getTracker(&quot;UA-4717621-1&quot;);&lt;br /&gt;pageTracker._initData();&lt;br /&gt;pageTracker._trackPageview();&lt;br /&gt;&lt;/script&gt;&lt;span style=&quot;font-weight: bold;font-family:verdana;&quot; &gt;In some SharePoint 2007 default mastarpages&lt;/span&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;, e.g. BlueBand or BlackBand, you&#39;ll find that &lt;/span&gt;&lt;span style=&quot;font-weight: bold;font-family:verdana;&quot; &gt;breadcrumb is not showing folders and subfolders inside lists and document libraries&lt;/span&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;, just showing the current site.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;That &lt;/span&gt;&lt;span style=&quot;font-weight: bold;font-family:verdana;&quot; &gt;can be solved &lt;/span&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;with SharePoint Designer performing a simple modification in the master page. You only need to follow the next steps:&lt;/span&gt;&lt;br /&gt;&lt;ol style=&quot;font-family: verdana;&quot;&gt;&lt;li&gt;Open SharePoint Designer and connect to your SharePoint 2007 root site.&lt;/li&gt;&lt;li&gt;Navigate to _catalogs/masterpages.&lt;/li&gt;&lt;li&gt;Open the master page that you want to modify and perform the checkout .&lt;/li&gt;&lt;li&gt;In source view, look for &lt;span style=&quot;font-weight: bold;&quot;&gt;SiteMapPath element&lt;/span&gt; and notice that it&#39;ll have the property &lt;span style=&quot;font-weight: bold;&quot;&gt;SiteMapProvider=&quot;CurrentNavSiteMapProviderNoEncode&quot;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Modify that property and set it to &lt;span style=&quot;font-weight: bold;&quot;&gt;SiteMapProvider=&quot;SPContentMapProvider&quot;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Save the master page, perform the checkin and publish it.&lt;/li&gt;&lt;/ol&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;With that steps, when you navigate inside the folders and siubfolders of a SharePoint list or document library, breadcrumb will show them helping you to return to a previous folder.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;Hope it helps!&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;br/&gt;Visita el &lt;a href=&quot;http://sharepoint-customization-search.blogspot.com&quot;&gt;Blog de Customización y Búsqueda de SharePoint&lt;/a&gt;
&lt;br/&gt;Powered by &lt;a href=&quot;http://www.raona.com&quot;&gt;Raona Enginyers, S.L.&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-customization-search.blogspot.com/feeds/6801311873457993355/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1892336559760933624/6801311873457993355' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/6801311873457993355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/6801311873457993355'/><link rel='alternate' type='text/html' href='http://sharepoint-customization-search.blogspot.com/2009/07/showing-lists-document-libraries.html' title='Showing lists &amp; document libraries folders in SharePoint 2007 breadcrumb'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1892336559760933624.post-908558865197914216</id><published>2009-07-08T11:31:00.005+02:00</published><updated>2009-07-08T11:48:12.397+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Breadcrumb"/><category scheme="http://www.blogger.com/atom/ns#" term="Designer"/><category scheme="http://www.blogger.com/atom/ns#" term="Master Page"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>Mostrando las carpetas de listas y librerías de documentos en el breadcrumb de SharePoint 2007</title><content type='html'>&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);&lt;br /&gt;document.write(unescape(&quot;%3Cscript src=&#39;&quot; + gaJsHost + &quot;google-analytics.com/ga.js&#39; type=&#39;text/javascript&#39;%3E%3C/script%3E&quot;));&lt;br /&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var pageTracker = _gat._getTracker(&quot;UA-4717621-1&quot;);&lt;br /&gt;pageTracker._initData();&lt;br /&gt;pageTracker._trackPageview();&lt;br /&gt;&lt;/script&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;En algunas de las Master Pages&lt;/span&gt; que vienen por defecto con SharePoint 2007, por ejemplo en la BlueBand o en la BlackBand, nos encontramos con que el breadcrumb puede no funcionar correctamente en algunos casos como cuando nos encontramos dentro de las carpetas y subcarpetas de una lista o librería de documentos, ya que &lt;span style=&quot;font-weight: bold;&quot;&gt;el breadcrumb sólo nos indicará hasta el site en el que nos encontramos&lt;/span&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Esto &lt;span style=&quot;font-weight: bold;&quot;&gt;se puede solucionar&lt;/span&gt; con una ligera modificación en las Master Pages utilizando SharePoint Designer, &lt;span style=&quot;font-weight: bold;&quot;&gt;siguiendo los pasos siguientes&lt;/span&gt;:&lt;/span&gt;&lt;br /&gt;&lt;ol style=&quot;font-family: verdana;&quot;&gt;&lt;li&gt;Abrir SharePoint Designer y conectar al site raíz de nuestro SharePoint 2007.&lt;/li&gt;&lt;li&gt;Navegar hasta _catalogs/masterpages.&lt;/li&gt;&lt;li&gt;Abrir la master page que queremos corregir, confirmando que queremos hacer check out.&lt;/li&gt;&lt;li&gt;En la vista de código, buscar el &lt;span style=&quot;font-weight: bold;&quot;&gt;elemento SiteMapPath&lt;/span&gt;, que tendrá la propiedad &lt;span style=&quot;font-weight: bold;&quot;&gt;SiteMapProvider=&quot;CurrentNavSiteMapProviderNoEncode&quot;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Corregir esta propiedad para que quede como &lt;span style=&quot;font-weight: bold;&quot;&gt;SiteMapProvider=&quot;SPContentMapProvider&quot;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Guardar la master page, hacer check in y publicarla.&lt;/li&gt;&lt;/ol&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Con estos pasos, cuando nos encontremos dentro de las carpetas de una lista o librería de documentos nos aparecerán en el breadcrumb, con lo que nos será más fácil navegar dentro de éstas.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Espero que os pueda servir de ayuda.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;br/&gt;Visita el &lt;a href=&quot;http://sharepoint-customization-search.blogspot.com&quot;&gt;Blog de Customización y Búsqueda de SharePoint&lt;/a&gt;
&lt;br/&gt;Powered by &lt;a href=&quot;http://www.raona.com&quot;&gt;Raona Enginyers, S.L.&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-customization-search.blogspot.com/feeds/908558865197914216/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1892336559760933624/908558865197914216' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/908558865197914216'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/908558865197914216'/><link rel='alternate' type='text/html' href='http://sharepoint-customization-search.blogspot.com/2009/07/mostrando-las-carpetas-de-listas-y.html' title='Mostrando las carpetas de listas y librerías de documentos en el breadcrumb de SharePoint 2007'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1892336559760933624.post-4725437633845103967</id><published>2009-07-06T16:43:00.002+02:00</published><updated>2009-07-06T17:00:19.555+02:00</updated><title type='text'>SharePoint 2007 SP2 Update in a few weeks</title><content type='html'>&lt;span style=&quot;font-family: verdana;font-family:verdana;font-size:100%;&quot;  &gt;Microsoft SharePoint Team Blog has announced that &lt;a href=&quot;http://blogs.msdn.com/sharepoint/archive/2009/06/25/service-pack-2-update.aspx&quot;&gt;a new version of SharePoint 2007 Service Pack 2 will be released in 4 or 6 weeks&lt;/a&gt;. That new version won&#39;t cause activation of the trial period of your product.&lt;br /&gt;&lt;br /&gt;If you install the current version of SharePoint 2007 SP2, you&#39;ll find that &lt;a href=&quot;http://support.microsoft.com/kb/971620&quot;&gt;your Sharepoint will expire in 180 days&lt;/a&gt;. Reenterig the product license or &lt;span style=&quot;font-weight: bold;&quot;&gt;installing the hotfix specially developed for that issue&lt;/span&gt;, wich will be included in SP2 new version, wil solve the problem but it&#39;s an issue that you need to know if you can&#39;t wait to update your SharePoint Farm untill the release of SP2 update.&lt;br /&gt;&lt;br /&gt;Regards&lt;/span&gt;&lt;br /&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;span id=&quot;gtbmisp_37&quot;    style=&quot;border: 0pt none ; margin: 0pt; padding: 0pt; background: transparent none repeat scroll 0% 0%;  font-style: normal; font-variant: normal; font-weight: bold;  line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; position: static; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; text-align: left; text-indent: 0pt; text-transform: none;  text-decoration: underline; cursor: pointer;font-family:serif;font-size:100%;color:red;&quot;&gt; + &lt;/span&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;br /&gt;v&lt;span id=&quot;gtbmisp_38&quot;    style=&quot;border: 0pt none ; margin: 0pt; padding: 0pt; background: transparent none repeat scroll 0% 0%;  font-style: normal; font-variant: normal; font-weight: bold;  line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; position: static; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; text-align: left; text-indent: 0pt; text-transform: none;  text-decoration: underline; cursor: pointer;font-family:serif;font-size:100%;color:red;&quot;&gt;e-analyt&lt;/span&gt;racker = _gat._getTracker(&quot;UA-4717621-1&quot;);&lt;br /&gt;pageTracker._initData();&lt;br /&gt;pageTracker.&lt;span id=&quot;gtbmisp_39&quot;    style=&quot;border: 0pt none ; margin: 0pt; padding: 0pt; background: transparent none repeat scroll 0% 0%;  font-style: normal; font-variant: normal; font-weight: bold;  line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; position: static; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; text-align: left; text-indent: 0pt; text-transform: none;  text-decoration: underline; cursor: pointer;font-family:serif;font-size:100%;color:red;&quot;&gt;t._getTrack&lt;/span&gt;iew(&lt;span id=&quot;gtbmisp_40&quot;    style=&quot;border: 0pt none ; margin: 0pt; padding: 0pt; background: transparent none repeat scroll 0% 0%;  font-style: normal; font-variant: normal; font-weight: bold;  line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; position: static; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; text-align: left; text-indent: 0pt; text-transform: none;  text-decoration: underline; cursor: pointer;font-family:serif;font-size:100%;color:red;&quot;&gt;UA-&lt;/span&gt;br&lt;span id=&quot;gtbmisp_41&quot;    style=&quot;border: 0pt none ; margin: 0pt; padding: 0pt; background: transparent none repeat scroll 0% 0%;  font-style: normal; font-variant: normal; font-weight: bold;  line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; position: static; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; text-align: left; text-indent: 0pt; text-transform: none;  text-decoration: underline; cursor: pointer;font-family:serif;font-size:100%;color:red;&quot;&gt;17621-1&quot;);&lt;/span&gt;&lt;/script&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;br/&gt;Visita el &lt;a href=&quot;http://sharepoint-customization-search.blogspot.com&quot;&gt;Blog de Customización y Búsqueda de SharePoint&lt;/a&gt;
&lt;br/&gt;Powered by &lt;a href=&quot;http://www.raona.com&quot;&gt;Raona Enginyers, S.L.&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-customization-search.blogspot.com/feeds/4725437633845103967/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1892336559760933624/4725437633845103967' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/4725437633845103967'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/4725437633845103967'/><link rel='alternate' type='text/html' href='http://sharepoint-customization-search.blogspot.com/2009/07/sharepoint-2007-sp2-update-in-few-weeks.html' title='SharePoint 2007 SP2 Update in a few weeks'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1892336559760933624.post-1111297327860901337</id><published>2009-07-06T16:27:00.004+02:00</published><updated>2009-07-06T16:43:32.131+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><category scheme="http://www.blogger.com/atom/ns#" term="SP2"/><title type='text'>Actualización del SP2 de Sharepoint 2007 en unas semanas</title><content type='html'>&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;El Microsoft SharePoint Team Blog ha anunciado que &lt;/span&gt;&lt;a style=&quot;font-family: verdana;&quot; href=&quot;http://blogs.msdn.com/sharepoint/archive/2009/06/25/service-pack-2-update.aspx&quot;&gt;entre 4 y 6 semanas se publicará una nueva versión del Service Pack 2 de SharePoint 2007&lt;/a&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt; que ya no provocará  el problema de la activación del periodo de prueba del producto.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;En la versión actual del SP2 de SharePoint hay un error que hace que, en caso de instalarlo, &lt;/span&gt;&lt;a style=&quot;font-family: verdana;&quot; href=&quot;http://support.microsoft.com/kb/971620&quot;&gt;el SharePoint actualizado tenga una validez de 180 días&lt;/a&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;. Reintroducir el código de licencia del producto es suficiente para resolver el problema, aunque también &lt;span style=&quot;font-weight: bold;&quot;&gt;está disponible un hotfix para solucionarlo&lt;/span&gt;, que es el que vendrá incluído en la nueva versión del SP2, pero es algo a tener en caso de no poder esperar para instalar el SP2 en vuestras granjas de SharePoint.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;Saludos&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);&lt;br /&gt;document.write(unescape(&quot;%3Cscript src=&#39;&quot; + gaJsHost + &quot;google-analytics.com/ga.js&#39; type=&#39;text/javascript&#39;%3E%3C/script%3E&quot;));&lt;br /&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var pageTracker = _gat._getTracker(&quot;UA-4717621-1&quot;);&lt;br /&gt;pageTracker._initData();&lt;br /&gt;pageTracker._trackPageview();&lt;br /&gt;&lt;/script&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;br/&gt;Visita el &lt;a href=&quot;http://sharepoint-customization-search.blogspot.com&quot;&gt;Blog de Customización y Búsqueda de SharePoint&lt;/a&gt;
&lt;br/&gt;Powered by &lt;a href=&quot;http://www.raona.com&quot;&gt;Raona Enginyers, S.L.&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-customization-search.blogspot.com/feeds/1111297327860901337/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1892336559760933624/1111297327860901337' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/1111297327860901337'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/1111297327860901337'/><link rel='alternate' type='text/html' href='http://sharepoint-customization-search.blogspot.com/2009/07/actualizacion-del-sp2-de-sharepoint.html' title='Actualización del SP2 de Sharepoint 2007 en unas semanas'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1892336559760933624.post-6424359948163730051</id><published>2009-06-10T11:54:00.005+02:00</published><updated>2009-06-10T12:08:18.717+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="API"/><category scheme="http://www.blogger.com/atom/ns#" term="EventHandler"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>Disable SharePoint Event Firing from any source code</title><content type='html'>&lt;span style=&quot;;font-family:verdana;font-size:100%;&quot;  &gt;Sometimes we may be interested in disable events to perform some tests or processes but we&#39;re only able to execute  &lt;span style=&quot;font-weight: bold;&quot;&gt;DisableEventFiring()&lt;/span&gt; and &lt;span style=&quot;font-weight: bold;&quot;&gt;EnableEventFiring()&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt; functions from a SPItemEventReceiver.&lt;br /&gt;&lt;br /&gt;A possible solution is &lt;span style=&quot;font-weight: bold;&quot;&gt;disable and enable event firing from any source code&lt;/span&gt;. To do that, you can follow the next steps:&lt;br /&gt;&lt;/span&gt;&lt;ol style=&quot;font-family: verdana;&quot;&gt;&lt;li&gt;Add a new class in your namespace which inherits from SPItemEventReceiver.&lt;/li&gt;&lt;li&gt;Create 2 functions in that new class to call EnableEventFiring() and DisableEventFiring().&lt;/li&gt;&lt;/ol&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;Now, we can create an instance of that class in our main program class and will be able to use our functions to enable and disable events. The code should be like this:&lt;/span&gt;&lt;br /&gt;&lt;pre style=&quot;font-family: courier new; color: rgb(51, 204, 255);&quot;&gt;namespace MyNamespace&lt;br /&gt;{&lt;br /&gt;public class MyEventFiring : SPItemEventReceiver&lt;br /&gt;{&lt;br /&gt;  public MyEventFiring()&lt;br /&gt;  {&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  public void MyDisableEventFiring()&lt;br /&gt;  {&lt;br /&gt;    this.DisableEventFiring();&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  public void MyEnableEventFiring()&lt;br /&gt;  {&lt;br /&gt;    this.EnableEventFiring();&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public class MyClass&lt;br /&gt;{&lt;br /&gt;  //...&lt;br /&gt;  MyEventFiring mef = new MyEventFiring();&lt;br /&gt;  mef.MyDisableEventFiring();&lt;br /&gt;  item.Update();     //This Update can be executed withou event firings&lt;br /&gt;  mef.MyEnableEventFiring();&lt;br /&gt;  //...&lt;br /&gt;}&lt;br /&gt;}&lt;/pre&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);&lt;br /&gt;document.write(unescape(&quot;%3Cscript src=&#39;&quot; + gaJsHost + &quot;google-analytics.com/ga.js&#39; type=&#39;text/javascript&#39;%3E%3C/script%3E&quot;));&lt;br /&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var pageTracker = _gat._getTracker(&quot;UA-4717621-1&quot;);&lt;br /&gt;pageTracker._initData();&lt;br /&gt;pageTracker._trackPageview();&lt;br /&gt;&lt;/script&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;br/&gt;Visita el &lt;a href=&quot;http://sharepoint-customization-search.blogspot.com&quot;&gt;Blog de Customización y Búsqueda de SharePoint&lt;/a&gt;
&lt;br/&gt;Powered by &lt;a href=&quot;http://www.raona.com&quot;&gt;Raona Enginyers, S.L.&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-customization-search.blogspot.com/feeds/6424359948163730051/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1892336559760933624/6424359948163730051' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/6424359948163730051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/6424359948163730051'/><link rel='alternate' type='text/html' href='http://sharepoint-customization-search.blogspot.com/2009/06/disable-sharepoint-event-firing-from.html' title='Disable SharePoint Event Firing from any source code'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1892336559760933624.post-5599324467372982495</id><published>2009-06-10T11:30:00.006+02:00</published><updated>2009-06-10T11:53:38.567+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="API"/><category scheme="http://www.blogger.com/atom/ns#" term="EventHandler"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>Evitando la ejecución de eventos en SharePoint desde cualquier código</title><content type='html'>&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);&lt;br /&gt;document.write(unescape(&quot;%3Cscript src=&#39;&quot; + gaJsHost + &quot;google-analytics.com/ga.js&#39; type=&#39;text/javascript&#39;%3E%3C/script%3E&quot;));&lt;br /&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var pageTracker = _gat._getTracker(&quot;UA-4717621-1&quot;);&lt;br /&gt;pageTracker._initData();&lt;br /&gt;pageTracker._trackPageview();&lt;br /&gt;&lt;/script&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;La ejecución de eventos nos puede dar problemas en determinados escenarios o para hacer pruebas concretas, por ejemplo sobre una lista determinada. Aunque existen las funciones &lt;span style=&quot;font-weight: bold;&quot;&gt;DisableEventFiring()&lt;/span&gt; y &lt;span style=&quot;font-weight: bold;&quot;&gt;EnableEventFiring()&lt;/span&gt;, éstas sólo se pueden invocar desde un SPItemEventReceiver, lo que hace que tengamos que ir a la lista, desactivar los eventos, realizar las pruebas y volver a asociarle los eventos, con los riesgos que ello conlleva ya que podemos dejar la lista en un estado diferente al inicial.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;Una solución es &lt;span style=&quot;font-weight: bold;&quot;&gt;hacer que se puedan desactivar y activar los eventos desde cualquier código&lt;/span&gt;, para ello tenemos que hacer lo siguiente:&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;ol  style=&quot;font-family:verdana;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;Añadir una clase en nuestro namespace que herede de SPItemEventReceiver.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;Crear 2 funciones, una que llame a DisableEventFiring() y otra que llame a EnableEventFiring().&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;Con esto ya podemos crear una instancia de esta clase en la clase principal de nuestro programa y utilizar nuestras funciones, de forma que nos quedaría algo parecido a esto:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style=&quot;font-family: courier new; color: rgb(51, 204, 255);&quot;&gt;namespace MyNamespace&lt;br /&gt;{&lt;br /&gt;public class MyEventFiring : SPItemEventReceiver&lt;br /&gt;{&lt;br /&gt;    public MyEventFiring()&lt;br /&gt;    {&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    public void MyDisableEventFiring()&lt;br /&gt;    {&lt;br /&gt;        this.DisableEventFiring();&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    public void MyEnableEventFiring()&lt;br /&gt;    {&lt;br /&gt;        this.EnableEventFiring();&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public class MyClass&lt;br /&gt;{&lt;br /&gt;        //...&lt;br /&gt;        MyEventFiring mef = new MyEventFiring();&lt;br /&gt;        mef.MyDisableEventFiring();&lt;br /&gt;        item.Update();     //Este Update se podrá hacer sin que ningún evento interfiera&lt;br /&gt;        mef.MyEnableEventFiring();&lt;br /&gt;        //...&lt;br /&gt;}&lt;br /&gt;}&lt;/pre&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;br/&gt;Visita el &lt;a href=&quot;http://sharepoint-customization-search.blogspot.com&quot;&gt;Blog de Customización y Búsqueda de SharePoint&lt;/a&gt;
&lt;br/&gt;Powered by &lt;a href=&quot;http://www.raona.com&quot;&gt;Raona Enginyers, S.L.&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-customization-search.blogspot.com/feeds/5599324467372982495/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1892336559760933624/5599324467372982495' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/5599324467372982495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/5599324467372982495'/><link rel='alternate' type='text/html' href='http://sharepoint-customization-search.blogspot.com/2009/06/evitando-la-ejecucion-de-eventos-en.html' title='Evitando la ejecución de eventos en SharePoint desde cualquier código'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1892336559760933624.post-1574245485021656836</id><published>2008-11-30T20:48:00.004+01:00</published><updated>2008-11-30T20:59:58.073+01:00</updated><title type='text'>Adjuntos en custom list forms de SharePoint Designer</title><content type='html'>&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);&lt;br /&gt;document.write(unescape(&quot;%3Cscript src=&#39;&quot; + gaJsHost + &quot;google-analytics.com/ga.js&#39; type=&#39;text/javascript&#39;%3E%3C/script%3E&quot;));&lt;br /&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var pageTracker = _gat._getTracker(&quot;UA-4717621-1&quot;);&lt;br /&gt;pageTracker._initData();&lt;br /&gt;pageTracker._trackPageview();&lt;br /&gt;&lt;/script&gt;&lt;span style=&quot;font-family: verdana;font-size:100%;&quot; &gt;Cuando hagamos un custom list form desde SharePoint Designer nos podemos encontrar con que los adjuntos de estos formularios dejan de funcionar.&lt;br /&gt;Esto tiene solución siguiendo el artículo &lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:11;&quot;  &gt;&lt;span style=&quot;font-family: verdana;font-size:100%;&quot; &gt;&lt;a href=&quot;http://support.microsoft.com/kb/953271&quot;&gt;http://support.microsoft.com/kb/953271&lt;/a&gt; de la Knowledge Base de Microsoft.&lt;br /&gt;&lt;br /&gt;Según el artículo, hay que tener actualizado el SharePoint con la Infrastructure Update. Esto es muy importante ya que sin esta actualización, aunque hagamos las sustituciones de código que propone el artículo, los adjuntos seguirán sin funcionar.&lt;br /&gt;&lt;br /&gt;He testeado esta solución en diferentes entornos y ha funcionado perfectamente así que, si tenéis problemas con los adjuntos en vuestros formularios hechos en SharePoint Designer, no dudéis en seguir los pasos que en se indican.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;br/&gt;Visita el &lt;a href=&quot;http://sharepoint-customization-search.blogspot.com&quot;&gt;Blog de Customización y Búsqueda de SharePoint&lt;/a&gt;
&lt;br/&gt;Powered by &lt;a href=&quot;http://www.raona.com&quot;&gt;Raona Enginyers, S.L.&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-customization-search.blogspot.com/feeds/1574245485021656836/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1892336559760933624/1574245485021656836' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/1574245485021656836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/1574245485021656836'/><link rel='alternate' type='text/html' href='http://sharepoint-customization-search.blogspot.com/2008/11/adjuntos-en-custom-list-forms-de.html' title='Adjuntos en custom list forms de SharePoint Designer'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1892336559760933624.post-2400390234520975102</id><published>2008-10-31T17:42:00.005+01:00</published><updated>2008-10-31T18:03:24.380+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Errores"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Server 2003"/><title type='text'>MOSS 2007 y el modificador 3GB del boot.ini</title><content type='html'>&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;Hola, &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;  En uno de los proyectos en los que he estado trabajando se activó en el servidor de SharePoint el modificador /PAE del boot.ini, acompañado del modificador /3GB para aprovechar toda la memoria de que disponía el servidor.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;  A priori todo parecía funcionar correctamente hasta que al cabo de un tiempo empezamos a notar un extraño comportamiento: los archivos adjuntos de listas y document libraries no siempre se abrían correctamente, provocando un error 404 (Page Not Found).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;  Después de investigar un poco más el rendimiento del servidor con mis compañeros, descubrimos que se quedaba sin entradas libres en la tabla de páginas y, en ese momento, se empezaba a dar esa situación.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;  La solución a este problema la encontramos en &lt;a href=&quot;http://support.microsoft.com/kb/823440&quot;&gt;http://support.microsoft.com/kb/823440&lt;/a&gt;&lt;/span&gt; dónde se explica que, en caso de activar el modificador /3GB, hay unos ciertos valores recomendados en el modificador /USERVA. Seguimos estas indicaciones, reiniciamos el servidor y se solucionó.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt; Si algún día tenéis la necesidad de modificar el boot.ini, en &lt;a href=&quot;http://support.microsoft.com/kb/317526&quot;&gt;http://support.microsoft.com/kb/317526&lt;/a&gt; tenéis los pasos a seguir.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;Espero que os sea de utilidad!&lt;/span&gt; &lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);&lt;br /&gt;document.write(unescape(&quot;%3Cscript src=&#39;&quot; + gaJsHost + &quot;google-analytics.com/ga.js&#39; type=&#39;text/javascript&#39;%3E%3C/script%3E&quot;));&lt;br /&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var pageTracker = _gat._getTracker(&quot;UA-4717621-1&quot;);&lt;br /&gt;pageTracker._initData();&lt;br /&gt;pageTracker._trackPageview();&lt;br /&gt;&lt;/script&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;br/&gt;Visita el &lt;a href=&quot;http://sharepoint-customization-search.blogspot.com&quot;&gt;Blog de Customización y Búsqueda de SharePoint&lt;/a&gt;
&lt;br/&gt;Powered by &lt;a href=&quot;http://www.raona.com&quot;&gt;Raona Enginyers, S.L.&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-customization-search.blogspot.com/feeds/2400390234520975102/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1892336559760933624/2400390234520975102' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/2400390234520975102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/2400390234520975102'/><link rel='alternate' type='text/html' href='http://sharepoint-customization-search.blogspot.com/2008/10/moss-2007-y-el-modificador-3gb-del.html' title='MOSS 2007 y el modificador 3GB del boot.ini'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1892336559760933624.post-6551811755829024507</id><published>2008-08-31T16:15:00.005+02:00</published><updated>2008-09-17T12:26:04.218+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Errores"/><category scheme="http://www.blogger.com/atom/ns#" term="Listas"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>Error HRESULT 0x80040E14 al aprobar items de listas de SharePoint 2007</title><content type='html'>&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);&lt;br /&gt;document.write(unescape(&quot;%3Cscript src=&#39;&quot; + gaJsHost + &quot;google-analytics.com/ga.js&#39; type=&#39;text/javascript&#39;%3E%3C/script%3E&quot;));&lt;br /&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var pageTracker = _gat._getTracker(&quot;UA-4717621-1&quot;);&lt;br /&gt;pageTracker._initData();&lt;br /&gt;pageTracker._trackPageview();&lt;br /&gt;&lt;/script&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Al aprobar ítems de listas de SharePoint puedes encontrarte con el error HRESULT 0x80040E14. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;A falta de una investigación más exhaustiva, los primero que se debe verificar y que suele ser la causa del error es la activación del versionado en la lista.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Para ello, simplemente hay que acceder a la configuración de la lista y, en &quot;configuración de versiones&quot;, poner la opción &quot;¿Desea crear una versión cada vez que edite un elemento de esta lista?&quot; en no.&lt;br /&gt;&lt;br /&gt;De todas formas hay que seguir investigando soluciones (se admiten comentarios) ya que si volvemos a activar la creación de versiones en la lista volveremos a tener el mismo problema.&lt;br /&gt;&lt;br /&gt;Espero que os sirva de ayuda.&lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;br/&gt;Visita el &lt;a href=&quot;http://sharepoint-customization-search.blogspot.com&quot;&gt;Blog de Customización y Búsqueda de SharePoint&lt;/a&gt;
&lt;br/&gt;Powered by &lt;a href=&quot;http://www.raona.com&quot;&gt;Raona Enginyers, S.L.&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-customization-search.blogspot.com/feeds/6551811755829024507/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1892336559760933624/6551811755829024507' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/6551811755829024507'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/6551811755829024507'/><link rel='alternate' type='text/html' href='http://sharepoint-customization-search.blogspot.com/2008/08/error-hresult-0x80040e14-al-aprobar.html' title='Error HRESULT 0x80040E14 al aprobar items de listas de SharePoint 2007'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1892336559760933624.post-7739295418026529147</id><published>2008-07-15T21:13:00.005+02:00</published><updated>2008-07-15T21:57:28.318+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Fields"/><category scheme="http://www.blogger.com/atom/ns#" term="Forms"/><category scheme="http://www.blogger.com/atom/ns#" term="Javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>Función Javascript para acceder a los campos de un formulario SharePoint</title><content type='html'>&lt;span style=&quot;font-family:verdana;&quot;&gt;A veces es necesario editar los formularios, master pages, page layouts, etc. de SharePoint y para realizar alguna operación en ellos. Si este es el caso y lo que se necesita es &lt;span style=&quot;font-weight: bold;&quot;&gt;acceder a algún campo de un formulario de SharePoint mediante javascript&lt;/span&gt;, basta con utilizar esta función:&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;function getTagFromIdentifierAndTitle(tagName, identifier, title) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;  var len = identifier.length;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;  var tags = document.getElementsByTagName(tagName);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;  for (var i=0; i &lt;&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;    var tempString = tags[i].id;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;    if (tags[i].title == title &amp;amp;&amp;amp; (identifier == &quot;&quot; || tempString.indexOf(identifier) == tempString.length - len)) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;      return tags[i];&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;    }&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;  }&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;  return null;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;}&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;Llamando a esta función, &lt;span style=&quot;font-weight: bold;&quot;&gt;indicando el tipo de tag que queremos recoger, su id y su título&lt;/span&gt; obtendremos el objeto y podremos realizar las operaciones necesarias sobre él, mediante Javascript.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;Por ejemplo, supongamos que tenemos una &lt;span style=&quot;font-weight: bold;&quot;&gt;textarea&lt;/span&gt; en un formulario, la cual &lt;span style=&quot;font-weight: bold;&quot;&gt;queremos ocultar mediante javascript&lt;/span&gt;:&lt;/span&gt;&lt;br /&gt;&lt;code&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;&amp;lt;textarea title=&quot;dataInicial&quot; id=&quot;dataIni&quot; name=&quot;TextArea1&quot; cols=&quot;20&quot; rows=&quot;2&quot;&amp;gt;&amp;lt;/textarea&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;para &lt;span style=&quot;font-weight: bold;&quot;&gt;obtener el objeto textarea&lt;/span&gt; tendremos que llamar a getTagFromIdentifierAndTitle de la siguiente manera:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;var textAreaDataIni = getTagFromIdentifierAndTitle(&quot;textarea&quot;, &quot;dataIni&quot;, &quot;dataInicial&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;y &lt;span style=&quot;font-weight: bold;&quot;&gt;para hacer que no se muestre&lt;/span&gt;:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;textAreaDataIni.style.display = &quot;none&quot;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Más información &lt;a href=&quot;http://blogs.msdn.com/sharepointdesigner/archive/2007/06/13/using-javascript-to-manipulate-a-list-form-field.aspx&quot;&gt;aquí&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;Espero que os sirva de ayuda!&lt;/span&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);&lt;br /&gt;document.write(unescape(&quot;%3Cscript src=&#39;&quot; + gaJsHost + &quot;google-analytics.com/ga.js&#39; type=&#39;text/javascript&#39;%3E%3C/script%3E&quot;));&lt;br /&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var pageTracker = _gat._getTracker(&quot;UA-4717621-1&quot;);&lt;br /&gt;pageTracker._initData();&lt;br /&gt;pageTracker._trackPageview();&lt;br /&gt;&lt;/script&gt;&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;br/&gt;Visita el &lt;a href=&quot;http://sharepoint-customization-search.blogspot.com&quot;&gt;Blog de Customización y Búsqueda de SharePoint&lt;/a&gt;
&lt;br/&gt;Powered by &lt;a href=&quot;http://www.raona.com&quot;&gt;Raona Enginyers, S.L.&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-customization-search.blogspot.com/feeds/7739295418026529147/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1892336559760933624/7739295418026529147' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/7739295418026529147'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/7739295418026529147'/><link rel='alternate' type='text/html' href='http://sharepoint-customization-search.blogspot.com/2008/07/funcin-javascript-para-acceder-los.html' title='Función Javascript para acceder a los campos de un formulario SharePoint'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1892336559760933624.post-6635840541173842276</id><published>2008-06-26T17:36:00.005+02:00</published><updated>2008-06-26T17:51:06.688+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="API"/><category scheme="http://www.blogger.com/atom/ns#" term="Errores"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>Cómo adjuntar zips a SharePoint vía API y que se puedan abrir</title><content type='html'>Hace unos días comentaba los &lt;a href=&quot;http://sharepoint-customization-search.blogspot.com/2008/06/error-abriendo-zips-almacenados-en.html&quot;&gt;problemas de apertura y acceso al contenido de los zips adjuntados en ítems de lista de SharePoint&lt;/a&gt;.&lt;br /&gt;Pues bien, aquí está&lt;span style=&quot;font-weight: bold;&quot;&gt; la solución encontrada&lt;/span&gt; que hace que se puedan &lt;span style=&quot;font-weight: bold;&quot;&gt;abrir correctamente y acceder a su contenido&lt;/span&gt; tanto con WinZip como con WinRar:&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;string ficheroDatos = &quot;C:\file.zip&quot;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;FileInfo fInfo = new FileInfo(ficheroDatos);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;FileStream fStream = fInfo.OpenRead();&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;byte[] contents = new byte[fStream.Length];&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;fStream.Position = 0;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;fStream.Read(contents, 0, (int)fStream.Length);&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 204, 255);&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt; //leemos todo su contenido en un array de bytes content&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;fStream.Close();&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;li.Attachments.Add(ficheroDatos, contents);&lt;/span&gt; &lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;//en la variable li tenemos el list item al que adjuntar el zip&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;li.Update();&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;De este modo no habrá problemas al abrir los zips adjuntos a los SPListItems de SharePoint.&lt;br /&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);&lt;br /&gt;document.write(unescape(&quot;%3Cscript src=&#39;&quot; + gaJsHost + &quot;google-analytics.com/ga.js&#39; type=&#39;text/javascript&#39;%3E%3C/script%3E&quot;));&lt;br /&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var pageTracker = _gat._getTracker(&quot;UA-4717621-1&quot;);&lt;br /&gt;pageTracker._initData();&lt;br /&gt;pageTracker._trackPageview();&lt;br /&gt;&lt;/script&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;br/&gt;Visita el &lt;a href=&quot;http://sharepoint-customization-search.blogspot.com&quot;&gt;Blog de Customización y Búsqueda de SharePoint&lt;/a&gt;
&lt;br/&gt;Powered by &lt;a href=&quot;http://www.raona.com&quot;&gt;Raona Enginyers, S.L.&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-customization-search.blogspot.com/feeds/6635840541173842276/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1892336559760933624/6635840541173842276' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/6635840541173842276'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/6635840541173842276'/><link rel='alternate' type='text/html' href='http://sharepoint-customization-search.blogspot.com/2008/06/cmo-adjuntar-zips-sharepoint-va-api-y.html' title='Cómo adjuntar zips a SharePoint vía API y que se puedan abrir'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1892336559760933624.post-7397300146672012280</id><published>2008-06-23T13:52:00.004+02:00</published><updated>2008-06-23T15:28:31.580+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Errores"/><category scheme="http://www.blogger.com/atom/ns#" term="ReportingServices"/><category scheme="http://www.blogger.com/atom/ns#" term="SQLServer"/><title type='text'>Error accediendo a Reporting Services en SQL Server 2005</title><content type='html'>&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);&lt;br /&gt;document.write(unescape(&quot;%3Cscript src=&#39;&quot; + gaJsHost + &quot;google-analytics.com/ga.js&#39; type=&#39;text/javascript&#39;%3E%3C/script%3E&quot;));&lt;br /&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var pageTracker = _gat._getTracker(&quot;UA-4717621-1&quot;);&lt;br /&gt;pageTracker._initData();&lt;br /&gt;pageTracker._trackPageview();&lt;br /&gt;&lt;/script&gt;Si alguna vez os encontráis con el &lt;span style=&quot;font-weight: bold;&quot;&gt;error &quot;&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot; class=&quot;searchword&quot;&gt;The&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt; file you are attempting to save or retrieve has been blocked &lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot; class=&quot;searchword&quot;&gt;from&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot; class=&quot;searchword&quot;&gt;this&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot; class=&quot;searchword&quot;&gt;Web&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot; class=&quot;searchword&quot;&gt;site&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot; class=&quot;searchword&quot;&gt;by&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot; class=&quot;searchword&quot;&gt;the&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot; class=&quot;searchword&quot;&gt;server&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt; administrators&quot;&lt;/span&gt; (en castellano &lt;span style=&quot;font-weight: bold;&quot;&gt;&quot;Los administradores de este servidor han bloqueado en este sitio Web el archivo que intenta guardar o recuperar&quot;&lt;/span&gt;) intentando acceder a Reporting Services desde SQL Management Studio puede deberse a un problema de configuración.&lt;br /&gt;&lt;br /&gt;Antes de nada, intentad solucionarlo desde la &lt;span style=&quot;font-weight: bold;&quot;&gt;herramienta de configuración de Reporting Services&lt;/span&gt;, verificando que tenéis acceso al servidor y que la cuenta de acceso tiene acceso a Reporting.&lt;br /&gt;&lt;br /&gt;Aún así, es posible que os encontréis con que os sigue dando el error. En este caso, la causa puede ser una mala configuración del &lt;span style=&quot;font-weight: bold;&quot;&gt;tag UrlRoot en el archivo rsreportserver.config&lt;/span&gt;.&lt;br /&gt;Para solucionarlo, basta con abrir el archivo rsreportserver.config (que podéis encontrar en el &lt;span style=&quot;font-weight: bold;&quot;&gt;path C:\Program Files\Microsoft SQL &lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot; class=&quot;searchword&quot;&gt;Server&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;\MSSQL.3\&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot; class=&quot;searchword&quot;&gt;Reporting&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot; class=&quot;searchword&quot;&gt;Services&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;\Report&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot; class=&quot;searchword&quot;&gt;Server&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;\rsreport&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot; class=&quot;searchword&quot;&gt;server&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;.config&lt;/span&gt;) y corregir el valor del tag UrlRoot por el mismo, por ejemplo, que utilizáis para implementar los reports desde Visual Studio y que está visible desde las propiedades del proyecto.&lt;br /&gt;&lt;br /&gt;En mi caso, tuve que editar la URL de URLRoot para que apuntase al puerto de Reporting, con esto se ha corregido el problema.&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;br/&gt;Visita el &lt;a href=&quot;http://sharepoint-customization-search.blogspot.com&quot;&gt;Blog de Customización y Búsqueda de SharePoint&lt;/a&gt;
&lt;br/&gt;Powered by &lt;a href=&quot;http://www.raona.com&quot;&gt;Raona Enginyers, S.L.&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-customization-search.blogspot.com/feeds/7397300146672012280/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1892336559760933624/7397300146672012280' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/7397300146672012280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/7397300146672012280'/><link rel='alternate' type='text/html' href='http://sharepoint-customization-search.blogspot.com/2008/06/error-accediendo-reporting-services-en.html' title='Error accediendo a Reporting Services en SQL Server 2005'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1892336559760933624.post-7660439584274536113</id><published>2008-06-19T20:54:00.008+02:00</published><updated>2008-06-26T17:49:50.826+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="API"/><category scheme="http://www.blogger.com/atom/ns#" term="Errores"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><category scheme="http://www.blogger.com/atom/ns#" term="Webservices"/><title type='text'>Error abriendo zips almacenados en SharePoint</title><content type='html'>En esta ocasión quiero comentaros un &lt;span style=&quot;font-weight: bold;&quot;&gt;problema&lt;/span&gt; que me he encontrado &lt;span style=&quot;font-weight: bold;&quot;&gt;con los zips almacenados en listas y librerías de documentos de SharePoint&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Si se sube un fichero zip &lt;span style=&quot;font-weight: bold;&quot;&gt;a través de la interfaz de adjuntar/cargar documentos de SharePoint&lt;/span&gt;, éstos &lt;span style=&quot;font-weight: bold;&quot;&gt;se pueden abrir y descomprimir&lt;/span&gt; sin problema.&lt;br /&gt;En cambio, si se hace la carga de documentos en SharePoint &lt;span style=&quot;font-weight: bold;&quot;&gt;mediante la API o los Webservices&lt;/span&gt; (procedimiento normal para migraciones o cargas masivas) &lt;span style=&quot;font-weight: bold;&quot;&gt;los ficheros quedan corrompidos&lt;/span&gt; y, dependiendo el programa que se use para abrirlos, obtendremos un resultado u otro:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;WinZip no permitirá abrirlos&lt;/span&gt;, mostrando un error.&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;WinRar permitirá abrirlos, pero no descomprimirlos o acceder a su contenido&lt;/span&gt; y, si ejecutamos la verificación del fichero que ofrece WinRar, dirá que no es correcto.&lt;/li&gt;&lt;/ul&gt;Actualmente estamos estudiando este caso y os notificaremos los avances.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;ACTUALIZACIÓN: &lt;/span&gt;Encontrada la &lt;a href=&quot;http://sharepoint-customization-search.blogspot.com/2008/06/cmo-adjuntar-zips-sharepoint-va-api-y.html&quot;&gt;solución&lt;/a&gt; al problema es cuestión, &lt;span style=&quot;font-weight: bold;&quot;&gt;código fuente incluído&lt;/span&gt;.&lt;br /&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);&lt;br /&gt;document.write(unescape(&quot;%3Cscript src=&#39;&quot; + gaJsHost + &quot;google-analytics.com/ga.js&#39; type=&#39;text/javascript&#39;%3E%3C/script%3E&quot;));&lt;br /&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var pageTracker = _gat._getTracker(&quot;UA-4717621-1&quot;);&lt;br /&gt;pageTracker._initData();&lt;br /&gt;pageTracker._trackPageview();&lt;br /&gt;&lt;/script&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;br/&gt;Visita el &lt;a href=&quot;http://sharepoint-customization-search.blogspot.com&quot;&gt;Blog de Customización y Búsqueda de SharePoint&lt;/a&gt;
&lt;br/&gt;Powered by &lt;a href=&quot;http://www.raona.com&quot;&gt;Raona Enginyers, S.L.&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-customization-search.blogspot.com/feeds/7660439584274536113/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1892336559760933624/7660439584274536113' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/7660439584274536113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/7660439584274536113'/><link rel='alternate' type='text/html' href='http://sharepoint-customization-search.blogspot.com/2008/06/error-abriendo-zips-almacenados-en.html' title='Error abriendo zips almacenados en SharePoint'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1892336559760933624.post-3272665125735550573</id><published>2008-06-16T10:25:00.006+02:00</published><updated>2008-06-16T16:36:37.132+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="EventHandler"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>Error usando BeforeProperties en un EventHandler ItemUpdating</title><content type='html'>&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);&lt;br /&gt;document.write(unescape(&quot;%3Cscript src=&#39;&quot; + gaJsHost + &quot;google-analytics.com/ga.js&#39; type=&#39;text/javascript&#39;%3E%3C/script%3E&quot;));&lt;br /&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var pageTracker = _gat._getTracker(&quot;UA-4717621-1&quot;);&lt;br /&gt;pageTracker._initData();&lt;br /&gt;pageTracker._trackPageview();&lt;br /&gt;&lt;/script&gt;Si estáis haciendo un &lt;span style=&quot;font-weight: bold;&quot;&gt;event handler de tipo itemUpdating&lt;/span&gt; (es decir, que se ejecuta durante la actualización de los elementos de una lista) os encontraréis con que &lt;span style=&quot;font-weight: bold;&quot;&gt;podéis usar la propiedad AfterProperties&lt;/span&gt; para obtener los nuevos valores del ítem, &lt;span style=&quot;font-weight: bold;&quot;&gt;pero no BeforeProperties&lt;/span&gt; para obtener los nuevos valores.&lt;br /&gt;&lt;br /&gt;La solución es &lt;span style=&quot;font-weight: bold;&quot;&gt;acceder directamente al ListItem&lt;/span&gt; para obtener los valores que tenía el ítem antes de la actualización.&lt;br /&gt;&lt;br /&gt;Por ejemplo, esto se podría necesitar si se quiere poner valor3 en el campo2, cuando el valor de campo1 pase de valor1 a valor2 (yo he necesitado algo similar en un cliente).&lt;br /&gt;En este caso habría que hacer algo parecido a esto:&lt;br /&gt;&lt;pre&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;public override void ItemUpdating(SPItemEventProperties properties)&lt;br /&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;   if (properties.AfterProperties[&quot;campo1&quot;]==&quot;valor1&quot; &amp;amp;&amp;amp; properties.ListItem[&quot;campo1&quot;]==&quot;valor2&quot;)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;   {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;      //Hacer las operaciones correspondientes&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;      properties.AfterProperties[&quot;campo2&quot;] = &quot;valor3&quot;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;   }&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;&quot; &gt;}&lt;/span&gt;&lt;/pre&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;br/&gt;Visita el &lt;a href=&quot;http://sharepoint-customization-search.blogspot.com&quot;&gt;Blog de Customización y Búsqueda de SharePoint&lt;/a&gt;
&lt;br/&gt;Powered by &lt;a href=&quot;http://www.raona.com&quot;&gt;Raona Enginyers, S.L.&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-customization-search.blogspot.com/feeds/3272665125735550573/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1892336559760933624/3272665125735550573' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/3272665125735550573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/3272665125735550573'/><link rel='alternate' type='text/html' href='http://sharepoint-customization-search.blogspot.com/2008/06/error-usando-beforeproperties-en-un.html' title='Error usando BeforeProperties en un EventHandler ItemUpdating'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1892336559760933624.post-7516885106538611629</id><published>2008-05-31T22:43:00.021+02:00</published><updated>2008-06-17T12:45:30.575+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="API"/><category scheme="http://www.blogger.com/atom/ns#" term="Fields"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>Campos que no aparecen en custom layouts de SharePoint Designer</title><content type='html'>&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);&lt;br /&gt;document.write(unescape(&quot;%3Cscript src=&#39;&quot; + gaJsHost + &quot;google-analytics.com/ga.js&#39; type=&#39;text/javascript&#39;%3E%3C/script%3E&quot;));&lt;br /&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var pageTracker = _gat._getTracker(&quot;UA-4717621-1&quot;);&lt;br /&gt;pageTracker._initData();&lt;br /&gt;pageTracker._trackPageview();&lt;br /&gt;&lt;/script&gt;Estos días un compañero  de &lt;a href=&quot;http://www.raona.com/&quot;&gt;Raona&lt;/a&gt; se encontró con un problema, estaba haciendo un &lt;span style=&quot;font-weight: bold;&quot;&gt;custom layout con SharePoint Designer&lt;/span&gt; pero algunos de los campos no se dibujaban, sin seguir ninguna lógica aparente.&lt;br /&gt;&lt;br /&gt;Después de darle un par de vueltas, nos dimos cuenta de que &lt;span style=&quot;font-weight: bold;&quot;&gt;el problema está en los nombres que utiliza SharePoint Designer&lt;/span&gt;, ya que se limita a codificar el nombre del campo por completo (que debe corresponder con el InternalName del campo) pero &lt;span style=&quot;font-weight: bold;&quot;&gt;el Internal Name tiene una longitud limitada a 32 caracteres&lt;/span&gt; que se puede ver desbordada por la sustitución de los espacios y caracteres extraños por la codificación del tipo _x0020_&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Conclusión:&lt;/span&gt; con una pequeña aplicación de consola que te extraiga el InternalName del campo podrás solucionar esta situación, corrigiéndolo luego en SharePoint Designer:&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 255);&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;SPSite site = new SPSite(&quot;http://miservidor&quot;);&lt;br /&gt;SPWeb web   = site.OpenWeb();&lt;br /&gt;SPList list = web.Lists[&quot;nombreLista&quot;];&lt;br /&gt;SPField fld = list.Fields[&quot;campo&quot;];&lt;br /&gt;System.Console.WriteLine(InternalName: + &quot;fld.InternalName&quot;);&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;br/&gt;Visita el &lt;a href=&quot;http://sharepoint-customization-search.blogspot.com&quot;&gt;Blog de Customización y Búsqueda de SharePoint&lt;/a&gt;
&lt;br/&gt;Powered by &lt;a href=&quot;http://www.raona.com&quot;&gt;Raona Enginyers, S.L.&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-customization-search.blogspot.com/feeds/7516885106538611629/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1892336559760933624/7516885106538611629' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/7516885106538611629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/7516885106538611629'/><link rel='alternate' type='text/html' href='http://sharepoint-customization-search.blogspot.com/2008/05/campos-que-no-aparecen-en-custom.html' title='Campos que no aparecen en custom layouts de SharePoint Designer'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1892336559760933624.post-7384620834271220273</id><published>2008-05-31T22:43:00.018+02:00</published><updated>2008-06-16T10:23:11.905+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Raona"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>Raona presenta el SharePoint Day en Barcelona</title><content type='html'>&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);&lt;br /&gt;document.write(unescape(&quot;%3Cscript src=&#39;&quot; + gaJsHost + &quot;google-analytics.com/ga.js&#39; type=&#39;text/javascript&#39;%3E%3C/script%3E&quot;));&lt;br /&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var pageTracker = _gat._getTracker(&quot;UA-4717621-1&quot;);&lt;br /&gt;pageTracker._initData();&lt;br /&gt;pageTracker._trackPageview();&lt;br /&gt;&lt;/script&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://www.raona.com/Formacio/Seminaris/Seminarios2008/MicrosoftSharepointDay/tabid/304/Default.aspx&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-wUWe6EarS4UHrFEIeeMmd6IPTqMW0A97Vr-X7dABRmzjzR-GtIpfEbFvgeKM7CmwgCVJQ6-AjZeDyWrmET1gg8uRQ9tak94Ivi4Ck80M8v08CjMgkg24YBbryyTHtmoYHQCD8DQ9mHI/s400/SharePointDay.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5212383623468010754&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;br/&gt;Visita el &lt;a href=&quot;http://sharepoint-customization-search.blogspot.com&quot;&gt;Blog de Customización y Búsqueda de SharePoint&lt;/a&gt;
&lt;br/&gt;Powered by &lt;a href=&quot;http://www.raona.com&quot;&gt;Raona Enginyers, S.L.&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-customization-search.blogspot.com/feeds/7384620834271220273/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1892336559760933624/7384620834271220273' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/7384620834271220273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/7384620834271220273'/><link rel='alternate' type='text/html' href='http://sharepoint-customization-search.blogspot.com/2008/05/raona-presenta-el-sharepoint-day-en.html' title='Raona presenta el SharePoint Day en Barcelona'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-wUWe6EarS4UHrFEIeeMmd6IPTqMW0A97Vr-X7dABRmzjzR-GtIpfEbFvgeKM7CmwgCVJQ6-AjZeDyWrmET1gg8uRQ9tak94Ivi4Ck80M8v08CjMgkg24YBbryyTHtmoYHQCD8DQ9mHI/s72-c/SharePointDay.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1892336559760933624.post-2925072831395907853</id><published>2008-04-29T17:36:00.006+02:00</published><updated>2008-06-16T10:22:55.994+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Certificaciones"/><category scheme="http://www.blogger.com/atom/ns#" term="Personal"/><category scheme="http://www.blogger.com/atom/ns#" term="Raona"/><title type='text'>Examen 70-631 &quot;MCTS: Windows SharePoint Services 3.0 - Configuring&quot; también superado!</title><content type='html'>&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);&lt;br /&gt;document.write(unescape(&quot;%3Cscript src=&#39;&quot; + gaJsHost + &quot;google-analytics.com/ga.js&#39; type=&#39;text/javascript&#39;%3E%3C/script%3E&quot;));&lt;br /&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var pageTracker = _gat._getTracker(&quot;UA-4717621-1&quot;);&lt;br /&gt;pageTracker._initData();&lt;br /&gt;pageTracker._trackPageview();&lt;br /&gt;&lt;/script&gt;Pues sí, tal como anuncia el título del post esta mañana he superado con éxito el examen &lt;a href=&quot;http://www.microsoft.com/learning/mcp/mcts/spservices/config/default.mspx&quot;&gt;70-631&lt;/a&gt; sumando una nueva certificación para mi y para &lt;a href=&quot;http://www.raona.com&quot;&gt;Raona&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Con esto ya tengo las certificaciones a nivel de configuración de SharePoint, ahora hay que ir a por las de desarrollo.&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;br/&gt;Visita el &lt;a href=&quot;http://sharepoint-customization-search.blogspot.com&quot;&gt;Blog de Customización y Búsqueda de SharePoint&lt;/a&gt;
&lt;br/&gt;Powered by &lt;a href=&quot;http://www.raona.com&quot;&gt;Raona Enginyers, S.L.&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-customization-search.blogspot.com/feeds/2925072831395907853/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1892336559760933624/2925072831395907853' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/2925072831395907853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/2925072831395907853'/><link rel='alternate' type='text/html' href='http://sharepoint-customization-search.blogspot.com/2008/04/examen-70-631-mcts-windows-sharepoint.html' title='Examen 70-631 &quot;MCTS: Windows SharePoint Services 3.0 - Configuring&quot; también superado!'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1892336559760933624.post-2868952644270154961</id><published>2008-04-27T20:28:00.014+02:00</published><updated>2008-06-21T12:49:37.164+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="API"/><category scheme="http://www.blogger.com/atom/ns#" term="Fields"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>Ocultar campos en SharePoint 2007</title><content type='html'>&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);&lt;br /&gt;document.write(unescape(&quot;%3Cscript src=&#39;&quot; + gaJsHost + &quot;google-analytics.com/ga.js&#39; type=&#39;text/javascript&#39;%3E%3C/script%3E&quot;));&lt;br /&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var pageTracker = _gat._getTracker(&quot;UA-4717621-1&quot;);&lt;br /&gt;pageTracker._initData();&lt;br /&gt;pageTracker._trackPageview();&lt;br /&gt;&lt;/script&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;Una de las cosas que se echa de menos en MOSS 2007 es la no existencia de seguridad a nivel de campo (Field) pero, al menos, existe la posibilidad de decidir si un campo se muestra o no en los formularios de las listas.&lt;br /&gt;&lt;br /&gt;Para ello disponemos de una serie de atributos que definen si un campo debe ser visible en los formularios de New, Edit, Display y en el historial de versiones, aunque no son modificables a través de SharePoint directamente, sino que deberemos recurrir a la API.&lt;br /&gt;&lt;br /&gt;Supongamos que queremos ocultar el campo &quot;nombreCampo&quot; de la lista &quot;nombreLista&quot; a los usuarios lectores pero que siendo posible editar su contenido, el código sería como sigue:&lt;br /&gt;&lt;/span&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;;font-family:courier new;font-size:85%;&quot;  &gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-size:100%;&quot; &gt;//Creamos el site&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;font-size:100%;&quot;  &gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;SPsite site = new SPSite(&quot;http://miservidor&quot;);&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;font-size:100%;&quot;  &gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;//Abrimos el objeto web&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;font-size:100%;&quot;  &gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;SPWeb web   = site.OpenWeb();&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;font-size:100%;&quot;  &gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;//Cogemos la lista en la que queramos ocultar los campos&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;font-size:100%;&quot;  &gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;SPList list = web.Lists[&quot;nombreLista&quot;];&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;font-size:100%;&quot;  &gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;//Cogemos el campo de la lista a ocultar&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;font-size:100%;&quot;  &gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;SPField field = list.Fields[&quot;nombreCampo&quot;];&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;font-size:100%;&quot;  &gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;//Seteamos las propiedades del campo&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;font-size:100%;&quot;  &gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;field.ShowInDisplayForm = false;    //El campo no se mostrará en el formulario de display de los ítems&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;font-size:100%;&quot;  &gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;field.ShowInEditForm = true;        //El campo se mostrará en el formulario de edición de ítems&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;font-size:100%;&quot;  &gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;field.ShowInNewForm = true;         //El campo se mostrará en el formulario de nuevos ítems&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;font-size:100%;&quot;  &gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;field.ShowInVersionHistory = false; //El campo no se mostrará en el historial de versiones&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 204, 255);font-family:courier new;font-size:85%;&quot;  &gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;field.ShowInListSettings = true;    //El campo se mostrará en la configuración de la lista&lt;br /&gt;&lt;br /&gt;//Actualizamos el campo&lt;br /&gt;field.Update();&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;;font-family:courier new;font-size:100%;&quot;  &gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;Una forma sencilla de  decidir  en qué formularios son visibles determinados campos, eso sí, no hay que olvidar hacerlo para todas las listas en las que el campo esté presente.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;br/&gt;Visita el &lt;a href=&quot;http://sharepoint-customization-search.blogspot.com&quot;&gt;Blog de Customización y Búsqueda de SharePoint&lt;/a&gt;
&lt;br/&gt;Powered by &lt;a href=&quot;http://www.raona.com&quot;&gt;Raona Enginyers, S.L.&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-customization-search.blogspot.com/feeds/2868952644270154961/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1892336559760933624/2868952644270154961' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/2868952644270154961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/2868952644270154961'/><link rel='alternate' type='text/html' href='http://sharepoint-customization-search.blogspot.com/2008/04/ocultando-determinados-campos-en-moss.html' title='Ocultar campos en SharePoint 2007'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1892336559760933624.post-6623023874447198860</id><published>2008-04-14T10:36:00.009+02:00</published><updated>2008-06-16T10:22:18.434+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Certificaciones"/><category scheme="http://www.blogger.com/atom/ns#" term="Personal"/><category scheme="http://www.blogger.com/atom/ns#" term="Raona"/><title type='text'>Examen &quot;70-630 - TS: Microsoft Office SharePoint Server 2007, Configuring&quot; superado!</title><content type='html'>&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);&lt;br /&gt;document.write(unescape(&quot;%3Cscript src=&#39;&quot; + gaJsHost + &quot;google-analytics.com/ga.js&#39; type=&#39;text/javascript&#39;%3E%3C/script%3E&quot;));&lt;br /&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var pageTracker = _gat._getTracker(&quot;UA-4717621-1&quot;);&lt;br /&gt;pageTracker._initData();&lt;br /&gt;pageTracker._trackPageview();&lt;br /&gt;&lt;/script&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Para empezar con el blog decir que el Viernes superé con éxito el examen &lt;/span&gt;70-630 (&lt;span style=&quot;font-weight: bold;&quot;&gt;TS: Microsoft Office SharePoint Server 2007, Configuring&lt;/span&gt;) con lo que ya soy &lt;a href=&quot;http://www.microsoft.com/learning/mcp/mcts/spserver/config/default.mspx&quot;&gt;MCTS en Microsoft Office SharePoint Server 2007 - Configuration&lt;/a&gt;. Una certificación más dentro de la gran cantidad de certificaciones de &lt;a href=&quot;http://www.raona.com/&quot;&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;Raona&lt;/span&gt;&lt;/a&gt;&lt;a href=&quot;http://www.raona.com/&quot;&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Ahora creo que empezaré a preparar el 70-631 (&lt;span style=&quot;font-weight: bold;&quot;&gt;TS: Windows SharePoint Services 3.0, Configuring&lt;/span&gt;).&lt;br /&gt;&lt;br /&gt;Saludos!&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;br/&gt;Visita el &lt;a href=&quot;http://sharepoint-customization-search.blogspot.com&quot;&gt;Blog de Customización y Búsqueda de SharePoint&lt;/a&gt;
&lt;br/&gt;Powered by &lt;a href=&quot;http://www.raona.com&quot;&gt;Raona Enginyers, S.L.&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-customization-search.blogspot.com/feeds/6623023874447198860/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1892336559760933624/6623023874447198860' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/6623023874447198860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1892336559760933624/posts/default/6623023874447198860'/><link rel='alternate' type='text/html' href='http://sharepoint-customization-search.blogspot.com/2008/04/examen-70-630-ts-microsoft-office.html' title='Examen &quot;70-630 - TS: Microsoft Office SharePoint Server 2007, Configuring&quot; superado!'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>