Search found 0 matches

by Yurii Orishchuk
Mon Jul 20, 2020 7:51 pm
Forum: Moved from Get Satisfaction
Topic: Query Appery.io using Oracle APEX
Replies: 32
Views: 3300

Query Appery.io using Oracle APEX

{\""ToPull\"": \""Y\""}] }""

by Yurii Orishchuk
Mon Jul 20, 2020 7:51 pm
Forum: Moved from Get Satisfaction
Topic: Query Appery.io using Oracle APEX
Replies: 32
Views: 3300

Query Appery.io using Oracle APEX

{\""ToPull\"": \""Y\""}] }""

by Yurii Orishchuk
Mon Jul 20, 2020 7:33 pm
Forum: Moved from Get Satisfaction
Topic: Increase server script timeout
Replies: 23
Views: 2296

Increase server script timeout

files"": {}

by Yurii Orishchuk
Mon Jul 20, 2020 1:21 pm
Forum: Moved from Get Satisfaction
Topic: Output XML to Twilio
Replies: 7
Views: 2205

Output XML to Twilio

attributes) { append(""<"" + verb + toAttributes(attributes) + """" + str + ""</"" + verb + """") } } var emptyElement = function(verb) { return function(attributes) { append(""<"" + verb + toAttribu...
by Yurii Orishchuk
Mon Jul 20, 2020 12:29 pm
Forum: Moved from Get Satisfaction
Topic: REST query URI
Replies: 5
Views: 1263

REST query URI

{\""invoiceno\"":\""inv100\""}]}"" }

by Yurii Orishchuk
Mon Jul 20, 2020 11:42 am
Forum: Moved from Get Satisfaction
Topic: localStorage data is with " "
Replies: 4
Views: 621

localStorage data is with " "

"); Regards."

by Yurii Orishchuk
Mon Dec 26, 2016 5:52 am
Forum: Moved from Get Satisfaction
Topic: Infinity Listitem want to clear
Replies: 7
Views: 966

Infinity Listitem want to clear

