FastReport Online Designer - own type Data source
How to add an own type Data source with custom connection type?
It is possible with online designer?
This discussion has been closed.
How to add an own type Data source with custom connection type?
It is possible with online designer?
Comments
would this functionality include in next version?
Hello!
In the server-side handler, before opening the template in WebReport.Designer, call `webReport.Report.RegisterData(sampleOrActualList, ‘MyType’, maxNestingLevel: 3)`, enable the required data source (`GetDataSource(‘MyType’). Enabled = true;) and load/transfer the already registered report into Online Designer.
Alternatively, first generate a basic .frx file with the business object schema using RegisterData(new List<MyDto>(), ‘MyType’, 3) + Save(), and open it as a starter template in Online Designer.