Legal Documents
of a Company
on Amazon S3. In the following example, we show you how to create the Smart Collection to see and manipulate them in your Forest admin.legal_docs
collection in the forest/
directory. In this Smart Collection, all fields are related to S3 attributes except the field is_verified
that is stored on our database in the collection documents
. id
field when creating a Smart Collection. The value of this field for each record MUST be unique. On the following example, we simply generate a random UUID.legal_docs
collection in the forest/
directory. In this Smart Collection, all fields are related to S3 attributes except the field is_verified
that is stored on our database in the collection documents
. id
field when creating a Smart Collection. The value of this field for each record MUST be unique. On the following example, we simply generate a random UUID.isSearchable: true
to your collection to display the search bar. Note that you will have to implement the search yourself by including it into your own get
logic.routes/legal_docs.js
, we’ve created a new route to implement the API behind the Smart Collection.services/s3-helper.js
for this example. The implementation code of this service is available on Github.routes/legal_docs.js
, we’ve created a new route to implement the API behind the Smart Collection.services/s3-helper.js
for this example. The implementation code of this service is available on Github.services/s3-helper.js
that encapsulates the S3 business logic for this example.reconcileData()
and Serializer.serialize()
functions are already described in the Implementing the GET (all records) section.services/s3-helper.js
that encapsulates the S3 business logic for this example.reconcileData()
and Serializer.serialize()
functions are already described in the Implementing the GET (all records) section.is_verified
can be updated.reconcileData()
and Serializer.serialize()
functions are already explained in the Implementing the GET (all records) section.reconcileData()
and Serializer.serialize()
functions are already explained in the Implementing the GET (all records) section.