RB 16.02 REST - Are parameters supported ? How ?
I'm working on REST feature.
i have try call RB16 with this mode:
http://127.0.0.1:8080/RBServices?test=1
http://127.0.0.1:8080/RBServices/test=1 .. .. .
but don't work. i need do any query in DataModule form, but I can not
indentificare the user connecting.
Then, i have open your Rest source.
REST, Without REST-parameters is useless except for small demo.
unit RBuilder.RestService;
..........
{ ToDos:
- session (username, password, etc)
- report parameters (parameters and autosearch)
- language strings?
}
How can mobile client (RBFMXTablet.pas) add a parameter when
rb-rest-server is called?
and How can Server read this parameter and show to TDataModule
form/Database?
Thank you.
Mauro
This discussion has been closed.
Comments
Thanks for your interest in the REST Reporting feature. ReportBuilder
16 currently does not have support for report parameters or user
sessions. As you have seen in our source, these features are in the
works and will be added for a later release.
We still feel the the ability to navigate/view/print reports via REST
from a mobile device is extremely powerful and useful. We look forward
to hearing your feedback and making improvements for future releases.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
i have a table with 500 reports online, for 5 users ( 100 private
reports for 1 user )
How i can make to limit reports at singole user ?
Since parameters are not currently an option, you could create a
different data module for each of your users which in turn accesses the
specific reports needed. These would be seen as "Directories" to the
client.
This is similar to the Main Server demo only each separate data module
would use the same report access technique (File, Archive, Table, etc.)
and access different data.
You can then assign the directory name to be used for each client using
the TrbRestClient.DirectoryService.DirectoryName property. This way
each client created will only access certain reports.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com