Hi Amirul, Thank you for your details about this problem. You have c15r error cause of you deleted template item. Here is a code to delete all items without template item: self.dogsListItems = Apperyio("infinite_list").find("li:not([data-appery-tpl])"); self.dogsListItems.detach(...
by Yurii Orishchuk
Mon Dec 26, 2016 5:52 am
Forum: Moved from Get Satisfaction
Topic: How do I map server code list service to page component
Replies: 3
Views: 588

How do I map server code list service to page component

Hi Steven, Thank you for your screen shots. You need to link response array to your page elements. For this goal: Open response body. There should be an array of items inside. You need to link this array to your list items. If you don't have an array inside body you need to generate response paramet...
by Yurii Orishchuk
Wed Nov 02, 2016 5:57 am
Forum: Moved from Get Satisfaction
Topic: Spinner finishes before all data is loaded
Replies: 7
Views: 992

Spinner finishes before all data is loaded

Hi Deon,

Thank you for your problem details.

Could you please describe steps how we can reproduce it in brand new Appery.io app?

Thanks.

by Yurii Orishchuk
Wed Nov 02, 2016 5:57 am
Forum: Moved from Get Satisfaction
Topic: Google place photos api setup failure
Replies: 9
Views: 1245

Google place photos api setup failure

Hi Mark, Here is a JS code which you can use on any event (like page show or button click, etc..) to assign url (which returns an image) to image component on the page. pre &#47;&#47;Where "imageComponentName" is your image component name&#46; Apperyio("imageComponentName&...
by Yurii Orishchuk
Tue Nov 01, 2016 5:54 am
Forum: Moved from Get Satisfaction
Topic: inconsistent app results on android devices.
Replies: 23
Views: 2360

inconsistent app results on android devices.

Hi Andy, Thank you for your details. I've just tried your app and could not find "Damage Screen button" on the car details page. Anyway, it seems like somehow your app does not start correctly on the goal device. And cordova not working there. You can try following to make sure cordova sta...
by Yurii Orishchuk
Wed Aug 03, 2016 5:00 am
Forum: Moved from Get Satisfaction
Topic: Filter data that is in an array
Replies: 14
Views: 1410

Filter data that is in an array

Hi Deon, Here is a code to get items from a storage and copy it to another storage with some condition. pre &#47;&#47;var originalArray = [{id: 1}, {id: 2}, {id: 3}]; &#47;&#47;Getting original Array from the storage&#46; var originalArray = Apperyio&#46;storage&#46;origi...
by Yurii Orishchuk
Tue Jul 26, 2016 5:04 am
Forum: Moved from Get Satisfaction
Topic: Filter data that is in an array
Replies: 14
Views: 1410

Filter data that is in an array

Hi Deon,

You can try following:

1 create other storage with such array model.

2 copy first array storage to second array storage(using filter - so you will copy only needed elements).

3 make mapping from second array to the page.

Regards.

by Yurii Orishchuk
Mon Jul 25, 2016 4:59 am
Forum: Moved from Get Satisfaction
Topic: Chart does not display on Android (nor in Appery Android tester but perfectly does on iOS, Appery iOS tester, Chrome)
Replies: 15
Views: 1650

Chart does not display on Android (nor in Appery Android tester but perfectly does on iOS, Appery iOS tester, Chrome)

Hi Peter, Thank you for your details. Have you tried disable "release" option when your build an .apk? In release mode Appery.io platform compresses all JS as CSS assets. This compression could damage incorrect code. You can verify your JS code here: http://jslint.com/ Regards.
by Yurii Orishchuk
Mon Jul 25, 2016 4:59 am
Forum: Moved from Get Satisfaction
Topic: Getting rid of the console error essage on Rest response error
Replies: 3
Views: 517

Getting rid of the console error essage on Rest response error

Hi Joni,

This error means you have incorrect response for this service.

Please click on this request, you will be redirected to "network" tab - there you can investigate a request and response.

In response you can find a reason why server returns an error.

Regards.

by Yurii Orishchuk
Mon Jul 25, 2016 4:59 am
Forum: Moved from Get Satisfaction
Topic: Sending Push Notifications from the app with Channels
Replies: 1
Views: 366

Sending Push Notifications from the app with Channels

Hi Logan, Please learn how to send push notification in your document here: https://docs.appery.io/reference#push... Also to filter pushes by channel you need to specify channel filter in a query. Please find details how to configure push send service on screen shot: http://prntscr.com/bx3tuo/direct...
by Yurii Orishchuk
Fri Jul 15, 2016 10:04 pm
Forum: Moved from Get Satisfaction
Topic: UPDATE some columns (ie PATCH)
Replies: 37
Views: 5081

UPDATE some columns (ie PATCH)

Hi Steve, It seems you passed this column (like "Employee") but not passed a value(_id for specified collection). If you don't to update a field - you don't need to pass it's name into update update request. Please check (if you will have it again) in browser debugger your actual service r...
by Yurii Orishchuk
Fri May 06, 2016 4:59 am
Forum: Moved from Get Satisfaction
Topic: AngularJS: How to get the value of selected list item
Replies: 11
Views: 1268

AngularJS: How to get the value of selected list item

Hi Hawk, You did not pass "connection" (current item of array) to the function. Thus you can not get current item values. You need to: 1 pass "connection" to the function in "ng-click" attribute. pre consolelog(connection); /pre 2 add "connection" parameter to...
by Yurii Orishchuk
Fri Apr 22, 2016 12:32 am
Forum: Moved from Get Satisfaction
Topic: multiple collums in my database collection
Replies: 2
Views: 437

multiple collums in my database collection

Hello, As i can see you don't have "owner" request parameter in body section. If so, you need: 1 Open "create" service. 2 Navigate to "request" tab. 3 Navigate to "body" subtab. 4 Add "owner" request parameter. Details on screen shot: http://prntscr....
by Yurii Orishchuk
Wed Apr 06, 2016 10:52 pm
Forum: Moved from Get Satisfaction
Topic: sendgrid mail too long
Replies: 16
Views: 2161

sendgrid mail too long

Hi Carrie, You get this error, cause of there is some limitation for url parameters. Please try to move your "text" request parameter from "query string" request part to "body" part. Here is a screen shot details: 1 "query string" part: http://prntscr.com/ap24...
by Yurii Orishchuk
Wed Apr 06, 2016 10:18 pm
Forum: Moved from Get Satisfaction
Topic: Uncaught ReferenceError: ToastPlugin is not defined
Replies: 41
Views: 4011

Uncaught ReferenceError: ToastPlugin is not defined

Hi Yatin, To test any cordova-based plugin you need to run your app on device as installed binary. Unfortunatly you can not test it in the browser or in Appery.io Tester app. So, basic plan for your case is: 1 download plugin zip. 2 upload it to Appery.io as cordova plugin. 3 open "app settings...
by Yurii Orishchuk
Wed Apr 06, 2016 10:06 pm
Forum: Moved from Get Satisfaction
Topic: My service tests out okay but fails in my app
Replies: 13
Views: 1547

My service tests out okay but fails in my app

Hi Joni,

Yes you are right Appery.io DB API will generate an error if you will try to send incorrect format for "date" type field.

Note: correct format for "date" type field is "2011-02-15 01:02:03.004"

Regards.

by Yurii Orishchuk
Mon Mar 28, 2016 3:47 am
Forum: Moved from Get Satisfaction
Topic: Infinite Scroll: Uncaught ReferenceError: onScrollHandler is not defined
Replies: 1
Views: 376

Infinite Scroll: Uncaught ReferenceError: onScrollHandler is not defined

Hi Leonardo, 1 It seems your global "onScrollHandler" function is not defined. You can try to replace "onScrollHandler" with "self.onScrollHandler" everywhere. 2 Also you need to check if you have JS asset with JS code described in part with title "Adding new JavaS...
by Yurii Orishchuk
Mon Mar 28, 2016 3:25 am
Forum: Moved from Get Satisfaction
Topic: Get name from visible carosoul
Replies: 3
Views: 524

Get name from visible carosoul

Hi Moe, You can use following JS code to get current carousel item text for the the specified carousel: pre &#47;&#47;Where "mobilecarousel_420" is your carousel name&#46; var carousel = jQuery('[name="mobilecarousel_420"]'); var activeItem = carousel&#46;find(&qu...
by Yurii Orishchuk
Fri Nov 20, 2015 6:06 am
Forum: Moved from Get Satisfaction
Topic: How do I check if the session token is still active?
Replies: 35
Views: 3362

How do I check if the session token is still active?

Hi Jack, You need to use following syntax for invoking service datasource with parameters: pre var request = { &#47;&#47;Here you can specify header parameters headers: {someHeader: "someValue"}, &#47;&#47;Specify url string parameters&#46; (works in all HTTP methods) p...
by Yurii Orishchuk
Mon Nov 02, 2015 5:58 am
Forum: Moved from Get Satisfaction
Topic: Push Notification query channel within rest service
Replies: 11
Views: 1246

Push Notification query channel within rest service

Hi Vinny, It's better to test solution on the other app. You need just return integer value for the channel. So in the JS code you can use following: pre return parseInt(value); /pre Details: http://prntscr.com/8xzv6d/direct Also after these changes - check actual request in the browser debugger net...
by Yurii Orishchuk
Fri Oct 30, 2015 6:00 am
Forum: Moved from Get Satisfaction
Topic: Push Notification query channel within rest service
Replies: 11
Views: 1246

Push Notification query channel within rest service

Hi Vinny,

At first, please get to work filter based only on "channels". Then you can complicate it step-by-step.

Please configure your "sendPush" service like on following screenshot:

http://prntscr.com/8wwrc0/direct

Regards.

by Yurii Orishchuk
Fri Oct 30, 2015 6:00 am
Forum: Moved from Get Satisfaction
Topic: I can't get a service response for my read files service
Replies: 1
Views: 353

I can't get a service response for my read files service

Hi Ron, You use "read" service without idi(file_name). Thus you have this error. You need to fill "file_name" request parameter with certain file name and then you will get a response. Please try following: 1 open your DB on files collection. 2 Find any file from files collection...
by Yurii Orishchuk
Fri Oct 23, 2015 8:33 pm
Forum: Moved from Get Satisfaction
Topic: returning from panel scrolls to top of page
Replies: 5
Views: 651

returning from panel scrolls to top of page

Here is a solution to restore scrollTop after panel close. 1 on list item "click" add JS even handler with following js code: Details: http://prntscr.com/8u98e2/direct pre self&#46;storedTopScroll = jQuery(window)&#46;scrollTop(); /pre 2 Put this event handler to be before event ha...
by Yurii Orishchuk
Wed Oct 21, 2015 7:10 pm
Forum: Moved from Get Satisfaction
Topic: Email the value of "checked" checkbox fields from a custom Form
Replies: 8
Views: 779

Email the value of "checked" checkbox fields from a custom Form

Hi Ed, 1 For text box you can get values(stored in this text box) with code: pre Apperyio("EventTitle")&#46;val(); /pre 2 For checkboxed - you can get checked or not this checkbox. pre Apperyio("mobilecheckbox_233")&#46;find("input")&#46;prop("checked&q...
by Yurii Orishchuk
Wed Oct 14, 2015 5:01 am
Forum: Moved from Get Satisfaction
Topic: What to do to get carousel to rotate images automatically
Replies: 19
Views: 1712

What to do to get carousel to rotate images automatically

Hi Danny, If you want to automatically change slides you can use following solution: 1 Open page where you have this carousel component. 2 Add "Page show" event handler. 3 Populate this handler with following JS code: pre var onDelay = function(){ &#47;&#47;where "mobilecarous...
by Yurii Orishchuk
Wed Sep 30, 2015 5:02 am
Forum: Moved from Get Satisfaction
Topic: Text Messaging App returns 'Bad Request'
Replies: 12
Views: 1325

Text Messaging App returns 'Bad Request'

Hi Hawk, I've checked your implementation and see that you send credentials in URL like: pre http:&#47;&#47;user:password@domain&#46;com/&#46;&#46;&#46; /pre This is not working anymore with Appery.io proxy that you use. You need to implement base authorization "Authoriz...
by Yurii Orishchuk
Sun Sep 27, 2015 11:59 pm
Forum: Moved from Get Satisfaction
Topic: Popup on Google Map icons
Replies: 23
Views: 2435

Popup on Google Map icons

Hi Blair, Sorry for the huge delay. So your code works correctly except of deleting of markers? If so you need to add(Every type you create marker) to the array. And then you can remove all markers in this array. Here is your modified code: precode if (!self&#46;markers) self&#46;markers = [...
by Yurii Orishchuk
Thu Sep 24, 2015 5:02 am
Forum: Moved from Get Satisfaction
Topic: Select Menu and Mapping Anomailies
Replies: 6
Views: 783

Select Menu and Mapping Anomailies

Hi Jack,

If you want to debug it you need to find a reason of this problem by narrow this problem.

So please leave just one datasource invokation that fill these selects.

Regards

by Yurii Orishchuk
Mon Sep 21, 2015 5:01 am
Forum: Moved from Get Satisfaction
Topic: Select Menu and Mapping Anomailies
Replies: 6
Views: 783

Select Menu and Mapping Anomailies

Hi Jack,

As i can see on item-click - you invoked 3 services.

Please try to leave just one of them(that fills these selects)

It seems several datasources change your selects at different time thus you have such unpredictable result.

Regards.

by Yurii Orishchuk
Wed Sep 16, 2015 4:59 am
Forum: Moved from Get Satisfaction
Topic: Select Menu and Mapping Anomailies
Replies: 6
Views: 783

Select Menu and Mapping Anomailies

Hi Jack,

I've tried to click on item, and got following result:

http://prntscr.com/8guaht/direct

Could you please specify what is not correct in this result?

And how it should be correct.

Regards.

by Yurii Orishchuk
Thu Sep 10, 2015 5:01 am
Forum: Moved from Get Satisfaction
Topic: FILE
Replies: 5
Views: 570

FILE

Hi Deon, Sorry for this delay, You should add following response parameters(see screen shot): http://prntscr.com/8elg01/direct Also you can do it automatically: 1 Upload file 2 Find request in browser debugger network tab 3 Copy actual service response. 4 Past this actual response in the service &qu...
by Yurii Orishchuk
Tue Sep 08, 2015 9:36 pm
Forum: Moved from Get Satisfaction
Topic: voting and providing user with the results of likes
Replies: 7
Views: 804

voting and providing user with the results of likes

Hello,

Yes, this base solution is still applicable for Appery.io JQM apps.

So please follow these steps to get working needed jQuery plugin in your app.

Regards.

by Yurii Orishchuk
Tue Sep 01, 2015 5:00 am
Forum: Moved from Get Satisfaction
Topic: Large initial database
Replies: 3
Views: 610

Large initial database

Hi Bruno, Unfortunatly you can not prepopulate SQLite with app installing. But you can implement such logic in your app. Here is a basic plan: 1 Add JS asset to your APP. Inside this JS asset you need to populate all needed data. 2 In app run (for example "page load" for start page) you ne...
by Yurii Orishchuk
Tue Sep 01, 2015 5:00 am
Forum: Moved from Get Satisfaction
Topic: Popup on Google Map icons
Replies: 23
Views: 2435

Popup on Google Map icons

Hi Blair, You access "coordsArray " inside event handler. In this event handler "i" does not stores correct value. Details: http://prntscr.com/8b6rw2/direct You need to wrap event handler with some function and pass there needed index or "i". Example of code: precode va...
by Yurii Orishchuk
Tue Sep 01, 2015 5:00 am
Forum: Moved from Get Satisfaction
Topic: How to add custom "File Name" to an image/file being uploaded?
Replies: 77
Views: 5908

How to add custom "File Name" to an image/file being uploaded?

Hi Xman,

Unfortunatly we don't have such solution at this time.

You need to implement it yourself.

Regards.

by Yurii Orishchuk
Tue Sep 01, 2015 5:00 am
Forum: Moved from Get Satisfaction
Topic: Appery().val() has stopped updating selected item in dropdown selector lists
Replies: 31
Views: 2791

Appery().val() has stopped updating selected item in dropdown selector lists

Hi Daren,

You sad it worked for "default SelectMenu" but not works for "my SelectMenu object" it does not works.

Please specify what is "my SelectMenu object". Is that custom HTML select? Or component from appery.io toolbar?

Regards.

by Yurii Orishchuk
Mon Aug 31, 2015 5:00 am
Forum: Moved from Get Satisfaction
Topic: How to update Local Storage Array
Replies: 29
Views: 3256

How to update Local Storage Array

Hi Randy,

That's what i see in your code, take a look on following screen shot:

http://prntscr.com/8arlyy/direct

Regards.

by Yurii Orishchuk
Thu Aug 27, 2015 5:00 am
Forum: Moved from Get Satisfaction
Topic: How to update Local Storage Array
Replies: 29
Views: 3256

How to update Local Storage Array

Hi Randy, as i can see you have storage with name "votedReturn". In your case you have: storage "liveEventArray" with type - array of "liveEvent" model(where you have "votedReturn" parameter ) So your code will not work(cause of you use "votedReturn"...
by Yurii Orishchuk
Mon Aug 24, 2015 5:40 am
Forum: Moved from Get Satisfaction
Topic: Issue with incorrect rotation of image from camera service
Replies: 42
Views: 4317

Issue with incorrect rotation of image from camera service

Hi Sean, Unfortunatly such logic is not implemented with Appery.io code. Thus you need to implement it yourself in accordance to your needs. Please try following: 1 Add HTML component on the page. 2 Make this html component as "Div" type. 3 Set this component dimensions with 400px and 400p...
by Yurii Orishchuk
Mon Aug 24, 2015 5:40 am
Forum: Moved from Get Satisfaction
Topic: Run Time setting of themes - color schemes
Replies: 13
Views: 1513

Run Time setting of themes - color schemes

Hello,

Your problem is not clear at this time.

Please specify more details about your problem.

Regards.

by Yurii Orishchuk
Mon Aug 24, 2015 5:40 am
Forum: Moved from Get Satisfaction
Topic: Change permissions predefined collection
Replies: 3
Views: 528

Change permissions predefined collection

Hi Terry, In your case you need to use "User update" service instead of "Signup". Please read more about this service here: https://devcenter.appery.io/documenta... To add some users to current acl you need: 1 Read current acl object and parse it. 2 Add to this object needed user...
by Yurii Orishchuk
Mon Aug 24, 2015 5:39 am
Forum: Moved from Get Satisfaction
Topic: Infinite scroll does not work on scroll
Replies: 9
Views: 1130

Infinite scroll does not work on scroll

Hi Hawk, Please check your app. Josh, please use following JS code in "page show" event: precode &#47;&#47;Here you can set the needed "limit"&#46; Currently it's set to 6&#46; var infiniteList = {limit: "10", skip: "0", noMoreItems: undefined}...
by Yurii Orishchuk
Mon Aug 24, 2015 5:39 am
Forum: Moved from Get Satisfaction
Topic: contentLabel display issue in Google maps marker
Replies: 13
Views: 1322

contentLabel display issue in Google maps marker

HI Vinny, To remove marker you need to handle it's object in some variable/array. For this goal you need to add any new marker in array. Then you can clear this array with code: pre marker&#46;setMap(null); /pre Please read more about solution here: https://developers.google.com/maps/do... Regar...
by Yurii Orishchuk
Fri Aug 21, 2015 5:05 am
Forum: Moved from Get Satisfaction
Topic: How to update Local Storage Array
Replies: 29
Views: 3256

How to update Local Storage Array

Hi Randy, If following code: pre Apperyio&#46;storage&#46;votedReturn&#46;update("$['thisVote']", true); /pre "votedReturn" is your storage name. If you have another storage name you should use your one. Also "thisVote" is your storage attribute that you wan...
by Yurii Orishchuk
Thu Aug 20, 2015 4:56 am
Forum: Moved from Get Satisfaction
Topic: Issue with incorrect rotation of image from camera service
Replies: 42
Views: 4317

Issue with incorrect rotation of image from camera service

Hello,

You need to use transform rotate CSS style to rotate the image.

Please read more about this style here: http://www.w3schools.com/cssref/css3_...

Regards

by Yurii Orishchuk
Tue Aug 18, 2015 4:57 am
Forum: Moved from Get Satisfaction
Topic: Issue with incorrect rotation of image from camera service
Replies: 42
Views: 4317

Issue with incorrect rotation of image from camera service

Hello, You can just check whether device width more then device height. Example of code: pre var deviceY = $(window)&#46;height(); var deviceX = $(window)&#46;width() if(deviceX deviceY){ &#47;&#47;here you can make a logic when width more then height } else{ &#47;&#47;here y...
by Yurii Orishchuk
Tue Aug 18, 2015 4:54 am
Forum: Moved from Get Satisfaction
Topic: Listitem in sendgrid email
Replies: 19
Views: 1936

Listitem in sendgrid email

Hi Johnny, Please use following JS code in JS section of this link: pre &#47;&#47;Note: you need to replace "dogsStorage" with your storage name&#46; var someStorage = Apperyio&#46;storage&#46;dogsStorage&#46;get(); var storageText = JSON&#46;stringify(someStora...
by Yurii Orishchuk
Tue Aug 18, 2015 4:54 am
Forum: Moved from Get Satisfaction
Topic: Issue with incorrect rotation of image from camera service
Replies: 42
Views: 4317

Issue with incorrect rotation of image from camera service

Hello, You can just check whether device width more then device height. Example of code: ''' var deviceY = $(window).height();prevar deviceX = $(window)&#46;width()/pre if(deviceX > deviceY){ //here you can make a logic when width more then height } else{ //here you can make a logic when width l...
by Yurii Orishchuk
Mon Aug 17, 2015 4:48 am
Forum: Moved from Get Satisfaction
Topic: Bootstrap and Angular.JS - send email button
Replies: 24
Views: 2431

Bootstrap and Angular.JS - send email button

Hello, In common way to run JS function in angular you need: 1 specify function in scope. Details: http://prntscr.com/85f240/direct 2 invoke this function on some event.. For example for button click you can activate this component then add "ng-click" attribute with value "yourFunctio...
by Yurii Orishchuk
Mon Aug 17, 2015 4:47 am
Forum: Moved from Get Satisfaction
Topic: Appery PushPlugin and how to manage onNotification events
Replies: 7
Views: 706

Appery PushPlugin and how to manage onNotification events

Hi Fernando, 1 No, you can not send message inside push notification. Push only uses to notify user about some event. Then user open app and app get update from remote server about this update. 2 Unfortunatly you can not do it with built-in functionality. 3 Please add us more details (screen shots) ...
by Yurii Orishchuk
Wed Aug 12, 2015 11:42 pm
Forum: Moved from Get Satisfaction
Topic: bug in appery code - component-manager.js, and mapping-impl.js for RadioGroup Objects
Replies: 3
Views: 516

bug in appery code - component-manager.js, and mapping-impl.js for RadioGroup Objects

Hi Joseph,

Could you please specify steps to reproduce this problem in the app?

Regards.

by Yurii Orishchuk
Mon Aug 10, 2015 10:00 am
Forum: Moved from Get Satisfaction
Topic: Upload local file to database files collection
Replies: 19
Views: 1789

Upload local file to database files collection

Hi Jack,

Base64 part of your SOURCE is:

pre

JVBERi0xLjMKMyAwIG9iago8PC9UeXBlIC9QYWdlCi9QYXJ&#46;&#46;&#46;plIDE5Ci9Sb290IDE4IDAgUgovSW5mbyAxNyAwIFIKPj4Kc3RhcnR4cmVmCjE4MzgKJSVFT0Y=

/pre

So you need to cut this part before converting it to blob.

Regards

by Yurii Orishchuk
Mon Aug 10, 2015 4:58 am
Forum: Moved from Get Satisfaction
Topic: Run Time setting of themes - color schemes
Replies: 13
Views: 1513

Run Time setting of themes - color schemes

Hi Ave, Please try following solution: 1 Import needed themes. Details: http://prntscr.com/82rygl/direct 2 Create new JS asset. 3 Populate it with following JS code: precode var themes = [ "dendrite", "ios-like", "gelato", "flat-ui", "ios7", "jq...
by Yurii Orishchuk
Mon Aug 10, 2015 4:24 am
Forum: Moved from Get Satisfaction
Topic: Running update services
Replies: 5
Views: 679

Running update services

Hi Nick,

Please open browser debugger on network tab and find update service request.

Then show us screen shots where we can see following info:

1 URL.
2 all headers.
3 all request parameters.
4 all response.

Regards.

by Yurii Orishchuk
Mon Aug 10, 2015 4:10 am
Forum: Moved from Get Satisfaction
Topic: API Level 19
Replies: 8
Views: 924

API Level 19

HI M&M, To set android 2.2 version available you can do following: 1 Open project sources. 2 Open file : ANDROID-projectName-AndroidManifest.xml Details: http://prntscr.com/7mwfpg/direct 3 Edit following line: precode <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="...
by Yurii Orishchuk
Wed Aug 05, 2015 2:01 am
Forum: Moved from Get Satisfaction
Topic: How can I have the user upload their own photo and have that photo stored on the database so that each user can have his
Replies: 43
Views: 3834

How can I have the user upload their own photo and have that photo stored on the database so that each user can have his

Hi Joe, Here is JS code how you can get image from first image, resize it and then put it source into another component: precode &#47;&#47;Get img component&#46; You should replace "mobileimage_1" with your img component name&#46; var img = Apperyio("mobileimage_152&qu...
by Yurii Orishchuk
Tue Aug 04, 2015 3:23 am
Forum: Moved from Get Satisfaction
Topic: Geocoding Tutorial
Replies: 6
Views: 830

Geocoding Tutorial

Asif,

If you want to use "POST" method you need to send it with given in tutorial way.

Please check if you have correctly set your service.

Details: http://prntscr.com/80l1su/direct

Regards.

by Yurii Orishchuk
Tue Aug 04, 2015 2:46 am
Forum: Moved from Get Satisfaction
Topic: Geocoding Tutorial
Replies: 6
Views: 830

Geocoding Tutorial

Hi Asif, pre var latitude = requestParams["latitude"]; var longitude = requestParams["longitude"]; var radius = requestParams["radius"]; /pre If you use it in this way you need to pass parameters in "request string" section. Please add this parameters to "...
by Yurii Orishchuk
Tue Aug 04, 2015 2:37 am
Forum: Moved from Get Satisfaction
Topic: Reponse area one item error
Replies: 13
Views: 1392

Reponse area one item error

Hi Hein, Here is workaround for this problem: Add to your service datasource "success" "javascript" event handler before mapping. Details: http://prntscr.com/615h4s/direct Populate this javascript with following JS code: Details: http://prntscr.com/615ik7/direct pre &#47;&...
by Yurii Orishchuk
Tue Aug 04, 2015 2:03 am
Forum: Moved from Get Satisfaction
Topic: Proper use of Index
Replies: 9
Views: 1074

Proper use of Index

Hi Robert, You can use "limit" and "skip" parameters for the server code in following way: pre params&#46;criteria = { $and: [ &#47;&#47;First criteria, you need to replace it with yours&#46; {name: "lala"}, ] }; &#47;&#47;For using projection pa...
by Yurii Orishchuk
Mon Aug 03, 2015 4:00 am
Forum: Moved from Get Satisfaction
Topic: create new users collection?
Replies: 12
Views: 1498

create new users collection?

Jack, You need to put session token in some storage. For this goal: 1 Open storage and mode inteface. 2 Add storage "sessionToken" with type "string". 3 Then open login service and click "Success" mapping. 4 Make link from session token response parameter to "sessi...
by Yurii Orishchuk
Mon Aug 03, 2015 3:13 am
Forum: Moved from Get Satisfaction
Topic: create new users collection?
Replies: 12
Views: 1498

create new users collection?

Hi Jack,

You use " X-Appery-Database-Id" parameter in headers.

But correct is: "X-Appery-Database-Id"

You need to delete whitespace in the beginning on the this parameter name.

Regards.

by Yurii Orishchuk
Mon Aug 03, 2015 3:13 am
Forum: Moved from Get Satisfaction
Topic: cycle through all users in database
Replies: 33
Views: 2819

cycle through all users in database

Hi Jack,

You use " X-Appery-Database-Id" parameter in headers.

But correct is: "X-Appery-Database-Id"

You need to delete whitespace in the beginning on the this parameter name.

Regards.

by Yurii Orishchuk
Mon Aug 03, 2015 2:35 am
Forum: Moved from Get Satisfaction
Topic: Proper use of Index
Replies: 9
Views: 1074

Proper use of Index

Hi Robert, It's hard to say why your where parameter not passed correctly to DB service Please show us more info about your implementation: 1 Server code that you use. 2 How you invoke server code. Also please specify does this service works when you test it in server code tester(button "SAVE a...
by Yurii Orishchuk
Sun Aug 02, 2015 9:59 pm
Forum: Moved from Get Satisfaction
Topic: Infinite scroll does not work on scroll
Replies: 9
Views: 1130

Infinite scroll does not work on scroll

Hi Hawk,

Solution above should fix this problem(with different start page).

Please show us your app public link and describe steps to reproduce this problem in your app.

Regards.

by Yurii Orishchuk
Fri Jul 31, 2015 2:00 am
Forum: Moved from Get Satisfaction
Topic: user session login logout
Replies: 9
Views: 947

user session login logout

Hi Mike, I've checked it and unfortunatly it's a bug. We are posted and will respond you about any update here. Also here is a workaround to handle this event: 1 Add new JS asset. 2 Populate it with following JS code: pre $(function(){ var onPagebeforeload = function(){ &#47;&#47;Here you sh...
by Yurii Orishchuk
Fri Jul 31, 2015 12:53 am
Forum: Moved from Get Satisfaction
Topic: How do I check if the session token is still active?
Replies: 35
Views: 3362

How do I check if the session token is still active?

Hi Joe, You can listen jQuery global ajax start event. Details: https://api.jquery.com/ajaxStart/ Here is a solution to set some localstorage to true after 120 min of inactivity. 1 Create new JS asset. 2 Populate it with following JS code: pre var timeOut = 120 * 60 * 1000; var onTimeout = function(...
by Yurii Orishchuk
Thu Jul 30, 2015 4:52 am
Forum: Moved from Get Satisfaction
Topic: issue with list item pointing
Replies: 4
Views: 575

issue with list item pointing

Hi Manish, Problem you have is in user Appery("componentName") code where it could not be using. pre Appery("statusTxt1")&#46;show(); /pre Code above gets only first component on the page. If you want to get this component in accordance to populated list item you need: 1 Open...
by Yurii Orishchuk
Thu Jul 30, 2015 4:36 am
Forum: Moved from Get Satisfaction
Topic: Cant link a file column to file in files collection
Replies: 8
Views: 890

Cant link a file column to file in files collection

Hi Asif,

Yes if you use this "upload" service - your service responds with these parameters.

Please check upload service if you don't have such parameters you need add them manually.

Details: http://prntscr.com/7yl3xv/direct

Regards.

by Yurii Orishchuk
Thu Jul 30, 2015 4:11 am
Forum: Moved from Get Satisfaction
Topic: Question about Alternative User session ?
Replies: 5
Views: 605

Question about Alternative User session ?

Hi Sami, Api key is not thing for security. You can obfuscate JS code it will complicate to find key in your code. But it's not a solution in security reason. You can use appery.io login and then "acl" field to give access to needed users. Also you can implement Server code that will imple...
by Yurii Orishchuk
Thu Jul 30, 2015 2:39 am
Forum: Moved from Get Satisfaction
Topic: How can I combine multiple text fields so their contents fill the text box of the SendGrid API?
Replies: 15
Views: 1505

How can I combine multiple text fields so their contents fill the text box of the SendGrid API?

Hi Preston,

You can use following JS code:

pre

return fullText&#46;replace(/"/gi, "");

/pre

Regards.

by Yurii Orishchuk
Thu Jul 30, 2015 1:49 am
Forum: Moved from Get Satisfaction
Topic: Server code fails to process multiple items
Replies: 10
Views: 1272

Server code fails to process multiple items

Hi Mark,

Please check what you have in request body with following line of code:

pre

console&#46;log(request&#46;body);

/pre

Then you can find result in server code "Trace" tab.
Details: http://prntscr.com/7ynjhb/direct

Regards

by Yurii Orishchuk
Thu Jul 30, 2015 12:05 am
Forum: Moved from Get Satisfaction
Topic: Geolocation Service
Replies: 9
Views: 689

Geolocation Service

Hi Deon, It's geolocation plugin functionality. And Appery.io just passes response parameters to geolocation service. It's good practice cause of some parameters could be fixed with plugin update and then it will be immediately available in Appery.io app. Also you can get these parameters and make c...
by Yurii Orishchuk
Wed Jul 29, 2015 11:54 pm
Forum: Moved from Get Satisfaction
Topic: Infinite scroll does not work on scroll
Replies: 9
Views: 1130

Infinite scroll does not work on scroll

Hi Hawk, Please try to replace your "page show" event handler pre &#47;&#47;Here you can set the needed "limit"&#46; Currently it's set to 6&#46; var infiniteList = {limit: "10", skip: "0", noMoreItems: undefined}; Apperyio&#46;storage&...
by Yurii Orishchuk
Wed Jul 29, 2015 12:36 pm
Forum: Moved from Get Satisfaction
Topic: Sum of Variables in a List of Same Component
Replies: 7
Views: 744

Sum of Variables in a List of Same Component

Hi Jack,

In this case "time" is DB collection field where you store a number(like 60, 90, 180 etc..).

Regards.

by Yurii Orishchuk
Wed Jul 29, 2015 1:43 am
Forum: Moved from Get Satisfaction
Topic: I need to be able to keep a user signed in.
Replies: 6
Views: 650

I need to be able to keep a user signed in.

Hi Avery,

Here is a common way to implement it:

1 User login into db.
2 Store login and password in local storage.
3 Every time you have opened the app - make login with stored user and password or use existent sessionToken.

Regards.

by Yurii Orishchuk
Wed Jul 29, 2015 1:21 am
Forum: Moved from Get Satisfaction
Topic: Rest Service not found
Replies: 9
Views: 865

Rest Service not found

Hi Dandy,

I tried the same but i can not reproduce this issue.

Could you please describe detailed steps to reproduce this issue?

Thanks.

by Yurii Orishchuk
Wed Jul 29, 2015 1:05 am
Forum: Moved from Get Satisfaction
Topic: Image file use in the application
Replies: 16
Views: 1476

Image file use in the application

Hi RK, here is correct workflow: 1 Use Custom collection like "Images". With field "imageBase64" string type. 2 Store inside this "images" collection row with correct base64 source to image file. 3 Use read/list/query service to fetch row/rows from this collection. 4 In...
by Yurii Orishchuk
Wed Jul 29, 2015 12:09 am
Forum: Moved from Get Satisfaction
Topic: If I get the Paypal Api to work...
Replies: 5
Views: 644

If I get the Paypal Api to work...

Hi TonyS,

Yes.

Please read about supported platforms and browsers here. https://devcenter.appery.io/documenta...

Regards.

by Yurii Orishchuk
Tue Jul 28, 2015 2:02 am
Forum: Moved from Get Satisfaction
Topic: Drop-down Menu?
Replies: 8
Views: 798

Drop-down Menu?

Hello, What i tried: 1 Populate select with service datasource. 2 After select was populated - click on it and change value to any item from suggested list. 3 Get "Value change" event. May be you mean you don't have "value change" after service populated your select? If so - you ...
by Yurii Orishchuk
Tue Jul 28, 2015 1:31 am
Forum: Moved from Get Satisfaction
Topic: Can I write to my Phone's Contacts Using the Contact Service
Replies: 4
Views: 425

Can I write to my Phone's Contacts Using the Contact Service

Hi Deon, Yes contacts service only gets contacts from device.. Here is a JS code to add needed contact to device: pre &#47;&#47;Here contact details object&#46; var testContact = {"displayName": "Test User1"}; var myContact = navigator&#46;contacts&#46;create(...
by Yurii Orishchuk
Tue Jul 28, 2015 12:53 am
Forum: Moved from Get Satisfaction
Topic: Proper use of Index
Replies: 9
Views: 1074

Proper use of Index

Hi Robert,

index is not a problem for your case.

It seems you just query collection with your search criteria incorrectly.

Please show us your server code JS code.

Regards.

by Yurii Orishchuk
Tue Jul 28, 2015 12:37 am
Forum: Moved from Get Satisfaction
Topic: Not getting either a fail or completion event from a rest service
Replies: 4
Views: 503

Not getting either a fail or completion event from a rest service

Hi Bob,

Yes, google map component is to big to be embed into binary. Also it needs some online sources like map pictures etc..

So unfortunatly google map component could not work without internet connection.

Regards.

by Yurii Orishchuk
Tue Jul 28, 2015 12:32 am
Forum: Moved from Get Satisfaction
Topic: Collapsblock header Taphold Event issues
Replies: 4
Views: 452

Collapsblock header Taphold Event issues

Hi Jack, You can use following JS code to attach event: pre &#47;&#47;Where "mobilecollapsblockheader_149' is your collapsible header component name&#46; Apperyio("mobilecollapsblockheader_149")&#46;bind("taphold", onTapHold); /pre I tried it on my phone and ...
by Yurii Orishchuk
Mon Jul 27, 2015 3:47 am
Forum: Moved from Get Satisfaction
Topic: my application working on my computer and not working in my mobile
Replies: 12
Views: 1045

my application working on my computer and not working in my mobile

Hello,

So your app built correctly.

You need download this file and install on the device.

Regards.

by Yurii Orishchuk
Mon Jul 27, 2015 3:36 am
Forum: Moved from Get Satisfaction
Topic: Appery().val() has stopped updating selected item in dropdown selector lists
Replies: 31
Views: 2791

Appery().val() has stopped updating selected item in dropdown selector lists

Hi Chris,

I've just checked and following code works as expected:

pre

Apperyio("mobileselectmenu_141")&#46;val("Vici")&#46;selectmenu('refresh', true)

/pre

Please give us your app public link and describe steps to reproduce this issue in your app.

Regards.

by Yurii Orishchuk
Mon Jul 27, 2015 3:22 am
Forum: Moved from Get Satisfaction
Topic: How to call mapping with JS
Replies: 7
Views: 793

How to call mapping with JS

Hi Jack,

1 yes - "homeScreen" should always as "homeScreen"

2 "startScreen" is page where you want to invoke mapping.

3 "directions" should be always "directions"

Regards.

by Yurii Orishchuk
Mon Jul 27, 2015 3:09 am
Forum: Moved from Get Satisfaction
Topic: Insert Device collection from Appery DB Oracle DB
Replies: 5
Views: 499

Insert Device collection from Appery DB Oracle DB

Hi Vibhum, You can get details about goal device(by id) with following CURL: pre curl -X GET \ -H "Content-Type: application/json" \ -H "X-Appery-App-Id: e51f973c-aad9-4102-9f39-349c25264277" \ https:&#47;&#47;api&#46;appery&#46;io/rest/push/reg/356062053530044%3B...
by Yurii Orishchuk
Mon Jul 27, 2015 2:49 am
Forum: Moved from Get Satisfaction
Topic: Cant link a file column to file in files collection
Replies: 8
Views: 890

Cant link a file column to file in files collection

Hi Asif, Here is a common plan to upload file and store it in "file" type collection field. 1 Upload file and fetch "fileName" value from it response. Store it in some storage. 2 In update/create service you need to link value from storage(1st step) to file-field "fileName&q...
by Yurii Orishchuk
Fri Jul 24, 2015 1:33 am
Forum: Moved from Get Satisfaction
Topic: How to set up an android webview for debugging
Replies: 5
Views: 579

How to set up an android webview for debugging

Hi Miguel,

Weinre debugger should work on android and ios.

And you don't need to install any plugin for this functionality.

Please learn more about how to use WEINRE in Appery.io app here:
https://devcenter.appery.io/documenta...

Regards.

by Yurii Orishchuk
Fri Jul 24, 2015 1:28 am
Forum: Moved from Get Satisfaction
Topic: Slow data retrieval and white screen after Splash page
Replies: 8
Views: 904

Slow data retrieval and white screen after Splash page

Hello,

Unfortunatly there was an issue with weinre debugger.

Currently this problem was fixed and should work fast.

Regards.

by Yurii Orishchuk
Fri Jul 24, 2015 1:21 am
Forum: Moved from Get Satisfaction
Topic: BUILD ERROR
Replies: 7
Views: 629

BUILD ERROR

Hi Romeo, Here is how you can add jQuery to angular Appery.io app: 1 Open Application settings interface. Details: http://prntscr.com/7wadls/direct 2 Add new external resource with URL: Details: http://prntscr.com/7waego/direct pre https:&#47;&#47;ajax&#46;googleapis&#46;com/ajax/lib...
by Yurii Orishchuk
Thu Jul 23, 2015 2:00 am
Forum: Moved from Get Satisfaction
Topic: Server code fails to process multiple items
Replies: 10
Views: 1272

Server code fails to process multiple items

Hi Mark,

It seems you use Query string parameters, you need to use BODY parameters instead.

Details: http://prntscr.com/7vw3o0/direct

Regards.

by Yurii Orishchuk
Thu Jul 23, 2015 1:29 am
Forum: Moved from Get Satisfaction
Topic: limit characters returned in rss detail feed
Replies: 4
Views: 572

limit characters returned in rss detail feed

Hi Simon, It's simply to restrict any string with following JS code: pre var str = "hello world"; var restrictedStr = str&#46;substr(1, 5); console&#46;log(restrictedStr); /pre See details about "substr" method here: http://www.w3schools.com/jsref/jsref_... Regards.
by Yurii Orishchuk
Thu Jul 23, 2015 12:34 am
Forum: Moved from Get Satisfaction
Topic: Hide Header and Footer via code
Replies: 27
Views: 1871

Hide Header and Footer via code

Hi She,

It seems you use background for ui-content component. If you want to fill all the page with background you need to use ui-page element for this.

Here is a CSS code:

precode

&#46;ui-page{
background: #f00;
}

/code/pre

Regards

by Yurii Orishchuk
Thu Jul 23, 2015 12:06 am
Forum: Moved from Get Satisfaction
Topic: fixing the footer across pages
Replies: 7
Views: 679

fixing the footer across pages

Hi Tony, Footer and header are parts of the page. So when you slide the page all it's parts slides too. If you want something to be on the each page - you need to add your own element in the body tag. Here is a code example: precode var element = '<div style="position: fixed; top: 0px; left: 0p...
by Yurii Orishchuk
Wed Jul 22, 2015 11:49 pm
Forum: Moved from Get Satisfaction
Topic: Multiple upload files new function
Replies: 11
Views: 1048

Multiple upload files new function

Hi Al, If you want to make photo and then upload this photo to Files collection of Appery.io DB you need to follow this tutorial: https://devcenter.appery.io/documenta... Also you need to know that you can upload in this way only one file per request. So to upload several files you need to do it in ...
by Yurii Orishchuk
Mon Jul 20, 2015 11:42 pm
Forum: Moved from Get Satisfaction
Topic: Retrieve Data from a Label in a Collapsible Set for Use in a Query
Replies: 8
Views: 890

Retrieve Data from a Label in a Collapsible Set for Use in a Query

Hi Louis, Thanks for your screen shot: 1 Yes you can add any variables that you need for logic that you want to implement. 2 Not sure about the code(it's hidden with rectangle). 3 Yes you can add any parameters to the filter criteria.. But you need to combine them with "AND" or "OR&qu...
by Yurii Orishchuk
Mon Jul 20, 2015 11:37 pm
Forum: Moved from Get Satisfaction
Topic: How to test if a resource not loaded
Replies: 3
Views: 447

How to test if a resource not loaded

Hi Bob, By default all sources(except of DB services) available locally(from your installed binary app). So jQuery and JQM and all JS assets - will be loaded locally (even when your devices will not have network connection). But if you have any network-depended sources you need to check them before ...
by Yurii Orishchuk
Thu Jul 16, 2015 2:56 am
Forum: Moved from Get Satisfaction
Topic: JS Code Works on Button Click but not on Page Load or Show
Replies: 8
Views: 768

JS Code Works on Button Click but not on Page Load or Show

Hi Louis, As i can see this code should work only with button inside collapsible. It works like - get button, then search nearest collapsible parent. Thus this code will not work in other place than this button "click" event handler. You can try to specify button name (if you have just sin...
by Yurii Orishchuk
Thu Jul 16, 2015 2:15 am
Forum: Moved from Get Satisfaction
Topic: "Invalid Session Token" When Tested
Replies: 5
Views: 596

"Invalid Session Token" When Tested

Hi Nisa,

Please follow this simple tutorial to understand how to work with registration/login processing and then delete functionality(with session token).

https://devcenter.appery.io/tutorials...

Regards.

by Yurii Orishchuk
Thu Jul 16, 2015 2:03 am
Forum: Moved from Get Satisfaction
Topic: resize image before upload to db
Replies: 56
Views: 4422

resize image before upload to db

Hi Nisa, 1 You can not use mapping for upload files. 2 Unfortunatly we don't have such example about how to upload files to 3rd party DB. But Appery.io is phonegap/cordova based and you need to use solution for this platform. Please learn example solution here: http://zacvineyard.com/blog/2011/03/u....
by Yurii Orishchuk
Thu Jul 16, 2015 2:00 am
Forum: Moved from Get Satisfaction
Topic: how to map image from php
Replies: 7
Views: 722

how to map image from php

Hi Nisa, 1 You can not use mapping for upload files. 2 Unfortunatly we don't have such example about how to upload files to 3rd party DB. But Appery.io is phonegap/cordova based and you need to use solution for this platform. Please learn example solution here: http://zacvineyard.com/blog/2011/03/u....
by Yurii Orishchuk
Wed Jul 15, 2015 2:22 am
Forum: Moved from Get Satisfaction
Topic: Drop-down Menu?
Replies: 8
Views: 798

Drop-down Menu?

Hello,

You need to use "Value change" event handler to handle a moment when value in this select component was changed.

Regards.

by Yurii Orishchuk
Tue Jul 14, 2015 2:19 am
Forum: Moved from Get Satisfaction
Topic: Getting distance between two points
Replies: 11
Views: 839

Getting distance between two points

Hi Deon, It seems GS change my code above. Here is a correct to replace: precode if (XHRResponse&#46;status == 200) { &#47;&#47; Get coordinates from the response var lat = JSON&#46;parse(XHRResponse&#46;body)&#46;results[0]&#46;geometry&#46;location&#46;lat; var ...
by Yurii Orishchuk
Mon Jul 13, 2015 3:56 am
Forum: Moved from Get Satisfaction
Topic: Question about Alternative User session ?
Replies: 5
Views: 605

Question about Alternative User session ?

Hi Sami, What do you mean by "database is secure"? If you want to use DB without token - you can not manage ACL with built-it functionality. That is means - every one could access these items(to read or write). You can only restrict it(on client part) with some logic. For example get items...
by Yurii Orishchuk
Mon Jul 13, 2015 1:58 am
Forum: Moved from Get Satisfaction
Topic: Using local storage for item selected from a list
Replies: 3
Views: 421

Using local storage for item selected from a list

Hi Jeff,

Just tried this code and it works correctly.

See more details on the screen shot:

http://prntscr.com/7s00o9/direct

Regards.

by Yurii Orishchuk
Mon Jul 13, 2015 1:43 am
Forum: Moved from Get Satisfaction
Topic: Set value/text for jquery input of type time
Replies: 3
Views: 513

Set value/text for jquery input of type time

Hi Chris, You can use following JS code to get current value from input component: pre var value = Apperyio("mobiletextinput_93")&#46;val(); console&#46;log("value = " + value); /pre And here is is code to set value: pre Apperyio("mobiletextinput_93")&#46;va...
by Yurii Orishchuk
Fri Jul 10, 2015 1:49 am
Forum: Moved from Get Satisfaction
Topic: Hide components when "undefined"
Replies: 5
Views: 658

Hide components when "undefined"

HI Matt,

Please specify more details:

1 Mapping.
2 Where you use this code(on what link).
3 What you expect?
4 What actually you have.

Some screenshots are welcome.

Thanks.

by Yurii Orishchuk
Fri Jul 10, 2015 1:30 am
Forum: Moved from Get Satisfaction
Topic: How can I have the user upload their own photo and have that photo stored on the database so that each user can have his
Replies: 43
Views: 3834

How can I have the user upload their own photo and have that photo stored on the database so that each user can have his

Hi Joe,

Yes, you can set this image into canvas and then make needed manipulations(for example resize) and get base64 source of this changed image.

Please read more details here: http://stackoverflow.com/questions/23...

Regards.

by Yurii Orishchuk
Thu Jul 09, 2015 4:49 am
Forum: Moved from Get Satisfaction
Topic: Logout custom component does not work
Replies: 23
Views: 1633

Logout custom component does not work

Hi Asif, Some information: 1 You can invoke service datasource 2 Service datasource available only on page where it was defined. 3 You can not add datasource to the custom component. So, in your case it will not be work. If you want to implement common implementation with services - you need to use ...
by Yurii Orishchuk
Thu Jul 09, 2015 4:25 am
Forum: Moved from Get Satisfaction
Topic: How can I combine multiple text fields so their contents fill the text box of the SendGrid API?
Replies: 15
Views: 1505

How can I combine multiple text fields so their contents fill the text box of the SendGrid API?

HI Preston, So you just need to add some fields to your app UI and then use these fields to make body of your message. In this case you need: 1 Add needed fields to the APP. 2 Open "Before send" mapping for sendgrid service datasource. 3 Find needed parameter for example body. 4 Click &quo...
by Yurii Orishchuk
Thu Jul 09, 2015 2:58 am
Forum: Moved from Get Satisfaction
Topic: Collapsible block with dynamic content
Replies: 52
Views: 2821

Collapsible block with dynamic content

Hi Deon, Thanks for this clarification. But it's hard to say how to fix it when i can not see implementation. Please give us your app public link and describe steps to reproduce this problem in your app. I guess you just don't get needed value from collapsible header and thus list response is wrong(...
by Yurii Orishchuk
Tue Jul 07, 2015 10:56 pm
Forum: Moved from Get Satisfaction
Topic: Closing an in app browser during oAuth
Replies: 9
Views: 671

Closing an in app browser during oAuth

Hi Deon, Please specify details about your implementation. Where you load 3rd party site? You need to use inApp browser for this goal. In this case you can open site with code(from app context): pre var win = window&#46;open("http:&#47;&#47;google&#46;com/", "_blank&qu...
by Yurii Orishchuk
Tue Jul 07, 2015 9:54 pm
Forum: Moved from Get Satisfaction
Topic: Collapsible block with dynamic content
Replies: 52
Views: 2821

Collapsible block with dynamic content

Hi Deon, I've tried following: 1 Put collapsible on the page. 2 Put list inside the collapsible block. 3 Iterate list component with some "list" service datasource. Page Details: http://prntscr.com/7q12f2/direct Mapping details: http://prntscr.com/7q1409/direct And got the following result...
by Yurii Orishchuk
Tue Jul 07, 2015 9:31 pm
Forum: Moved from Get Satisfaction
Topic: Getting distance between two points
Replies: 11
Views: 839

Getting distance between two points

Hi Deon, If you need just to add distance to current item you can change this part of code(from tutorial): pre if (XHRResponse&#46;status == 200) { &#47;&#47; Get coordinates from the response var lat = JSON&#46;parse(XHRResponse&#46;body)&#46;results[0]&#46;geometry&...
by Yurii Orishchuk
Tue Jul 07, 2015 4:47 am
Forum: Moved from Get Satisfaction
Topic: Setting Local Storage variable that is an Array
Replies: 5
Views: 559

Setting Local Storage variable that is an Array

Hi Mac, Just to add to the Pavels answer. You can use JS code to new any session to session array storage. For example: pre &#47;&#47;That's how to access storages with JS var currentSess = Apperyio&#46;storage&#46;Current_Session&#46;get(); var sessions = Apperyio&#46;storag...
by Yurii Orishchuk
Tue Jul 07, 2015 4:34 am
Forum: Moved from Get Satisfaction
Topic: Limit Fields to Return from a Query - MongoDB
Replies: 9
Views: 951

Limit Fields to Return from a Query - MongoDB

Hi Dongzhi,

Please find this information here: https://devcenter.appery.io/documenta...

Regards.

by Yurii Orishchuk
Tue Jul 07, 2015 4:23 am
Forum: Moved from Get Satisfaction
Topic: How to implement Field level security
Replies: 5
Views: 642

How to implement Field level security

Hi Dongzhi, Unfortunatly secure proxy was designed for other goal(access sensitive information in 3rd party API) and it's not suitable for your case. You can implement it with following plan: 1 Add other collection like "userAccount", add to this collection needed fields(like credits). 2 A...
by Yurii Orishchuk
Tue Jul 07, 2015 3:25 am
Forum: Moved from Get Satisfaction
Topic: Unable to have click event on a select component.
Replies: 29
Views: 2096

Unable to have click event on a select component.

Hi Bruce, You need: 1 Set in your Request parameters to be equal your action response. 1.1 Open service. 1.2 Navigate to test tab. 1.3 Make test to see correct response. 1.5 Click "Import as response". Details: http://prntscr.com/7ppdgc/direct 2 Open goal page. 3 Open service "Success...
by Yurii Orishchuk
Thu Jul 02, 2015 2:20 am
Forum: Moved from Get Satisfaction
Topic: Unable to have click event on a select component.
Replies: 29
Views: 2096

Unable to have click event on a select component.

Hi Bruce,

You have some inconsistent things:

  1. Your service response is array of objects.
    Details: http://prntscr.com/7ns3e3/direct

  2. But actual response is array of strings:
    Details: http://prntscr.com/7ns4oe/direct

    Regards.

by Yurii Orishchuk
Thu Jul 02, 2015 1:49 am
Forum: Moved from Get Satisfaction
Topic: SMS problem
Replies: 17
Views: 1505

SMS problem

Hi Bobby,

I tried this code and works correctly for me.

Could you please specify on what device you test it?

Also, did you test it other device?

Thanks.

by Yurii Orishchuk
Wed Jul 01, 2015 4:56 am
Forum: Moved from Get Satisfaction
Topic: SMS problem
Replies: 17
Views: 1505

SMS problem

Hi Bobby, Please try following JS code: pre &#47;&#47;Where "item_name_label" - label name&#46; var smsText = Apperyio("item_name_label")&#46;text(); &#47;&#47;Place phone number here&#46; Or use dynamic value like in line above&#46; var phone = &q...
by Yurii Orishchuk
Wed Jul 01, 2015 3:12 am
Forum: Moved from Get Satisfaction
Topic: Popup Not Centering on First Attempt
Replies: 8
Views: 611

Popup Not Centering on First Attempt

Hi Marko,

Problem you have is in dynamic content that will change popup(size) after you show it.

So you need change order to:

1 Populate popup with dynamic data.

2 Open popup.

Currently you open popup and then update content.

Regards.

by Yurii Orishchuk
Tue Jun 30, 2015 2:20 am
Forum: Moved from Get Satisfaction
Topic: Carousel with list service
Replies: 12
Views: 1082

Carousel with list service

Hi lstvan,

I've tried that but only see this: http://prntscr.com/7myes4/direct

And there is no such problem.

Please describe additional steps to reproduce this issue in your app.

Thanks.

by Yurii Orishchuk
Mon Jun 29, 2015 4:59 am
Forum: Moved from Get Satisfaction
Topic: Passing Server Response To App
Replies: 3
Views: 380

Passing Server Response To App

Hi Eri, You need: 1 Return needed response(should contain needed information) in your server code. 2 Import server code in the app. 3 On the test tab - click test and then populate response parameters with actual response. 4 Add service on the needed page. 5 Click "Success" event handler a...
by Yurii Orishchuk
Mon Jun 29, 2015 4:12 am
Forum: Moved from Get Satisfaction
Topic: How to get info from next row in table
Replies: 4
Views: 419

How to get info from next row in table

Hi Randy, You need to get iterated parent and get next or previous item. You can try following JS code: pre var table = jQuery(this)&#46;closest("table")&#46;closest('[data-wrapper-for]'); &#47;&#47;To get previous item&#46; var table = table&#46;prev(); &#47;&a...
by Yurii Orishchuk
Mon Jun 29, 2015 3:08 am
Forum: Moved from Get Satisfaction
Topic: Applying CSS to an RSS page in a multipage App.
Replies: 5
Views: 396

Applying CSS to an RSS page in a multipage App.

Hi Yele, You need to set custom CSS rules for the HTML view you have in accordance to what you need. For this goal you can: 1 Set CSS class for the goal component. 2 Use this CSS class to write your own CSS rules. Please pass following tutorials to learn about CSS: http://www.w3schools.com/css/ Rega...
by Yurii Orishchuk
Fri Jun 26, 2015 5:01 am
Forum: Moved from Get Satisfaction
Topic: URL from JSON set to _system
Replies: 7
Views: 575

URL from JSON set to _system

Hi Ben,

Tried following:

1 open google in inappBrowser
2 search anything in inappbrowser with google
3 click on any result to open other domain.
4 Other domain load correctly without any error.

Android 4.1.2

Could you please try the same?

Regards.

by Yurii Orishchuk
Fri Jun 26, 2015 4:58 am
Forum: Moved from Get Satisfaction
Topic: Buttons in footer
Replies: 3
Views: 553

Buttons in footer

Hi Aeneas,

Please use following CSS code in the CSS asset to get your footer buttons block-displayed.

pre

div&#46;ui-footer a&#46;ui-btn{
display: block;
}

/pre

Regards.

by Yurii Orishchuk
Fri Jun 26, 2015 4:29 am
Forum: Moved from Get Satisfaction
Topic: Button with background image
Replies: 15
Views: 1051

Button with background image

Hello, Please try following solution: 1 Activate your button. 2 Set for this button component in properties class "". 3 Add new CSS asset. 4 Populate it with following CSS code: pre /*Where mobilecollapsblockheader_70 is your button name */ html head + body [name=mobilecollapsblockheader_7...
by Yurii Orishchuk
Fri Jun 26, 2015 4:08 am
Forum: Moved from Get Satisfaction
Topic: HTML Component Inheritance
Replies: 15
Views: 1780

HTML Component Inheritance

Hi Aeneas, If you want you select to be the same as in your app - you need to use the same markup. For example like this: precode <div data-role="fieldcontain" class="test_mobileselectmenu_37 ui-field-contain"> <div class="ui-select"><a href="#" role="but...
by Yurii Orishchuk
Fri Jun 26, 2015 3:54 am
Forum: Moved from Get Satisfaction
Topic: How do I check if the session token is still active?
Replies: 35
Views: 3362

How do I check if the session token is still active?

Guus,

Session token could be expired. And you can not handle it with checking token inside user collection.

So it's overkill for this case.

Regards.

by Yurii Orishchuk
Fri Jun 26, 2015 2:47 am
Forum: Moved from Get Satisfaction
Topic: Popup Not Centering on First Attempt
Replies: 8
Views: 611

Popup Not Centering on First Attempt

Hi Marco,

Please give us your app public link and describe steps to reproduce this problem in your app.(open popup).

Thanks.

by Yurii Orishchuk
Fri Jun 26, 2015 2:15 am
Forum: Moved from Get Satisfaction
Topic: Video/gif playing
Replies: 15
Views: 1153

Video/gif playing

Hi She,

If you want to stop playing you need to use following JS code on event you need(when you navigate to other page):

pre

var videos = jQuery('video');
for(var i = 0; i < videos&#46;length; i++){

Code: Select all

videos[i]&#46;pause(); 

};

/pre

Regards.

by Yurii Orishchuk
Wed Jun 24, 2015 5:04 am
Forum: Moved from Get Satisfaction
Topic: Change of header title in appery.io ionic project
Replies: 4
Views: 338

Change of header title in appery.io ionic project

Hi Javier, Here is a solution to change header from screen: 1 Open "Model" interface. 2 Create model with name "mainScreen" and child string "header" Details: http://prntscr.com/7kmflg/direct 3 Navigate to "index" screen - scope tab and add "mainScreen&qu...
by Yurii Orishchuk
Wed Jun 24, 2015 5:04 am
Forum: Moved from Get Satisfaction
Topic: Problems with Uploading files to Appery IO Database(Predefined Files Collections)
Replies: 3
Views: 294

Problems with Uploading files to Appery IO Database(Predefined Files Collections)

Hi Mohd,

Yes this functionality works by default only for upload files from input component.

Please check this thread https://getsatisfaction.com/apperyio/...

Regards.

by Yurii Orishchuk
Wed Jun 24, 2015 5:01 am
Forum: Moved from Get Satisfaction
Topic: Geocoding app question
Replies: 8
Views: 961

Geocoding app question

Hi Eri, Unfortunatly it's not clear about your problem. You have result but don't know how to show it to user? If so you need: 1 Put label component on the page. 2 Use following JS code where you need to populate label component with your dynamic data: pre var dynamicValueToShow = "here you nee...
by Yurii Orishchuk
Wed Jun 24, 2015 5:00 am
Forum: Moved from Get Satisfaction
Topic: List internet search
Replies: 19
Views: 1092

List internet search

Hi EJLD, Just add alert to your code to see this alert. For example: pre var value = "hello world"; var res = encodeURIComponent(value); alert("value = '" + value + "'"); var link = "http:&#47;&#47;www&#46;google&#46;com/search?q=" + res; windo...
by Yurii Orishchuk
Wed Jun 24, 2015 4:02 am
Forum: Moved from Get Satisfaction
Topic: How to pass values of checked boxes to another page?
Replies: 22
Views: 1746

How to pass values of checked boxes to another page?

Hi Nisa, Here is common example: 1 Get value from checkBox. 2 Convert received value to to text that you want to store in DB and store it to the storage. 3 Add create/update service on the page. 4 Invoke service on the event you need(for example button click). 5 Open "Before send" mapping ...
by Yurii Orishchuk
Wed Jun 24, 2015 3:53 am
Forum: Moved from Get Satisfaction
Topic: Delay between functions
Replies: 7
Views: 805

Delay between functions

Hi Umana, You don't need such technique. So the solution is: 1 On first service "Success" event add "Run javascript" event handler. 2 Populate it with following js code: pre window&#46;open('mailto:someone@example&#46;com?subject=any&body=any'); Apperyio&#46;navig...
by Yurii Orishchuk
Wed Jun 24, 2015 2:25 am
Forum: Moved from Get Satisfaction
Topic: Video/gif playing
Replies: 15
Views: 1153

Video/gif playing

Hi She, What you mean by "play in background" ? If you want just to hide the video you can use following JS code instead of yours: precode var video = jQuery('<video autoplay loop poster="https:&#47;&#47;s3-us-west-2&#46;amazonaws&#46;com/s&#46;cdpn&#46;io/4273...
by Yurii Orishchuk
Wed Jun 24, 2015 12:14 am
Forum: Moved from Get Satisfaction
Topic: Video/gif playing
Replies: 15
Views: 1153

Video/gif playing

Hi She, What you mean by "play in background" ? If you want just to hide the video you can use following JS code instead of yours: precode var video = jQuery('<video autoplay loop poster="https:&#47;&#47;s3-us-west-2&#46;amazonaws&#46;com/s&#46;cdpn&#46;io/4273...
by Yurii Orishchuk
Tue Jun 23, 2015 9:56 pm
Forum: Moved from Get Satisfaction
Topic: app running in browser but not running in phone
Replies: 7
Views: 680

app running in browser but not running in phone

Hi Modelexam,

Yes, you can add create new JS asset and put all JS code here. It will be available at once you started the app. And on the mobile device it will not use network to get this file.

Details how to create new JS asset: http://prntscr.com/7kjaix/direct

by Yurii Orishchuk
Tue Jun 23, 2015 3:31 am
Forum: Moved from Get Satisfaction
Topic: app running in browser but not running in phone
Replies: 7
Views: 680

app running in browser but not running in phone

Hello, You need to use result only in success event handler. Currently you use it outside. This is two different code flows. Here is a code to try: pre jQuery&#46;getJSON("files/resources/data/mf&#46;json", function(result){ localStorage&#46;setItem("data",JSON&#4...
by Yurii Orishchuk
Tue Jun 23, 2015 1:15 am
Forum: Moved from Get Satisfaction
Topic: API key not orking , error 401 unauthorized error please check your android api key
Replies: 5
Views: 384

API key not orking , error 401 unauthorized error please check your android api key

Hello,

Please show us screen shots:

1 Google settings where you have this key.
2 Appery.io push notification settings.

Thanks.

by Yurii Orishchuk
Tue Jun 23, 2015 1:11 am
Forum: Moved from Get Satisfaction
Topic: Unable to have click event on a select component.
Replies: 29
Views: 2096

Unable to have click event on a select component.

Hi Bruce, As i can see you have incorrect mapping(cause of you link object to attributes). Please try to: 1 Delete links to "value" and "label" attributes 2 Add link from "fruits" to "value" and "label" attributes. Details: http://prntscr.com/7k6lgv/...
by Yurii Orishchuk
Tue Jun 23, 2015 1:06 am
Forum: Moved from Get Satisfaction
Topic: List internet search
Replies: 19
Views: 1092

List internet search

Hi EJLD,

I've tried this code on installed on Android 4.1.2 device and it works correctly.

Please add to your implementation some alert to make sure you have updated app on device correctly.

Regards.

by Yurii Orishchuk
Mon Jun 22, 2015 2:09 am
Forum: Moved from Get Satisfaction
Topic: mass uploading collection + spaces
Replies: 4
Views: 480

mass uploading collection + spaces

Hi Konstantin, Maybe you did not specify type of columns at first row? I tried following csv content and it was uploading correctly with spaces: precode "_id:string","acl:object","parameterName:string","parameterValue:string" "53b3603ce4b07420882b50a0&quo...
by Yurii Orishchuk
Mon Jun 22, 2015 1:51 am
Forum: Moved from Get Satisfaction
Topic: URL from JSON set to _system
Replies: 7
Views: 575

URL from JSON set to _system

Hi Ben, Please try following solution: Activate your link component. Add "click" event handler to this component. Populate it with following JS code: pre arguments[0]&#46;preventDefault(); arguments[0]&#46;stopPropagation(); var link = jQuery(this)&#46;attr("href"); w...
by Yurii Orishchuk
Mon Jun 22, 2015 1:25 am
Forum: Moved from Get Satisfaction
Topic: create new users collection?
Replies: 12
Views: 1498

create new users collection?

Hi Robert, 1 Nope, that's not a Generic service. Please check following screen shot to see how create this service: http://prntscr.com/7js1sx/direct 2 Unfortunatly at this time we don't have such information. Please read here additional information about users api here: https://devcenter.appery.io/d...
by Yurii Orishchuk
Thu Jun 18, 2015 4:34 am
Forum: Moved from Get Satisfaction
Topic: Create or update database from array items
Replies: 53
Views: 4743

Create or update database from array items

Hi Mark, Thanks for this videos. As i can see you don't pass all needed items in singe request(to server code). You need to collect all items in single js array, convert to JSON put them altogether to single request parameter. Comment all code(use /* here is a comment */)(to do nothing) in your serv...
by Yurii Orishchuk
Wed Jun 17, 2015 4:21 am
Forum: Moved from Get Satisfaction
Topic: How can I have the user upload their own photo and have that photo stored on the database so that each user can have his
Replies: 43
Views: 3834

How can I have the user upload their own photo and have that photo stored on the database so that each user can have his

Hi Joe,

For example you can add "success" js event handler to this service with following JS code:

pre

for(var i = 0; i < data&#46;length; i++)
localStorage&#46;setItem("lsvName", data&#46;fileurl);

/pre

Regards.

by Yurii Orishchuk
Wed Jun 17, 2015 4:09 am
Forum: Moved from Get Satisfaction
Topic: database collections based on language
Replies: 31
Views: 2323

database collections based on language

Hi Dennis, You can access current value for "select" component on "value change" event handler with following JS code: pre var langCollectionMapping = { "en-GB": "britanCollection", "en-US": "britanCollection" }; &#47;&#47;Where &qu...
by Yurii Orishchuk
Wed Jun 17, 2015 1:09 am
Forum: Moved from Get Satisfaction
Topic: Missing page formatting
Replies: 16
Views: 1295

Missing page formatting

Hi Bob, There is some things to know: 1 If you use browser based app - all resources loads via network. 2 If you use device installed app - all internal sources will be imbedded. But if you use any external resources like links to network based source - it will be requested via network. Regards.
by Yurii Orishchuk
Tue Jun 16, 2015 3:18 am
Forum: Moved from Get Satisfaction
Topic: List internet search
Replies: 19
Views: 1092

List internet search

Hi EJLD, I tried following code with static search string with space and it works correctly: pre var value = "hello world"; var res = encodeURIComponent(value); var link = "http:&#47;&#47;www&#46;google&#46;com/search?q=" + res; window&#46;open(link, '_system'...
by Yurii Orishchuk
Tue Jun 16, 2015 3:00 am
Forum: Moved from Get Satisfaction
Topic: Unable to have click event on a select component.
Replies: 29
Views: 2096

Unable to have click event on a select component.

Hi Bruce,

Please show us how you populate select component.

It should mapping with:
1 Link from $ to select option.
2 Link to populate value.
3 Link to populate view.

Regards.

by Yurii Orishchuk
Tue Jun 16, 2015 2:53 am
Forum: Moved from Get Satisfaction
Topic: database collections based on language
Replies: 31
Views: 2323

database collections based on language

Hi Dennis, You need to have select(dropdown) with values: pre view - value "Britain": "en-GB", "English": "en-US" /pre Then you need to add to this select component "change" event handler. Inside this event handler you can access current language lik...
by Yurii Orishchuk
Tue Jun 16, 2015 1:06 am
Forum: Moved from Get Satisfaction
Topic: HTML Component Inheritance
Replies: 15
Views: 1780

HTML Component Inheritance

Aeneas,

How did you put select inside HTML component.

Please show us some screen shots about this implementation.

Thanks.

by Yurii Orishchuk
Mon Jun 15, 2015 4:17 am
Forum: Moved from Get Satisfaction
Topic: Create or update database from array items
Replies: 53
Views: 4743

Create or update database from array items

Hi Mark, You need: 1 to have Array object on the server script side. To see what actually you have in request parameter use "console.log()" and "typeOf()" functions. 2 then you can iterate this Array with following simple code: pre &#47;&#47;You need to use your request a...
by Yurii Orishchuk
Mon Jun 15, 2015 2:14 am
Forum: Moved from Get Satisfaction
Topic: How can I have the user upload their own photo and have that photo stored on the database so that each user can have his
Replies: 43
Views: 3834

How can I have the user upload their own photo and have that photo stored on the database so that each user can have his

Hi Joe, Here is solution to upload file to Appery.io DB files collection with base64 content. import DB files upload service. Details: http://prntscr.com/5f51tq/direct add upload service to the page. And call datasource "uploadService2". Details: http://prntscr.com/5f52b3/direct click on &...
by Yurii Orishchuk
Fri Jun 12, 2015 3:17 am
Forum: Moved from Get Satisfaction
Topic: Unable to have click event on a select component.
Replies: 29
Views: 2096

Unable to have click event on a select component.

Hi Bruce, Please try following code instead: pre &#47;&#47;$("[name=selectComp]")&#46;closest('&#46;ui-select')&#46;off("click")&#46;on("click", function() { $("[name=selectComp]")&#46;closest('&#46;ui-select')&#46;unbind(&q...
by Yurii Orishchuk
Fri Jun 12, 2015 2:25 am
Forum: Moved from Get Satisfaction
Topic: How to use Geocoding API to do Reverse Geocoding
Replies: 3
Views: 408

How to use Geocoding API to do Reverse Geocoding

Hi Josette,

Unfortunatly your question is not clear for us..

Please specify more information about what you want to implement.

Thanks.

by Yurii Orishchuk
Fri Jun 12, 2015 2:09 am
Forum: Moved from Get Satisfaction
Topic: Create or update database from array items
Replies: 53
Views: 4743

Create or update database from array items

Hi Mark, Unfortunatly we don't have such code. You need: Collect all items to update/add in some array on client side. Pass all these items to server code.via request parameter. In server code - iterate through all received items. For each item - make logic that you implement in this server code(abo...
by Yurii Orishchuk
Fri Jun 12, 2015 1:52 am
Forum: Moved from Get Satisfaction
Topic: Query problem with upper and lower case.
Replies: 7
Views: 682

Query problem with upper and lower case.

Hi Viktor, "Where" request parameter - is a filter. So this parameter filter items with filter criteria. In your response you will receive items that will fit to your filter. So with this where clause you should receive items which have in "username" field value that you pass to ...
by Yurii Orishchuk
Thu Jun 11, 2015 4:24 am
Forum: Moved from Get Satisfaction
Topic: how use the method .focus() w/ Appery components
Replies: 8
Views: 519

how use the method .focus() w/ Appery components

Hi Eric ,

It's hard to say why you have this empty space.

Please specify:
1 How do you show this header(with buttons).
2 How do you hide this header(with buttons).
3 Public link and steps to reproduce this issue.

Thanks.

by Yurii Orishchuk
Thu Jun 11, 2015 3:36 am
Forum: Moved from Get Satisfaction
Topic: Query problem with upper and lower case.
Replies: 7
Views: 682

Query problem with upper and lower case.

Hi Viktor,

You need to use $regex and "i" modifier there.

Here is a code example for you:

pre

var whereObject = {username: {"$regex": value, "$options":"i"}};

return JSON&#46;stringify(whereObject);

/pre

Regards.

by Yurii Orishchuk
Wed Jun 10, 2015 3:33 am
Forum: Moved from Get Satisfaction
Topic: splash screen duration on android
Replies: 4
Views: 305

splash screen duration on android

Hi Terry, Here is a solution. Please follow the these steps to set splash screen delay for android device: Open app settings on "Android binary tab" and set all splash screens. Details: http://prntscr.com/745xjz/direct Open source tab. Navigate to "config.xml" file and open it. D...
by Yurii Orishchuk
Wed Jun 10, 2015 3:17 am
Forum: Moved from Get Satisfaction
Topic: How to read all the label values in a mobilecollapsblock
Replies: 5
Views: 454

How to read all the label values in a mobilecollapsblock

Hi Enfiled, Here is how you can implement such logic: pre var collapsibles = jQuery('[name="mobilecollapsblock"]'); var allText = ""; for(var i = 0; i < collapsibles&#46;length; i++){ var currentText = jQuery(collapsibles )&#46;find('[name="labelName"]')&#46...
by Yurii Orishchuk
Wed Jun 10, 2015 2:55 am
Forum: Moved from Get Satisfaction
Topic: window.open causes apk services to fail (Libraries version 2.1 use inAppBrowser)
Replies: 3
Views: 275

window.open causes apk services to fail (Libraries version 2.1 use inAppBrowser)

Hi Sam,

All device native features available only from app context.

So if you run it from iframe of inappbrowser it will not work.

You need to send some event from your inappbrowser to app cordova context.

Check how to do it here: http://www.telerik.com/blogs/cross-wi...

Regards.

by Yurii Orishchuk
Wed Jun 10, 2015 2:16 am
Forum: Moved from Get Satisfaction
Topic: Create or update database from array items
Replies: 53
Views: 4743

Create or update database from array items

Hi Mark,

I can see a lot of requests.. You should have single request with all items in request parameters to update.

How do you invoke service to update/create items?

Show us more info.

Regards.

by Yurii Orishchuk
Wed Jun 10, 2015 1:54 am
Forum: Moved from Get Satisfaction
Topic: How to authenticate to access Users database service
Replies: 1
Views: 255

How to authenticate to access Users database service

Hi Shaun,

Please pass below tutorial to understand how to get sessionToken.

https://devcenter.appery.io/tutorials...

Regards.

by Yurii Orishchuk
Wed Jun 10, 2015 1:48 am
Forum: Moved from Get Satisfaction
Topic: iFrame links to open using _system instead of withing iframe or inAppBrowser
Replies: 7
Views: 760

iFrame links to open using _system instead of withing iframe or inAppBrowser

Hi Nir, Following code works only in cordova context. pre window&#46;open("xxxxx", "_system"); /pre Iframe has not this context. Thus you can not use such code in iframe. You need to run this code from the app context. So you need to pass somehow needed event to app context. ...
by Yurii Orishchuk
Wed Jun 10, 2015 1:12 am
Forum: Moved from Get Satisfaction
Topic: Dynamic domain rest service
Replies: 1
Views: 294

Dynamic domain rest service

Hi Josiel, Yes you can add some parameter to DB settings service. Then you can use this parameter in URL and add it to "Query string tab" for any service uses this settings service. Please read more about how to add parameters to URL here: https://devcenter.appery.io/documenta... Regards.
by Yurii Orishchuk
Wed Jun 10, 2015 12:49 am
Forum: Moved from Get Satisfaction
Topic: Sendgrid Plugin not working after appery upgrade.
Replies: 22
Views: 1068

Sendgrid Plugin not working after appery upgrade.

Hi Deon, Thanks for this information. I've tried previously working app where i have sendgrid worked and now it works too. (I've received email from this app). It's hard to say what is wrong in your implementation at this time cause of we don't have any details about it. Please try to debug your app...
by Yurii Orishchuk
Tue Jun 09, 2015 11:58 pm
Forum: Moved from Get Satisfaction
Topic: HTML Component Inheritance
Replies: 15
Views: 1780

HTML Component Inheritance

Hi Aeneas,

Please follow these steps:

  1. Put select component near HTML component.

  2. Run app and check in browser debugger both selects HTML layout. They should be the same.

  3. When you will have the same HTML layout for select component - you can check how it looks.

    Regards.

by Yurii Orishchuk
Tue Jun 09, 2015 10:54 pm
Forum: Moved from Get Satisfaction
Topic: Http Status 500 - when exporting android .apk?
Replies: 20
Views: 1866

Http Status 500 - when exporting android .apk?

HI Aeneas,

Please show us more details.

  1. How you test it.

  2. what actual request parameters you use.

    Thanks.

by Yurii Orishchuk
Tue Jun 09, 2015 10:41 pm
Forum: Moved from Get Satisfaction
Topic: moment.js - 'Uncaught ReferenceError: moment is not defined"
Replies: 8
Views: 717

moment.js - 'Uncaught ReferenceError: moment is not defined"

Hi Jiorgio,

Tried the same and it works correctly.

Please check whether you have:

1 any console errors.
2 edited page sources(in sources tab).

Regards.

by Yurii Orishchuk
Tue Jun 09, 2015 10:28 pm
Forum: Moved from Get Satisfaction
Topic: newbie mapping question
Replies: 3
Views: 323

newbie mapping question

Hi Sylvian, as i can see you trying to access some array data so i assume you have list/grid component and want mapping to iterate it with data and some label inside. If it's true here is a solution: Make link from $ response to grid/list-item component to iterate it. Details: http://prntscr.com/7f4...
by Yurii Orishchuk
Tue Jun 09, 2015 10:04 pm
Forum: Moved from Get Satisfaction
Topic: Unable to have click event on a select component.
Replies: 29
Views: 2096

Unable to have click event on a select component.

Hi Bruce,

I tried it many times. And can not reproduce this issue.

Yes please make short video about how you reproduce it.

Thanks.

by Yurii Orishchuk
Tue Jun 09, 2015 2:44 am
Forum: Moved from Get Satisfaction
Topic: Unable to have click event on a select component.
Replies: 29
Views: 2096

Unable to have click event on a select component.

Hi Bruce,

Tried your app, and could not reproduce this problem.

When i click on select - it will invoke some service then it stays on that page.

Regards.

by Yurii Orishchuk
Tue Jun 09, 2015 1:55 am
Forum: Moved from Get Satisfaction
Topic: Problem Refreshing list items after updating DBs with a Service
Replies: 6
Views: 683

Problem Refreshing list items after updating DBs with a Service

Hi Humberto, Thanks for these details. So the culprit of the problem you have is a simultaneously invoking services(update and list). The solutino is: Comment this line of your code: pre &#47;&#47;GetMultifacilNumber&#46;execute({}); /pre Open your page and navigate to "data" t...
by Yurii Orishchuk
Tue Jun 09, 2015 1:42 am
Forum: Moved from Get Satisfaction
Topic: How to change Navbar Image on page load event?
Replies: 6
Views: 438

How to change Navbar Image on page load event?

Hi Jaspal, Please try following CSS code instead of yours: pre [dsid=nav_bar_home]&#46;HomeActive:after { background: url('&#46;&#46;/image/HomeActive&#46;gif')no-repeat; background-size: 25px 25px; height: 25px; margin-left: -15px !important; width: 25px; } /pre Then use following J...
by Yurii Orishchuk
Tue Jun 09, 2015 1:34 am
Forum: Moved from Get Satisfaction
Topic: How to show my current location as soon as my page shown..
Replies: 12
Views: 1072

How to show my current location as soon as my page shown..

Hi Umana,

You need to use "list/query" service.

Please follow this tutorial to understand how to put DB rows into your map component.

https://devcenter.appery.io/tutorials...

Regards.

by Yurii Orishchuk
Tue Jun 09, 2015 12:58 am
Forum: Moved from Get Satisfaction
Topic: Button JS to call number in storage?
Replies: 7
Views: 612

Button JS to call number in storage?

Hi Viktor,

Please try this JS code:

pre

window&#46;open('tel: +12345678', '_system');

/pre

Regards.

by Yurii Orishchuk
Tue Jun 09, 2015 12:35 am
Forum: Moved from Get Satisfaction
Topic: Synchronous XMLHttpRequest deprecated error
Replies: 21
Views: 1477

Synchronous XMLHttpRequest deprecated error

Hi Joe,

Your problem is not linked to the jQuery warning.

Please give us your app public link and describe steps to reproduce this issue in your app.

Regards.

by Yurii Orishchuk
Tue Jun 09, 2015 12:10 am
Forum: Moved from Get Satisfaction
Topic: Carousel has no animation
Replies: 5
Views: 429

Carousel has no animation

Hello,

I've tried it and use the same settings and it works correctly as for me.

Please give us your app public link and describe steps to reproduce this issue in your app.

Regards.

by Yurii Orishchuk
Mon Jun 08, 2015 3:02 am
Forum: Moved from Get Satisfaction
Topic: PayPal rest service request to update plan
Replies: 15
Views: 1104

PayPal rest service request to update plan

Hi Alvi,

Unfortunatly it seem's to be a bug.

I've posted it to our developers. We will send you an update as soon as it will be fixed.

Thanks.

by Yurii Orishchuk
Mon Jun 08, 2015 1:26 am
Forum: Moved from Get Satisfaction
Topic: database collections based on language
Replies: 31
Views: 2323

database collections based on language

Hi Dennis,

Not sure about problem you have.

Please specify about it more details.

Thanks.

by Yurii Orishchuk
Mon Jun 08, 2015 1:18 am
Forum: Moved from Get Satisfaction
Topic: How to add element to Apperyio array
Replies: 7
Views: 741

How to add element to Apperyio array

Hi LuisMa,

Please read about update functionality for storage here:

https://devcenter.appery.io/documenta...

Regards.

by Yurii Orishchuk
Mon Jun 08, 2015 1:14 am
Forum: Moved from Get Satisfaction
Topic: Querying User Data
Replies: 3
Views: 349

Querying User Data

Hi King,

Server that you want to access should be accessed from device you use. In this case you can send requests.

Regards.

by Yurii Orishchuk
Mon Jun 08, 2015 12:57 am
Forum: Moved from Get Satisfaction
Topic: Adding parameters to rest-service-url
Replies: 12
Views: 1169

Adding parameters to rest-service-url

Hi Mark, Here is a brief plan how to use settings in REST service: Create settings service and fill it with needed parameters. Open needed service. Choose your "settings service" in service settings tab. Details: http://prntscr.com/7edsaz/direct Then you can use any settings parameter in t...
by Yurii Orishchuk
Mon Jun 08, 2015 12:37 am
Forum: Moved from Get Satisfaction
Topic: query for (beginner)
Replies: 10
Views: 742

query for (beginner)

Hi Hany, You need to use "value change" event handler to invoke other service. In that service you need to link selected value(from first select component) to service "where" request parameter to make filtering which you need. Please pass following tutorial to understand how to f...
by Yurii Orishchuk
Fri Jun 05, 2015 3:48 am
Forum: Moved from Get Satisfaction
Topic: Issue Adding list item in code
Replies: 12
Views: 1379

Issue Adding list item in code

Hi Aeneas,

Please try to delete closest("li") part of your code.
Details: http://prntscr.com/7dankr/direct

Regards.

by Yurii Orishchuk
Fri Jun 05, 2015 3:43 am
Forum: Moved from Get Satisfaction
Topic: Apperyio or Appery?
Replies: 5
Views: 414

Apperyio or Appery?

Hi Neil,

Sure, this global variables points to one object.

And they are the same.

Regards.

by Yurii Orishchuk
Fri Jun 05, 2015 3:39 am
Forum: Moved from Get Satisfaction
Topic: How to access a field of a database entry using the _id
Replies: 3
Views: 354

How to access a field of a database entry using the _id

Hi Patrick, Sorry but your question is not fully clear for us. If you want to get items from DB by it's "_id's" you have two ways to do it: First(it's recomended to use this way) is "$in" clause: See details here: https://devcenter.appery.io/documenta... Second is "$or"...
by Yurii Orishchuk
Fri Jun 05, 2015 3:27 am
Forum: Moved from Get Satisfaction
Topic: how to open and close dialog page with javascript?
Replies: 4
Views: 649

how to open and close dialog page with javascript?

Hi Andriy,

You can open dialog page with following JS code:

pre

navigateTo("okDialog");

/pre

To close it you can navigate to previous page with code below:

pre

$&#46;mobile&#46;back();

/pre

Regards.

by Yurii Orishchuk
Fri Jun 05, 2015 3:21 am
Forum: Moved from Get Satisfaction
Topic: Database list and phone call (Beginner here)
Replies: 4
Views: 430

Database list and phone call (Beginner here)

Hi Viktor, If you want to change value in mapping from "xyz" to "tel:xyz" you can follow this solution: 1 Open your service "success" mapping where you have link from to the Link component. 2 Click on JS for this link. 3 Put following JS code: pre return "tel:"...
by Yurii Orishchuk
Fri Jun 05, 2015 2:56 am
Forum: Moved from Get Satisfaction
Topic: Create or update database from array items
Replies: 53
Views: 4743

Create or update database from array items

Hi Mark,

Please show us these errors screen shots.

Thanks.

by Yurii Orishchuk
Fri Jun 05, 2015 2:52 am
Forum: Moved from Get Satisfaction
Topic: database collections based on language
Replies: 31
Views: 2323

database collections based on language

Hi Denis, As i can see did not have a code to convert language to collection name. You need to use following js code in JS section for request parameter: Details: http://prntscr.com/7da8x8/direct pre var langCollectionMapping = { "en-GB": "britanCollection", "en-US": &q...
by Yurii Orishchuk
Fri Jun 05, 2015 1:16 am
Forum: Moved from Get Satisfaction
Topic: How do I remove map markers?
Replies: 56
Views: 4633

How do I remove map markers?

Hi Joe,

So this code works correctly?

Your map navigates to "Paris" as you want?

The problem you have is "Error in console"?

If so please show us how you set map component and marker component. (screen shout of properties for these components).

Thanks.

by Yurii Orishchuk
Tue Jun 02, 2015 3:30 am
Forum: Moved from Get Satisfaction
Topic: Undefined When trying to connect to Service
Replies: 6
Views: 452

Undefined When trying to connect to Service

Hi She,

Please give us your app public link and describe steps to reproduce this issue in your app.

Also please check whether you did not edit page sources.

Thanks.

by Yurii Orishchuk
Mon Jun 01, 2015 2:43 am
Forum: Moved from Get Satisfaction
Topic: Struggling to validate that fields are not empty
Replies: 8
Views: 655

Struggling to validate that fields are not empty

Hi Shaun, Please try following Js code: pre var Size = Apperyio('enter_size')&#46;val(); var errorMsg = ""; if (Size&#46;trim() === ""); { errorMsg = errorMsg + "Size is a required field \n"; alert ("Please correct the following issues: \n" +errorMsg);...
by Yurii Orishchuk
Mon Jun 01, 2015 2:05 am
Forum: Moved from Get Satisfaction
Topic: Carousel with list service
Replies: 12
Views: 1082

Carousel with list service

Hi Istvan,

Please show us your app public link and describe steps to reproduce this issue in your app.

Thanks.

by Yurii Orishchuk
Fri May 29, 2015 1:31 am
Forum: Moved from Get Satisfaction
Topic: Create or update database from array items
Replies: 53
Views: 4743

Create or update database from array items

Hi Mark, It seems you pass "null" or "undefined" value to the consumed field. Please add following log before "update" code to see in trace what there is: precode console&#46;log("you pass this value to "Consumed" field"); console&#46;log(par...
by Yurii Orishchuk
Fri May 29, 2015 12:46 am
Forum: Moved from Get Satisfaction
Topic: Geospatial Query
Replies: 4
Views: 555

Geospatial Query

Hi Asmaa, Here is a JS code for server code that shows you how to work with geoSpatial requests: precode var dbId = "52fd3d0xxxxxx11c89917&quot &#47;&#47; commented out &#47;&#47;You should use here your collection name&#46; var collectionName = "dogs&quot var p...
by Yurii Orishchuk
Thu May 28, 2015 11:58 pm
Forum: Moved from Get Satisfaction
Topic: Get Local variable to cocatenate with Listitem text field.
Replies: 5
Views: 367

Get Local variable to cocatenate with Listitem text field.

Hi Frank,

Please use following JS code instead of yours:

pre

element&#46;text(value&#46;nmbr);

/pre

Regards.

by Yurii Orishchuk
Thu May 28, 2015 11:35 pm
Forum: Moved from Get Satisfaction
Topic: Is it possible in Appery to make dynamic pages?
Replies: 12
Views: 925

Is it possible in Appery to make dynamic pages?

Hi Reynaldo, Nope, this error not relates to the code you run. Please follow these steps to understand how to work with such "dynamic" areas. 1 Add "HTML" component on the page. And give this component name "myHtmlComponent" Details: http://prntscr.com/7akj3p/direct 2 S...
by Yurii Orishchuk
Thu May 28, 2015 2:33 am
Forum: Moved from Get Satisfaction
Topic: Barcode Scanner
Replies: 3
Views: 304

Barcode Scanner

Hi Cheryl, Sorry for misunderstand. So here is a common plan to implement it: 1 run barcode service on the page. 2 on "success" event - store received bar code to some storage. 3 invoke "list" service for collection where you store additional information about bar code.(image url...
by Yurii Orishchuk
Thu May 28, 2015 2:04 am
Forum: Moved from Get Satisfaction
Topic: External Lib google maps geometry - AngularJS - Bootstrap
Replies: 8
Views: 734

External Lib google maps geometry - AngularJS - Bootstrap

Hi Ravenight,

It seems to be a bug for angular project.

We are working on it. And will response you here as soon as we will have any update on it.

Thanks.

by Yurii Orishchuk
Thu May 28, 2015 1:17 am
Forum: Moved from Get Satisfaction
Topic: Geolocation coordinate update problem
Replies: 10
Views: 843

Geolocation coordinate update problem

Hi David,

Could you please clarify how do you invoke this service? If you use JS code - please show us.

Also please try to use native app binary instead of Appery.io tester. Tester is not good thing to test native features like geolocation, camera etc...

Thanks.

by Yurii Orishchuk
Tue May 26, 2015 2:10 am
Forum: Moved from Get Satisfaction
Topic: Google Maps Api AutoComplete
Replies: 36
Views: 3221

Google Maps Api AutoComplete

Hi Shaberr, Please follow this solution: 1 Open your app settings on "External resources" tab. 2 Take a look on "User-defined resources" part. There should be. pre http:&#47;&#47;maps&#46;googleapis&#46;com/maps/api/js?sensor=false&libraries=places /pre 3 If y...
by Yurii Orishchuk
Tue May 26, 2015 2:01 am
Forum: Moved from Get Satisfaction
Topic: How to hide a selector?
Replies: 7
Views: 576

How to hide a selector?

Hi Robert,

Yes that's correct. You need to "show" wrapper container(that's actually hidden from builder).

Please tell us what component you can not show.

Regards.

by Yurii Orishchuk
Tue May 26, 2015 1:36 am
Forum: Moved from Get Satisfaction
Topic: use getintent
Replies: 5
Views: 359

use getintent

Hello, getIntent - is native code. And could be used only there. Appery.io is phonegap-based app. Thus you can not access this information with this code. But you can add Webintent phonegap plugin to access this information. See details here: http://stackoverflow.com/questions/18... And here is how ...
by Yurii Orishchuk
Tue May 26, 2015 1:26 am
Forum: Moved from Get Satisfaction
Topic: how to get the Appery('label').text on a click event on a list item via javascript
Replies: 22
Views: 1608

how to get the Appery('label').text on a click event on a list item via javascript

Hi Rohit, You need: 1 Add "click" event handler for "Grid" component(not for cell or label). 2 Use code to get value from label: pre var value = $(this)&#46;find("[name=labelName]")&#46;text(); alert("value = " + value); /pre Regards.
by Yurii Orishchuk
Tue May 26, 2015 12:59 am
Forum: Moved from Get Satisfaction
Topic: How to return to app from mailto link
Replies: 3
Views: 352

How to return to app from mailto link

Hi Bernie,

Unfortunatly you can not control behavior after you send command to send email..
It's only OS functionality and logic.

Regards.

by Yurii Orishchuk
Tue May 26, 2015 12:27 am
Forum: Moved from Get Satisfaction
Topic: Mapping an array to Checkboxgroup
Replies: 16
Views: 1125

Mapping an array to Checkboxgroup

Hi Paul, It's not good to hardcore array length. Sorry i see there was error in given before code. here is a corrected: pre var onDelay = function(){ for(var i = 0; i < data&#46;channels&#46;length; i++){ var checkBox = Apperyio("mobilecheckboxgroup_10")&#46;find('[value='+data...
by Yurii Orishchuk
Mon May 25, 2015 2:47 am
Forum: Moved from Get Satisfaction
Topic: Mapping an array to Checkboxgroup
Replies: 16
Views: 1125

Mapping an array to Checkboxgroup

Hi Paul, That means you don't have checkboxes with such names. Use following JS code to log these names too: pre var onDelay = function(){ for(var i = 0; i < data&#46;channels; i++){ var checkBox = Apperyio("mobilecheckboxgroup_10")&#46;find('[value='+data&#46;channels +']'); c...
by Yurii Orishchuk
Mon May 25, 2015 2:21 am
Forum: Moved from Get Satisfaction
Topic: database collections based on language
Replies: 31
Views: 2323

database collections based on language

Hi Dennis,

Yes, you need to use such js logic in select change event handler to get current collection name. After you do with this information what you need.

Regards.

by Yurii Orishchuk
Fri May 22, 2015 12:57 am
Forum: Moved from Get Satisfaction
Topic: Error on creating APK file but it says success and then goes to a blank screen
Replies: 7
Views: 557

Error on creating APK file but it says success and then goes to a blank screen

Hi Hugh,

Unfortunatly that's a bug. We are working on it and will let you know as soon as possible about any update.

Regards.

by Yurii Orishchuk
Fri May 22, 2015 12:53 am
Forum: Moved from Get Satisfaction
Topic: How to reload page with updated data
Replies: 10
Views: 1104

How to reload page with updated data

Hi Nissa,

Use following JS code to reload the page:

pre

navigateTo("pageName", {reloadPage: true, transition: 'none', allowSamePageTransition: true, changeHash: false });

/pre

Regards.

by Yurii Orishchuk
Fri May 22, 2015 12:47 am
Forum: Moved from Get Satisfaction
Topic: Mapping an array to Checkboxgroup
Replies: 16
Views: 1125

Mapping an array to Checkboxgroup

Hi Paul, Please add some logs to this code to see in console what happens: pre var onDelay = function(){ for(var i = 0; i < data&#46;channels; i++){ var checkBox = Apperyio("mobilecheckboxgroup_10")&#46;find('[value='+data&#46;channels[i]+']'); console&#46;log("check b...
by Yurii Orishchuk
Fri May 22, 2015 12:42 am
Forum: Moved from Get Satisfaction
Topic: how to set button condition
Replies: 4
Views: 416

how to set button condition

Hi Nisa, She provided you with correct code. Please add to this code some logs to see in console what is wrong: pre &#47;&#47;"lblChildAge" should be changed with your label name where you store "age"&#46; var age = Appery('lblChildAge')&#46;text(); console&#4...
by Yurii Orishchuk
Fri May 22, 2015 12:36 am
Forum: Moved from Get Satisfaction
Topic: How can I play mp3 sounds stored in a zipped Android APK expansion file using the audio control ? ("src=?")
Replies: 6
Views: 464

How can I play mp3 sounds stored in a zipped Android APK expansion file using the audio control ? ("src=?")

Hi Pierre,

There are only two ways to access files:

1 Store them into app binary and then use them locally(without network).

2 Store them into network cloud service and access them from network.

Regards.

by Yurii Orishchuk
Fri May 22, 2015 12:11 am
Forum: Moved from Get Satisfaction
Topic: How can I have the user upload their own photo and have that photo stored on the database so that each user can have his
Replies: 43
Views: 3834

How can I have the user upload their own photo and have that photo stored on the database so that each user can have his

Hi Joe,

I guess problem in you custom JS file. Please try to comment this code. (not sure why do you use it).

Please read more about how to upload files to appery.io DB here: https://devcenter.appery.io/tutorials...

Regards.

by Yurii Orishchuk
Fri May 22, 2015 12:01 am
Forum: Moved from Get Satisfaction
Topic: How to pass values of checked boxes to another page?
Replies: 22
Views: 1746

How to pass values of checked boxes to another page?

Hi Nisa, You can get checked value with following JS code: pre &#47;&#47;where "checkBoxName" is your checkbox component name&#46; var checkBox = Apperyio("checkBoxName")&#46;find('input[type="checkbox"]'); var checked = checkBox&#46;prop("check...
by Yurii Orishchuk
Wed May 20, 2015 4:31 am
Forum: Moved from Get Satisfaction
Topic: How to keep users logged in, until they logout.
Replies: 24
Views: 1597

How to keep users logged in, until they logout.

And here is a solution about how to add "getUser" service in your app: Create REST service and call it "getUser". Details: http://prntscr.com/5vurg1/direct On "Settings tab" use following settings: Details: http://prntscr.com/5vusim/direct URL: " https://api.appery...
by Yurii Orishchuk
Wed May 20, 2015 4:28 am
Forum: Moved from Get Satisfaction
Topic: How to keep users logged in, until they logout.
Replies: 24
Views: 1597

How to keep users logged in, until they logout.

Ramanmr, Yes here is a solution to check if session token stored, verify this token and then make logic what to open. At first add to your app "getUser"(call it the same) service. Solution how to do will be posted below. Create new page and call it "verifyUser". You can populate ...
by Yurii Orishchuk
Wed May 20, 2015 12:45 am
Forum: Moved from Get Satisfaction
Topic: database collections based on language
Replies: 31
Views: 2323

database collections based on language

Hi Dennis, You need to map appropriate language to collection name. Here is an example how you can do it: pre var langCollectionMapping = { "en-GB": "britanCollection", "en-US": "britanCollection" }; var val = Appery("mobileselectmenu10")&#46;val...
by Yurii Orishchuk
Wed May 20, 2015 12:41 am
Forum: Moved from Get Satisfaction
Topic: How do I remove map markers?
Replies: 56
Views: 4633

How do I remove map markers?

Hi Joe,

Please find a culprit of this error.
You can disable/comment code one by one to see what actually brings this problem.

Regards.

by Yurii Orishchuk
Wed May 20, 2015 12:38 am
Forum: Moved from Get Satisfaction
Topic: How to keep users logged in, until they logout.
Replies: 24
Views: 1597

How to keep users logged in, until they logout.

Hi rajanmr,

The problem you have is not in login. After app restarts - it will load start screen. Your start screen is login thus you have this form.

Your local storage variable stored after restart the app and you need to check it and pass login page(navigate to needed page).

Regards.

by Yurii Orishchuk
Tue May 19, 2015 2:29 am
Forum: Moved from Get Satisfaction
Topic: External Lib google maps geometry - AngularJS - Bootstrap
Replies: 8
Views: 734

External Lib google maps geometry - AngularJS - Bootstrap

Hello, Please follow these steps: 1 Open your app settings on "External resources" tab. 2 Take a look on "User-defined resources" part. There should be. pre http:&#47;&#47;maps&#46;googleapis&#46;com/maps/api/js?sensor=false&libraries=places /pre 3 If you can ...
by Yurii Orishchuk
Tue May 19, 2015 2:26 am
Forum: Moved from Get Satisfaction
Topic: Serious update Issue: saving a mapping is losing custom JS code
Replies: 11
Views: 665

Serious update Issue: saving a mapping is losing custom JS code

Robert, Unfortunatly i don't know what could be a reason of the problem you faced with. Otherwise i would provide a solution. We still need more information about this issue. I've tested mappings in my app and no any problem has been find there. So please: Open browser tab. Open browser debugger in ...
by Yurii Orishchuk
Tue May 19, 2015 2:12 am
Forum: Moved from Get Satisfaction
Topic: Places search box
Replies: 8
Views: 734

Places search box

Hi Shabeer, Here is a solution how to implement places search box example in Appery.io app. Open "App settings" interface and add following external source: Details: http://prntscr.com/76u23b/direct pre https:&#47;&#47;maps&#46;googleapis&#46;com/maps/api/js?v=3&#46;exp...
by Yurii Orishchuk
Tue May 19, 2015 1:32 am
Forum: Moved from Get Satisfaction
Topic: Serious update Issue: saving a mapping is losing custom JS code
Replies: 11
Views: 665

Serious update Issue: saving a mapping is losing custom JS code

Hi Robert,

Please open browser debugger and check whether there is some console errors.

Thanks.

by Yurii Orishchuk
Mon May 18, 2015 1:42 am
Forum: Moved from Get Satisfaction
Topic: database collections based on language
Replies: 31
Views: 2323

database collections based on language

Hi Dennis, i18n works only with html elements. And there is no built-in relative with service. So if you want to get service request parameter from translation file - you need to: Set this translation in some label(how to do it see here: https://devcenter.appery.io/tutorials... ) In service "be...
by Yurii Orishchuk
Mon May 18, 2015 1:31 am
Forum: Moved from Get Satisfaction
Topic: Is it possible to make a popup UI to fit the full screen?
Replies: 15
Views: 1191

Is it possible to make a popup UI to fit the full screen?

Hello, pre 1) How can I remove the arrow from the popup&#46;I dont want to have arrow in my popup /pre Please show us what arrow you mean. pre 2) How to set a navbar item to a unselected status? JScode: [dsid=navbaritem]&#46; property&#46;"inactive"? /pre To make navbaritem dis...
by Yurii Orishchuk
Mon May 18, 2015 1:24 am
Forum: Moved from Get Satisfaction
Topic: iframe stops bar code scanner on ios
Replies: 9
Views: 781

iframe stops bar code scanner on ios

Hi David,

I can not see how to select bar code scanner in your app.

Please specify it in more details.

Also it's not clear what iframe does in your logic/implementation, please specify it too.

Thanks.

by Yurii Orishchuk
Fri May 15, 2015 3:24 am
Forum: Moved from Get Satisfaction
Topic: database collections based on language
Replies: 31
Views: 2323

database collections based on language

Hi Dennis,

If you talk about static text on the labels buttons and other components you need to use i18n.

Please pass the tutorial below to understand how it works:
https://devcenter.appery.io/tutorials...

Regards

by Yurii Orishchuk
Fri May 15, 2015 3:18 am
Forum: Moved from Get Satisfaction
Topic: Error rendering checkbox within html widget within a list
Replies: 3
Views: 363

Error rendering checkbox within html widget within a list

Hi Miguel,

Please show us details(how we can reproduce it in our app) about your implementation.

Thanks.