Pregunta

He creado un concentrador de tipo de contenido y varios tipos de contenido y los publicé.

Luego me di cuenta de que usé la plantilla de sitio en blanco que no funcionará porque faltan varias características, así que eliminé esa colección del sitio y creé una nueva con la misma URL.

Luego noté que los tipos de contenido del CTH antiguo aún estaban en los sitios de suscripción (por supuesto).Intenté eliminarlos, pero regresaron.

Intenté revisar la casilla de verificación para "Actualizar todos los tipos de contenido publicado en la próxima actualización", pero no ayudó.

Probé Set-SPMetadataServiceApplication -Identity "Managed Metadata Service" -HubURI $hub.url para refrescar las cosas tal vez, pero no ayudó.

Como último recurso, tengo una copia de seguridad del CTH antiguo, puedo cargar eso de nuevo y no publicar.¿Es esta mi única opción?

¿Fue útil?

Solución

Turns out I had to bring the old content type hub back, but I didn't have to use my backup. The old site collection was still in the database, as an "SPDeletedSite"

I took a backup of my new CTH using backup-spsite (though ultimately unnecessary), deleted the new CTH, and used the restore-spdeletedsite powershell command to bring back the old CTH. i then unpublished each content type i had previously published, and then deleted the old CTH again, and used restore-spdeletedsite to bring back the new CTH.

I still do not know how to remove orphaned content types once the original CTH is completely gone... Sounds like they stick around for 30 days. After that, I'm pretty sure you'd have to create a new Managed Metadata Service to fix this.

Licenciado bajo: CC-BY-SA con atribución
scroll top