{"id":18,"date":"2012-10-04T22:31:18","date_gmt":"2012-10-04T20:31:18","guid":{"rendered":"http:\/\/wordpress.igua.es\/?p=18"},"modified":"2012-10-06T11:42:12","modified_gmt":"2012-10-06T09:42:12","slug":"como-cambiar-o-borrar-una-columna-marcada-como-sealed-en-sharepoint","status":"publish","type":"post","link":"https:\/\/wordpress.igua.es\/index.php\/2012\/10\/04\/como-cambiar-o-borrar-una-columna-marcada-como-sealed-en-sharepoint\/","title":{"rendered":"Como cambiar o borrar una columna marcada como \u00absealed\u00bb en sharepoint"},"content":{"rendered":"<p>Si tienes en tu Sharepoint una columna marcada como \u00absealed\u00bb veras que no puedes ni borrarla ni cambiarla (ni por c\u00f3digo ni en modo visual).<\/p>\n<p>Para lograr nuestro objetivo recurriremos a PowerShell. Por que en nuestra consola de \u00abWindows PowerShell ISE\u00bb vamos a escribir los siguientes comandos:<\/p>\n<pre class=\"brush: powershell; title: C\u00f3digo:; notranslate\" title=\"C\u00f3digo:\">\nif ( (Get-PSSnapin -Name Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue) -eq $null ) {\n    Add-PSSnapin Microsoft.SharePoint.Powershell\n}\n\nfunction RemoveSealedFlag(&#x5B;string]$siteUrl, &#x5B;string]$columnGuid) {\n$site = Get-SPSite $siteUrl\n$web = $site.RootWeb\n$wfield = $web.Fields&#x5B;&#x5B;System.Guid]$columnGuid]\n$wfield.Sealed = $false\n$wfield.Update()\n$web.Update()\n}\n<\/pre>\n<p>Ahora bastara con llamar al m\u00e9todo RemoveSealedFlag para desmarcar la propiedad y de esta forma ya poder borrarlo o editarlo.<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>Si tienes en tu Sharepoint una columna marcada como \u00absealed\u00bb veras que no puedes ni borrarla ni cambiarla (ni por c\u00f3digo ni en modo visual). Para lograr nuestro objetivo recurriremos a PowerShell. Por que en nuestra consola de \u00abWindows PowerShell &hellip; <a href=\"https:\/\/wordpress.igua.es\/index.php\/2012\/10\/04\/como-cambiar-o-borrar-una-columna-marcada-como-sealed-en-sharepoint\/\">Sigue leyendo <span class=\"meta-nav\">&rarr;<\/span><\/a><!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-18","post","type-post","status-publish","format-standard","hentry","category-sharepoint"],"_links":{"self":[{"href":"https:\/\/wordpress.igua.es\/index.php\/wp-json\/wp\/v2\/posts\/18","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.igua.es\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress.igua.es\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.igua.es\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.igua.es\/index.php\/wp-json\/wp\/v2\/comments?post=18"}],"version-history":[{"count":4,"href":"https:\/\/wordpress.igua.es\/index.php\/wp-json\/wp\/v2\/posts\/18\/revisions"}],"predecessor-version":[{"id":21,"href":"https:\/\/wordpress.igua.es\/index.php\/wp-json\/wp\/v2\/posts\/18\/revisions\/21"}],"wp:attachment":[{"href":"https:\/\/wordpress.igua.es\/index.php\/wp-json\/wp\/v2\/media?parent=18"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.igua.es\/index.php\/wp-json\/wp\/v2\/categories?post=18"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress.igua.es\/index.php\/wp-json\/wp\/v2\/tags?post=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}