Skip to main content

Make Records Public

When records are created, they are private by default. Private records are not accessible without the use of a protocol or permissions. To make a record publicly available, the record must be published.

In this guide, we’ll discuss how to publish a record.

Publish a record upon creation

To publish a record, you must explicitly declare that record as published by setting the published attribute to true when creating it:

No snippet found for javascript

Publishing records in the future

When specifying to publish a record without providing the datePublished attribute, the record will be published now (the same date it was created). However, it's also possible to publish a record in the future by providing a future date for the datePublished attribute:

No snippet found for javascript
INFORMATION