1. Jochen Peters
  2. Valentina Server
  3. 月, 5月 09 2016, 03:25 PM
  4.  メールで購読
I need to read data from xojo ios to a valentina server sqlite

Can this is posible
Yes or No
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
Hi Alexis,

Yes, it is possible, but only using Valentina Server REST interface through the series of HTTP requests.
コメント
There are no comments made yet.
Jochen Peters 承諾済みの回答
if any XOJO examples ?
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
No, there are only python examples at the moment.
Looks like Xojo HTTPSocket can be used for this task.
参照
  1. http://docs.xojo.com/index.php/HTTPSocket
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
Hi Alexis,
I've created a basic example on how to work with Valentina SQLite Server via REST in Xojo iOS.
添付ファイル
コメント
There are no comments made yet.
Jochen Peters 承諾済みの回答
cool thanks

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

;)
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
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?
コメント
There are no comments made yet.
Jochen Peters 承諾済みの回答
Yes sqlite
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
And how are you going to use generated report? Show to the user or send somewhere? In which format?
コメント
There are no comments made yet.
Jochen Peters 承諾済みの回答
show and some times send by email
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
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.
添付ファイル
コメント
There are no comments made yet.
Jochen Peters 承諾済みの回答
thanks for the hard works
コメント
There are no comments made yet.
  • ページ :
  • 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