Empty content library item in a published content library is not synchronized to the subscribed library
search cancel

Empty content library item in a published content library is not synchronized to the subscribed library

book

Article ID: 301198

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

  • There is a subscribed library that synchronizes the contents of a published library.
  • The published library contains a library item that is 0 bytes in size and contains no files.
  • The empty library item is not listed in the subscribed library when the subscribed library is synchronized.

Cause

It is a known limitation that Content Library Service does not synchronize empty library items.

An empty library item should not result if vSphere Web Client is used  to import a library item. An empty library item comes up when using the Content Library API, because importing an item to a content library involves multiple steps. First, create a library item, which will initially have no content. Then, upload files to the library item using the UpdateSession class.If content is not uploaded to the library item, it remains empty.

Resolution

To resolve this issue, upload at least one file to the empty library item in the published library and synchronize the subscribed library.