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

Symptoms:
  • You have 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 you use the vSphere Web Client 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, you create a library item, which will initially have no content. Then, you upload files to the library item using the UpdateSession class. If you don't upload content to the library item, the library item 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.