1. Jochen Peters
  2. Valentina Server
  3. Montag, Mai 09 2016, 03:25 PM
  4.  Abonnieren via E-Mail
I need to read data from xojo ios to a valentina server sqlite

Can this is posible
Yes or No
Kommentar
There are no comments made yet.
Jochen Peters Akzeptierte Antwort
thanks for the hard works
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Hi Alexis,

I've created an example on how to generate a report in PDF format (HTML is possible, too) via Valentina Server REST and present it to the user.

To run it - it is necessary to drop M_Text extension methods into the project to get DecodeBase64 functionality, missing in iOS.
Anhänge
Kommentar
There are no comments made yet.
Jochen Peters Akzeptierte Antwort
show and some times send by email
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
And how are you going to use generated report? Show to the user or send somewhere? In which format?
Kommentar
There are no comments made yet.
Jochen Peters Akzeptierte Antwort
Yes sqlite
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Reports are accessible via REST interface - SQL command REPORT is used.

We'll make an example for reports.

Do you need reports only for SQLite in this task? (I'm asking because there will be an important fix for this datasource in the future version 6.5.4, and it will be necessary to update)

And how generated report will be used - shown in the WebView or sent elsewhere?
Kommentar
There are no comments made yet.
Jochen Peters Akzeptierte Antwort
cool thanks

the only i do no see is make a report on it

;)
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Hi Alexis,
I've created a basic example on how to work with Valentina SQLite Server via REST in Xojo iOS.
Anhänge
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
No, there are only python examples at the moment.
Looks like Xojo HTTPSocket can be used for this task.
Referenzen
  1. http://docs.xojo.com/index.php/HTTPSocket
Kommentar
There are no comments made yet.
Jochen Peters Akzeptierte Antwort
if any XOJO examples ?
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Hi Alexis,

Yes, it is possible, but only using Valentina Server REST interface through the series of HTTP requests.
Kommentar
There are no comments made yet.
  • Seite :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 0 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories
Omegabundle
  1. 0 subcategories