Need Session parameters for FMX REST Server feature
Hi
I had made a request in 2015,
Original 2015 Request:
http://www.digital-metaphors.com/forums/discussion/7179/rb17-need-example-for-rest-with-parameter
My Question:
in rb client example i have this:
i need here login my customers
// rbMobileExplorer_Tablet.param.add('login=xxxxx'); ?????
// rbMobileExplorer_Tablet.param.add('password=qqqqqq');
rbMobileExplorer_Tablet.Execute;
on server side i need read these parameters.
My customers can send to my cloud server their reports pdf,( 100
customers = 100 directories ) then from App-RB-REST i must know my
customer login for resend only their reports files.
how do it ?
I'm using RB Server 19.03 with Delphi Rio ( last version ). Can i do it today ?
Here the Nico answert:
----------------------------------------
nicocizik November 2015 edited November 2015
Hi Mauro,
The current release supports the manipulation of Report Parameters
(TppReport.Parameters) only. This gives the client the ability to alter
and update the report output based on parameter values sent to the
server which is similar to the AutoSearch feature in ReportBuilder and
RB Server.
Server specific parameters, or what are known as "Session" parameters in
RB Server, are not yet implemented. These would allow you to set up
specific parameters on the server such as login information etc.
Session parameters for the FMX REST Server feature will be added for a
later release of ReportBuilder.
Currently you could create a separate root directory for each user and
set up the Client to only access that directory for each specific user.
Do this by assigning the Client.DocumentService.DirectoryName property.
----------------------------------------
I had made a request in 2015,
Original 2015 Request:
http://www.digital-metaphors.com/forums/discussion/7179/rb17-need-example-for-rest-with-parameter
My Question:
in rb client example i have this:
i need here login my customers
// rbMobileExplorer_Tablet.param.add('login=xxxxx'); ?????
// rbMobileExplorer_Tablet.param.add('password=qqqqqq');
rbMobileExplorer_Tablet.Execute;
on server side i need read these parameters.
My customers can send to my cloud server their reports pdf,( 100
customers = 100 directories ) then from App-RB-REST i must know my
customer login for resend only their reports files.
how do it ?
I'm using RB Server 19.03 with Delphi Rio ( last version ). Can i do it today ?
Here the Nico answert:
----------------------------------------
nicocizik November 2015 edited November 2015
Hi Mauro,
The current release supports the manipulation of Report Parameters
(TppReport.Parameters) only. This gives the client the ability to alter
and update the report output based on parameter values sent to the
server which is similar to the AutoSearch feature in ReportBuilder and
RB Server.
Server specific parameters, or what are known as "Session" parameters in
RB Server, are not yet implemented. These would allow you to set up
specific parameters on the server such as login information etc.
Session parameters for the FMX REST Server feature will be added for a
later release of ReportBuilder.
Currently you could create a separate root directory for each user and
set up the Client to only access that directory for each specific user.
Do this by assigning the Client.DocumentService.DirectoryName property.
----------------------------------------
Comments
Thanks for the feedback. Unfortunately this feature has not made it into the product yet but it is still on our list. We evaluate our list of possible enhancements to ReportBuilder very frequently to determine what will be added to the product. While I can't comment on any specific feature, we will definitely take a look at this one for an upcoming release.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com