My understanding of the DynamicModel structure is that it is a way to generate a dynamic datastore from SQL, similar to executing these statements:
new_syntax = SQLCA.SyntaxFromSQL(new_sql, 'Style(Type=Form)', error_syntaxfromSQL)
dw_new.Create(new_syntax, error_create)
We have an implementation use for this structure. However, the 30-column restriction will prevent us taking advantage of it as most of our SQL SELECTs have far more columns.
- Why is there a restriction?
- Are there plans to expand the maximum number of columns in a future release?
Regards,
Don Olliver
After more discussion in house, we will remove the 30 column restriction from the document. It is not valid to put a number restriction there. As for how much will the performance be reduced by such increase, I need double check with the responsible engineer, who is currently on vacation. Please kindly wait for a few more days on this.
No... I do not think visual datawindow properties are supported.
Best regards, Julie
That is great news regarding your decision to remove the 30-column limit! Please pass along your engineer's comments on performance.
On support for datawindow visual properties, We are particularly concerned about column output formatting. Our software allows clients to create and customize what we call merge datasources. In essence, they are datawindow syntax stored in the database. Clients associate a datasource with a document that has merge fields. When the datasource is retrieved, we merge data values (with output formatting) into the document.
We plan on using DynamicModel structures to retrieve the datasource. If column formatting is not supported, can you suggest alternate methods for accessing column output formats in a .NET Datastore, whether the dataobject is exported from PB Classic or stored in a database table?
Regards,
Don Olliver
Thank you for reporting this issue. We will remove this incorrect remark (limited to 30 columns) from the API documentation, since it’s just inner detail that users don’t need to care about. You can ignore the tiny performance difference when the number of columns is increasing from 30 to 31.
For your question about column formatting, please report an enhancement requirement in the Appeon Standard Support at https://www.appeon.com/standardsupport/. It will be better if you can provide a code sample about column output formatting.
Regards,
Logan