Mobile Grids do not display data

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
kklosson
Posts: 1629
Joined: Sun Nov 23, 2008 3:19 pm
Location: Virginia

Mobile Grids do not display data

Post by kklosson »

I have just begun some mobile implementations and I have a visual perspective that displays a grid but no matter what I do, the grid displays no data - just the headers. I have included a query that is completely unbound and still no data. Tried Chrome and Safari browsers. The same queries display data fine on the big screen.
:?:

iPhone 6 v12.1.1
V8.8
MySQL, AWS EC2, S3
PDFtk Toolkit
Jaymer
Posts: 2466
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: Mobile Grids do not display data

Post by Jaymer »

not sure if you've read this thread yet.

so a couple of Qs are in order:
1) Aware version
2) "mobile addon" purchased?
3) iphone or android
4) Default "grid" widget, not Custom, correct?

No recs appear in a grid... but everything else is fine? Menus, forms, etc.
Only happens on 1 specific grid?
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
kklosson
Posts: 1629
Joined: Sun Nov 23, 2008 3:19 pm
Location: Virginia

Re: Mobile Grids do not display data

Post by kklosson »

The provided link did not seem germane to this issue, but thanks.

Aware version: 2565 (latest as of today)
Mobile addon: Yes
iPhone 6 v12.1.1 (latest as of today)
Default grid widget: yes

Based on my tests, no grids will display any data, just the header. Not much else to test in this in this VP - just some very basic HTML.
V8.8
MySQL, AWS EC2, S3
PDFtk Toolkit
customaware
Posts: 2413
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: Mobile Grids do not display data

Post by customaware »

I assume the Access Level for that type of user allows the Query?

Just a thought?
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
Jaymer
Posts: 2466
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: Mobile Grids do not display data

Post by Jaymer »

eagles9999 wrote:I assume the Access Level for that type of user allows the Query?
Just a thought?
really good thought! I thought that might have been it.
but he said
"The same queries display data fine on the big screen."
Have to assume he's logging in with the same userid.
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Posts: 2466
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: Mobile Grids do not display data

Post by Jaymer »

Check Server Output & Tomcat Output for any clues?
If the mobile version is getting the error, but the big screen is not, there's 2 DIFFERENT queries executing, isn't there?

A different "mobile" VP is being selected for the iPhone.
So maybe THAT query has a typo in it thats making it crap out, and it will show up in the Output window.

Another thing to try is running the Web Inspect command, and switching to the mobile emulator.
Log in in that mode - saves you from hassling with the phone and should give you identical results.
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
BenHayat
Posts: 2749
Joined: Thu Dec 23, 2010 5:48 am
Location: Fla, USA
Contact:

Re: Mobile Grids do not display data

Post by BenHayat »

Back in V7 I did a lot of Mobile and worked. I say it worked for two reasons to help you diagnose it.

1) It was V7 and not 8.2
2) The grid DID work.
Jaymer
Posts: 2466
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: Mobile Grids do not display data

Post by Jaymer »

Oh, I have current Mobile stuff I'm working on right now also.
But I haven't gone to 8.2, its 8.1, but soon will be forced to cause I turned up a photos bug that will be fixed in next 8.2
Bruce just found something simple, like broken Mouseover Show Hidden Fields in a Query that will be fixed in next build... things that HAVE worked in the past.
Bruce would have downgraded back to 8.1 if he could have.
I'm having no issues with latest 8.1 using mobile addon, EXCEPT for the problem of android vs. iphone (linked above).
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
kklosson
Posts: 1629
Joined: Sun Nov 23, 2008 3:19 pm
Location: Virginia

Re: Mobile Grids do not display data

Post by kklosson »

The AwareIM log looks right. The query finds one object, just as expected.

Log looks perfect
Capture.PNG
Capture.PNG (5.31 KiB) Viewed 15806 times
The display on mobile, not so much. Based on some tests. the mobile display does this with all grids. My Questionnaire is the header of the query.
m_screenshot.png
m_screenshot.png (75.79 KiB) Viewed 15806 times
V8.8
MySQL, AWS EC2, S3
PDFtk Toolkit
Jaymer
Posts: 2466
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: Mobile Grids do not display data

Post by Jaymer »

KK
almost... not the Logging window, the Server Output & Tomcat Output windows.
You could still have gotten some kind a JS error during output and it wouldn't show up in the "Log".
A Tomcat error like "unable to resolve attribute: LoggedInRegularUser.CurrentQuestionaire.SectionID" would just appear in the Tomcat Window... Logging would look fine.

Also, if using the Chrome phone emulator, you should also check the Console for errors.
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
BenHayat
Posts: 2749
Joined: Thu Dec 23, 2010 5:48 am
Location: Fla, USA
Contact:

Re: Mobile Grids do not display data

Post by BenHayat »

Jaymer wrote:KK
Also, if using the Chrome phone emulator, you should also check the Console for errors.
This is a life saver...
kklosson
Posts: 1629
Joined: Sun Nov 23, 2008 3:19 pm
Location: Virginia

Re: Mobile Grids do not display data

Post by kklosson »

I only see a localhost_access_log. The last item after logging in is just a call to the query. Using the Chrome Emulator, I see the same thing. No items in the grid.
g_emulator.PNG
g_emulator.PNG (19.05 KiB) Viewed 15792 times
V8.8
MySQL, AWS EC2, S3
PDFtk Toolkit
Jaymer
Posts: 2466
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: Mobile Grids do not display data

Post by Jaymer »

Image
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
customaware
Posts: 2413
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: Mobile Grids do not display data

Post by customaware »

Works for me ....

Upcloud Windows Server
Aware IM 8.2 Build 2563
MySQL V8
Mobile1.png
Mobile1.png (151.19 KiB) Viewed 15781 times
Mobile2.png
Mobile2.png (139.37 KiB) Viewed 15781 times
Mobile3.png
Mobile3.png (130.21 KiB) Viewed 15781 times
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
kklosson
Posts: 1629
Joined: Sun Nov 23, 2008 3:19 pm
Location: Virginia

Re: Mobile Grids do not display data [SOLVED]

Post by kklosson »

For those who assisted or are curious, the problem turned out to be some HTML in preceding panels on the VP. I haven't figured out exactly what to change, but when I put the query as the top item, the grid now shows the data. I'll figure out the rest. Thanks to all who chipped in.
V8.8
MySQL, AWS EC2, S3
PDFtk Toolkit
Post Reply