문제

콘텐츠 형식 허브와 여러 콘텐츠 형식을 만들고 게시했습니다.

여러 기능이 누락되었으므로 작동하지 않는 빈 사이트 템플릿을 사용 했으므로 사이트 모음을 삭제하고 동일한 URL을 가진 새 하나를 만들었습니다.

나는 이전 CTH의 콘텐츠 형식이 가입 사이트 (물론)에 아직 왔음을 알아 차렸다.그들을 삭제하려고했지만 그들은 돌아 왔습니다.

다음 업데이트에서 "모든 게시 된 콘텐츠 유형을 새로 고침"하지만 도움이되지 않았습니다.

Set-SPMetadataServiceApplication -Identity "Managed Metadata Service" -HubURI $hub.url를 사용하여 일을 새로 고침하지만 도움이되지 않았습니다.

마지막 리조트로서 오래된 CTH의 백업이 있으므로 백업 및 게시 취소로드 할 수 있습니다.이게 내 유일한 선택인가?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top