Open topic with navigation

# Create Metadata-only Documents

To create a document that has metadata but no file, use a different overload of `DocInfoBuilder::createDocInfo`:

           DocInfo docInfo = builder.createDocInfo(
                   "http://www.example.com/metadataOnly");

You might create a metadata-only document when items in a repository do not include file data (for example, appointments in a calendar, tasks in a task list or rows in a table). Alternatively, you might create a metadata-only document and then assign a file to it later:

           DocFile file = builder.createDocFile("testDocument.doc", true);
           docInfo.setFile(file);

© 2018 Micro Focus or one of its affiliates | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm