I am working on an extension that automates some work in Layout. One of the things I need to realize is the creation of a table. Currently, I create that one manually (well, still automated since it is code, but…). However, I am looking for a solution that lets me import table data, just like the UI allows you to do, but through the API. The reason is simply the fact that afterwards, the user could update that data whenever the source changes.
@kengey I’ve got some bad news for you - the current LayOut API doesn’t expose importing table data from external files, which is how you would generate the appropriate file reference. That file reference is necessary to enable the auto update from external files. There is a technical hurdle in exposing that method in the API that we haven’t tackled yet.
We also have not yet exposed the file reference class itself in order for you to create your own references.
I’ll note that this missing feature in the API has been requested.
Adam