By @ShiyaLuo
Here are some frequently asked questions about the View and Data API. They're available somewhere in the docs, but I'm going to summarize them again here. I've been getting them from emails, but I thought these questions are general enough they should be searchable somewhere.
How to define the deletion time of original uploaded models?
The bucket retention policy you defined will determine when the files are deleted. They are:
- Transient (24 hours)
- Temporary (30 days)
- Persistent (until deleted)
The bucket retention policy determines when the files in the buckets are deleted, not the buckets.
If something is updated on the server side, does it appear on the client side as well?
No. You have to retranslate them for changes to appear. Whatever translated will remain the same.
How to force delete the client side data?
See the docs at Delete Data
When I upload a file, how can I hide what the user can see in the properties panel?
You can write your own properties panel. However, if you absolutely don't want anyone to see those files, your best bet modify them before you upload. It's harder to modify the translated files since there's no GUI (software like Revit) to edit those file.
Why do your tutorials use NoSQL database, can I use a relational database to store stuff?
The model object tree or instance tree exist in the form of a JSON object. It's much easier to directly save a JSON object to a NoSQL database. We recommend a NoSQL database for ease of use, but do what you prefer. If your use case calls for heavy relational operation, feel free to use a SQL database.
Comments
You can follow this conversation by subscribing to the comment feed for this post.