Aris Miliotis
Posts: 0
Joined: Fri May 30, 2014 4:52 pm

How to JSON?

Ok so add the following to the UNLOAD issue...

2) I have created map_markers components. I can't get the code of the example to work, so I am trying this way. I am guessing that
Appery('marker_7_66').Latitude = 38;
should have worked and set the Latitude of that marker to 38, but it doesn't show on the map...?

3) I want to save a variable on my database, but I wish to add some text to it, so I drag from the components the variable I want and land it on the database variable in my update_service, I need to add some JS code to add the text, but I do not know how to reference my variable, I guess I could to it with AppAppery('text').val(); but it doesn't seem "clean" to me...

4) I need some way to delete from my database items that are for 5mins there. I am guessing I should be able to do it with some server code, but I lost all strength to read up through your help pages... can you just give me a cheat sheet?

5) On the start page I need to remove the default "content" part of the page, I only need a header and footer...my map looks better in the header than the content...

6) How can I change the icons of group buttons
7) How can I center my group buttons.

Ok lets get here and then I got a couple more :))

Thank you so much for your help...

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

How to JSON?

Hi Aris,

2) After setting a new value refresh map:preApperyio('marker_7_66').refresh();/pre
3) Please read this section http://devcenter.appery.io/documentat... and use mapping http://devcenter.appery.io/documentat...
4) You can delete Database records only one by one http://devcenter.appery.io/documentat... To do it select all the needed records using such query: http://devcenter.appery.io/documentat...
5) Do not delete main container, just add a map component there and fit to screen (set size auto/auto)
6) Not sure we understand. What component do you mean?
7) Use the following CSS:pre[name=mobilecontainer]{
display: table;
}
[name=componentName]{
vertical-align: middle;
display: table-cell;
}/preWhere 'mobilecontainer' is a parent container name where you place a component to center, 'componentName' is a component name.

Aris Miliotis
Posts: 0
Joined: Fri May 30, 2014 4:52 pm

How to JSON?

Oh my god... getting help from you guys is challenging :))) Let's try once more :)))

2) Ok forget the marker thing, your recommendation didn't work any way!
I am duplicating the example and it """"""works""""""" not really....
Ok I copy pasted the code in a js file and do initialize(); on start page load. (Don't make me copy paste what I do...)
It sometimes works it sometimes doesn't... First of sometimes it starts with my location as the center sometimes with [0,0]. Also sometimes half or more of the map is grayed out and upon multiple refreshes it might fix.

1) you did not comment on this, I still do not have it working, it does not do anything on page UNLOAD, if I bind the service to a button click it works.... ???? Browser or what????

3) Oh no, I am not spending any more time your help pages, hehehehehehehe :))
Just tell me how to reference an incoming variable, or tell me to use AppAppery('text').val(); and stop trying :)

4) ??? really ??? no server side delete items? weird!!!! so I need to have my user's devices clean up my database??? that's going to be ugly :)))))))

5) There is no size auto/auto or anything like that.... and the map looks a lot better in the header!!! I don't know what to do....

6) the component i mean is the group buttons component?!!?! How else can I reference it, that's the name you gave it???? Oh well.. the component that is first on the second column of components? the one that looks like little blue squares next to each other... get me??? :)))))) How can I set my own icons for those...

7) Seriously??? HEHEHEHEHEHe! Do I look like I know what CSS is????

Look if the learning curve for your software is steeper than that of Eclipse, I'll go to Eclipse....

8) or actually -2) or something like that... I have added some components to my design page which I now want to delete, but they are behind other components so I can not click on them and hit "DEL", how do I do it???? You mentioned something about f12, but its a mess in there and its harder to find the components, heehehehehe....

Anyways, somehow I am making progress LOL, but honestly if this is how the second app will go, I might as well switch to Eclipse....

Laters,
a.

Aris Miliotis
Posts: 0
Joined: Fri May 30, 2014 4:52 pm

How to JSON?

OK...erm... I started from the begining.
I have a map component on the startScreen.
I have a startScreen Load event to an invoke geolocation service.
I take the values from the service and map them to local variables and to the coordinates of the map.
1/5 the app starts at my location, 4/5 in the middle of the Atlantic Ocean [0,0].
what's this about? the map component is not stable?
I need to add a delay to the geolocation service?
....

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

How to JSON?

Hi Aris,

Are there any console errors? Try using Page show event instead of Load. You can try adding a delay.

Aris Miliotis
Posts: 0
Joined: Fri May 30, 2014 4:52 pm

How to JSON?

Page Show did not improve things. Adding a delay, I don't know where to add it since I don't know which component needs more time!!!

No input on all other issues??

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

How to JSON?

Hi Aris,

A delay is needed to display a map. You could set 1 sec delay for a function where you add data to map, for example, when it is not initialized yet.

You could share the app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and we would test it.

Aris Miliotis
Posts: 0
Joined: Fri May 30, 2014 4:52 pm

How to JSON?

How do I share the app with appery?
Want me to email you an export? Which one?
How "safe" am I with my idea?
...

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

How to JSON?

Hello Aris,

Please look at this link: http://docs.appery.io/documentation/s...
After you'll share your app please post its name. We assure you, that your idea will be totally safe.

Aris Miliotis
Posts: 0
Joined: Fri May 30, 2014 4:52 pm

How to JSON?

Shared!
I have brought the app up to the point that I can.
Added all UI controls and most of the data manipulations...
Most of the work is done in a JavaScript Event tied up to a query in the Data Tab.
In this Javascript at the end I have commented out what is going wrong and what is missing...
Thank you for your help.
We have 4 more app ideas that we want to develop so what you manage for us will define how we proceed...

Return to “Issues”