Changes made in Appery.io

In order to preserve the promise of transparency and open communication, the change log records changes to topics made by both customers and employees. Anyone can dispute a change by clicking the "Dispute" link and entering additional details.


  • December 28, 2016 15:01
    Illya Stepanov
    Changed reply in topic of Does Appery Support $.Deferred and Promises in jqm when calling Services by Galyna Abramovych to Hello Joe, In our JQM visual builder, services don't use promises, they work with callbacks. Here, there are some options: 1. Don't use uploadBinaryHelper. Instead, use the direct REST invocation so that you you have 6 RESTs. 1st - for the first image upload, the complete of which invokes the 2nd REST for the second image upload, the complete of which invokes the 3rd REST for the third image upload and so on. The complete of the 5th image upload invokes the REST for raw data upload. 2. Don't use uploadBinaryHelper. Instead, use the REST for uploading all the 5 images at a time: <a href="https://docs.appery.io/reference#database-api-files-uploading-multipart-data" rel="nofollow" target="_blank" title="Link https//docsapperyio/referencedatabase-api-files-uploading-multipart-data">https://docs.appery.io/reference#database-api-files-uploading-multipart-data</a>. (this REST will retrieve all the names of the images that have been uploaded). The complete of this service invokes the REST for raw data upload. The option 2 is better as sending any images number can easily be defined. Besides, all the images are uploaded in bulk which is much faster. Here is a useful code in mapping into the data parameter for sending several files at a time (option 2):<br /><pre>function str2ab(str) {&nbsp; var buf = new ArrayBuffer(str&#46;length);<br />&nbsp; var bufView = new Uint8Array(buf);<br />&nbsp; for (var i=0, strLen=str&#46;length; i &lt; strLen; i++) {<br />&nbsp; &nbsp; bufView[i] = str&#46;charCodeAt(i);<br />&nbsp; }<br />&nbsp; return buf;<br />}<br /> var fd = new FormData();<br />var img1 = Apperyio&#46;storage&#46;Image1_base64&#46;get();<br />var ab = str2ab(img1);<br />var blob = new Blob([ab], {type: "image/jpeg"}); &nbsp;&#47;&#47;here you can set file's mime type<br />fd&#46;append('img1&#46;jpg', blob); &#47;&#47;here you can set file's name<br /> var img2 = Apperyio&#46;storage&#46;Image2_base64&#46;get();<br />ab = str2ab(img2);<br />blob = new Blob([ab], {type: "image/jpeg"}); &nbsp;&#47;&#47;here you can set file's mime type<br />fd&#46;append('img2&#46;jpg', blob); &#47;&#47;here you can set file's name<br /> var img3 = Apperyio&#46;storage&#46;Image3_base64&#46;get();<br />ab = str2ab(img3);<br />blob = new Blob([ab], {type: "image/jpeg"}); &nbsp;&#47;&#47;here you can set file's mime type<br />fd&#46;append('img3&#46;jpg', blob); &#47;&#47;here you can set file's name<br /> &#47;&#47;&#47;&#47; add here other images<br /> return fd;</pre>.
    Dispute this change
  • December 28, 2016 14:59
    Illya Stepanov
    Changed reply in topic of Does Appery Support $.Deferred and Promises in jqm when calling Services by Galyna Abramovych to Hello Joe, In our JQM visual builder, services don't use promises, they work with callbacks. Here, there are some options: 1. Don't use uploadBinaryHelper. Instead, use the direct REST invocation so that you you have 6 RESTs. 1st - for the first image upload, the complete of which invokes the 2nd REST for the second image upload, the complete of which invokes the 3rd REST for the third image upload and so on. The complete of the 5th image upload invokes the REST for raw data upload. 2. Don't use uploadBinaryHelper. Instead, use the REST for uploading all the 5 images at a time: <a href="https://docs.appery.io/reference#database-api-files-uploading-multipart-data" rel="nofollow" target="_blank" title="Link https//docsapperyio/referencedatabase-api-files-uploading-multipart-data">https://docs.appery.io/reference#database-api-files-uploading-multipart-data</a>. (this REST will retrieve all the names of the images that have been uploaded). The complete of this service invokes the REST for raw data upload. The option 2 is better as sending any images number can easily be defined. Besides, all the images are uploaded in bulk which is much faster. Here is a useful code in mapping into the data parameter for sending several files at a time (option 2):<br /><pre><span>function str2ab(str) {</span><br /><code> var bufView = new Uint8Array(buf);</code><br /><code> for (var i=0, strLen=str&#46;length; i &lt; strLen; i++) {</code><br /><code> bufView[i] = str&#46;charCodeAt(i);</code><br /><code> }</code><br /><code> return buf;</code><br /><code>}</code><code> </code><code>var fd = new FormData();</code><code> </code><code>var img1 = Apperyio&#46;storage&#46;Image1_base64&#46;get();</code><br /><code>var ab = str2ab(img1);</code><br /><code>var blob = new Blob([ab], {type: &quot;image/jpeg&quot;}); &#47;&#47;here you can set file&#39;s mime type</code><br /><code>fd&#46;append(&#39;img1&#46;jpg&#39;, blob); &#47;&#47;here you can set file&#39;s name</code><code> </code><code>var img2 = Apperyio&#46;storage&#46;Image2_base64&#46;get();</code><br /><code>ab = str2ab(img2);</code><br /><code>blob = new Blob([ab], {type: &quot;image/jpeg&quot;}); &#47;&#47;here you can set file&#39;s mime type</code><br /><code>fd&#46;append(&#39;img2&#46;jpg&#39;, blob); &#47;&#47;here you can set file&#39;s name</code><code> </code><code>var img3 = Apperyio&#46;storage&#46;Image3_base64&#46;get();</code><br /><code>ab = str2ab(img3);</code><br /><code>blob = new Blob([ab], {type: &quot;image/jpeg&quot;}); &#47;&#47;here you can set file&#39;s mime type</code><br /><code>fd&#46;append(&#39;img3&#46;jpg&#39;, blob); &#47;&#47;here you can set file&#39;s name</code><code> </code><code>&#47;&#47;&#47;&#47; add here other images</code><code> </code><code>return fd;</code></pre><pre><code> var buf = new ArrayBuffer(str&#46;length); </code></pre>.
    Dispute this change
  • December 28, 2016 14:58
    Illya Stepanov
    Changed reply in topic of Does Appery Support $.Deferred and Promises in jqm when calling Services by Galyna Abramovych to Hello Joe, In our JQM visual builder, services don't use promises, they work with callbacks. Here, there are some options: 1. Don't use uploadBinaryHelper. Instead, use the direct REST invocation so that you you have 6 RESTs. 1st - for the first image upload, the complete of which invokes the 2nd REST for the second image upload, the complete of which invokes the 3rd REST for the third image upload and so on. The complete of the 5th image upload invokes the REST for raw data upload. 2. Don't use uploadBinaryHelper. Instead, use the REST for uploading all the 5 images at a time: <a href="https://docs.appery.io/reference#database-api-files-uploading-multipart-data" rel="nofollow" target="_blank" title="Link https//docsapperyio/referencedatabase-api-files-uploading-multipart-data">https://docs.appery.io/reference#database-api-files-uploading-multipart-data</a>. (this REST will retrieve all the names of the images that have been uploaded). The complete of this service invokes the REST for raw data upload. The option 2 is better as sending any images number can easily be defined. Besides, all the images are uploaded in bulk which is much faster. Here is a useful code in mapping into the data parameter for sending several files at a time (option 2): <code>&lt;br&gt;</code><pre><code>function str2ab(str) { var buf = new ArrayBuffer(str&#46;length); var bufView = new Uint8Array(buf); for (var i=0, strLen=str&#46;length; i &lt; strLen; i++) { bufView[i] = str&#46;charCodeAt(i); } return buf; } var fd = new FormData(); var img1 = Apperyio&#46;storage&#46;Image1_base64&#46;get(); var ab = str2ab(img1); var blob = new Blob([ab], {type: &quot;image/jpeg&quot;}); &#47;&#47;here you can set file&#39;s mime type fd&#46;append(&#39;img1&#46;jpg&#39;, blob); &#47;&#47;here you can set file&#39;s name var img2 = Apperyio&#46;storage&#46;Image2_base64&#46;get(); ab = str2ab(img2); blob = new Blob([ab], {type: &quot;image/jpeg&quot;}); &#47;&#47;here you can set file&#39;s mime type fd&#46;append(&#39;img2&#46;jpg&#39;, blob); &#47;&#47;here you can set file&#39;s name var img3 = Apperyio&#46;storage&#46;Image3_base64&#46;get(); ab = str2ab(img3); blob = new Blob([ab], {type: &quot;image/jpeg&quot;}); &#47;&#47;here you can set file&#39;s mime type fd&#46;append(&#39;img3&#46;jpg&#39;, blob); &#47;&#47;here you can set file&#39;s name &#47;&#47;&#47;&#47; add here other images return fd; </code></pre>.
    Dispute this change
  • December 28, 2016 14:57
    Illya Stepanov
    Changed reply in topic of Does Appery Support $.Deferred and Promises in jqm when calling Services by Galyna Abramovych to Hello Joe, In our JQM visual builder, services don't use promises, they work with callbacks. Here, there are some options: 1. Don't use uploadBinaryHelper. Instead, use the direct REST invocation so that you you have 6 RESTs. 1st - for the first image upload, the complete of which invokes the 2nd REST for the second image upload, the complete of which invokes the 3rd REST for the third image upload and so on. The complete of the 5th image upload invokes the REST for raw data upload. 2. Don't use uploadBinaryHelper. Instead, use the REST for uploading all the 5 images at a time: <a href="https://docs.appery.io/reference#database-api-files-uploading-multipart-data" rel="nofollow" title="Link: https://docs.appery.io/reference#database-api-files-uploading-multipart-data">https://docs.appery.io/reference#database-api-files-uploading-multipart-data</a>. (this REST will retrieve all the names of the images that have been uploaded). The complete of this service invokes the REST for raw data upload. The option 2 is better as sending any images number can easily be defined. Besides, all the images are uploaded in bulk which is much faster. Here is a useful code in mapping into the data parameter for sending several files at a time (option 2): <br /><code>&amp;nbsp;&lt;br&gt;</code><pre><code>function str2ab(str) { var buf = new ArrayBuffer(str&#46;length); var bufView = new Uint8Array(buf); for (var i=0, strLen=str&#46;length; i &lt; strLen; i++) { bufView[i] = str&#46;charCodeAt(i); } return buf; } var fd = new FormData(); var img1 = Apperyio&#46;storage&#46;Image1_base64&#46;get(); var ab = str2ab(img1); var blob = new Blob([ab], {type: &quot;image/jpeg&quot;}); &#47;&#47;here you can set file&#39;s mime type fd&#46;append(&#39;img1&#46;jpg&#39;, blob); &#47;&#47;here you can set file&#39;s name var img2 = Apperyio&#46;storage&#46;Image2_base64&#46;get(); ab = str2ab(img2); blob = new Blob([ab], {type: &quot;image/jpeg&quot;}); &#47;&#47;here you can set file&#39;s mime type fd&#46;append(&#39;img2&#46;jpg&#39;, blob); &#47;&#47;here you can set file&#39;s name var img3 = Apperyio&#46;storage&#46;Image3_base64&#46;get(); ab = str2ab(img3); blob = new Blob([ab], {type: &quot;image/jpeg&quot;}); &#47;&#47;here you can set file&#39;s mime type fd&#46;append(&#39;img3&#46;jpg&#39;, blob); &#47;&#47;here you can set file&#39;s name &#47;&#47;&#47;&#47; add here other images return fd; </code></pre>.
    Dispute this change
  • December 27, 2016 12:40
    Prabhavathi, the poster:
    Reason: removed by the poster
  • December 25, 2016 06:51
    Illya Stepanov Dispute this change
  • December 24, 2016 14:56
    Illya Stepanov Dispute this change
  • December 21, 2016 13:24
    Illya Stepanov
    Changed reply in topic of Can I make a mobile app with barcode scanner with Microsoft Access? by Serhii Kulibaba to Appery.io doesn't support it. Please look at this link with a list of supported databases: <a href="https://docs.appery.io/docs/apiexpress-database-connection" rel="nofollow">https://docs.appery.io/docs/apiexpres...</a>.
    Dispute this change
  • December 19, 2016 19:48
    Joe Beale, the poster:
    Reason: removed by the poster
  • December 12, 2016 14:00
    Illya Stepanov Dispute this change
  • December 12, 2016 14:00
    Illya Stepanov Dispute this change
  • December 09, 2016 15:12
    Illya Stepanov
    Changed reply in topic of Request path parameters by Serhii Kulibaba to Do you have a service in your app with that API Express service? What project type do you use here JQM, Ionic or Bootstrap? If you use a mapping to that request parameter you can add there a JS code, provided above: <a href="https://docs.appery.io/docs/appbuilder-jqm-mapping#section-input-mapping" rel="nofollow">https://docs.appery.io/docs/appbuilde...</a>.
    Dispute this change
  • December 08, 2016 05:43
    Matt, the poster:
    Reason: removed by the poster
  • December 08, 2016 00:25
    realmadrid2121 ., the poster:
    Reason: removed by the poster
  • December 07, 2016 21:40
    Illya Stepanov Dispute this change
  • December 04, 2016 15:31
    Illya Stepanov Dispute this change
  • December 03, 2016 21:46
    Vinny B, the poster:
    Reason: User-initiated delete from community
  • December 02, 2016 20:52
    Illya Stepanov Dispute this change
  • December 01, 2016 21:07
    Illya Stepanov
    Changed reply in topic of Push Notification App Icon by Serhii Kulibaba to Hello, Please look at this example how to send Push Notifications with icons:&nbsp;<a href="https://docs.appery.io/docs/pushnotifications-sending#section-icon" rel="nofollow">https://docs.appery.io/docs/pushnotifications-sending#section-icon</a>.
    Dispute this change
  • December 01, 2016 15:43
    Illya Stepanov Dispute this change
next » « previous