Mobile Custom Query template

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
robleer
Posts: 285
Joined: Wed Jul 14, 2010 7:01 pm

Mobile Custom Query template

Post by robleer »

Hi,
I made an easy query for display some names and phonenumbers for a mobile phone.

I've added in the Body of the custom query a field like: <H1>{Name}</H1>.

This works fine, but when the attribute has no data Aware displays the text 'undefined'.
But I don not want to show anything then.

How can I switch that Undefined text off????

Tia,

Rob
Using 8.7 Professional 3025 on MySQL/Windows
mrbdrm
Posts: 349
Joined: Tue Oct 16, 2012 11:44 am

Re: Mobile Custom Query template

Post by mrbdrm »

i would like to know as well
robleer
Posts: 285
Joined: Wed Jul 14, 2010 7:01 pm

Re: Mobile Custom Query template

Post by robleer »

@Aware support: Please tell me how to turn the 'undefined' text off. This is really a showstopper for me.
I have a list with a non-mandatory field. Every time I want to show this field is shows 'Undefined'.

It simply has to show nothing.

TIA Rob
Using 8.7 Professional 3025 on MySQL/Windows
BenHayat
Posts: 2749
Joined: Thu Dec 23, 2010 5:48 am
Location: Fla, USA
Contact:

Re: Mobile Custom Query template

Post by BenHayat »

I had reported this during Beta testing and I thought it was resolved.
aware_support
Posts: 7523
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: Mobile Custom Query template

Post by aware_support »

Please send us the BSV that reproduces the problem.

In the meantime there are multiple workarounds:
1) Use conditional HTML expression and display nothing if undefined
2) Set blank (or space) value to the field by rules
Aware IM Support Team
RLJB
Posts: 914
Joined: Tue Jan 05, 2010 10:16 am
Location: Sydney, Australia

Re: Mobile Custom Query template

Post by RLJB »

Was there ever a solution to this (as opposed to a workaround) - pls share...
Rod. Aware 8.6 (latest build), Developer Edition, on OS Linux (Ubuntu) using GUI hosted on AWS EC2, MYSQL on AWS RDS
fjcortes
Posts: 72
Joined: Thu Apr 21, 2011 9:16 pm
Location: Colombia
Contact:

Mobile Custom Query template

Post by fjcortes »

Hello,
I am trying to understand the programming for mobiles with the AwareIM templates, but have noticed that when I use the query custom templates the button does not work for the operations menu in a tablet, but this does it work in the phones. Can someone tell me the reason?
Javier Cortes Ayus
Version 9.x (Testing)
OS: Ubuntu 20.04.6 LTS - DB: MySQL
aware_support
Posts: 7523
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: Mobile Custom Query template

Post by aware_support »

Which button doesn't work?
Aware IM Support Team
fjcortes
Posts: 72
Joined: Thu Apr 21, 2011 9:16 pm
Location: Colombia
Contact:

Re: Mobile Custom Query template

Post by fjcortes »

support, thanks for your prompt reply.
The button for operations in the query, as it appears in the image. The funny thing is that the phone works but the tablets do not and the application is blocked.

Image
Javier Cortes Ayus
Version 9.x (Testing)
OS: Ubuntu 20.04.6 LTS - DB: MySQL
aware_support
Posts: 7523
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: Mobile Custom Query template

Post by aware_support »

Is this the sample application or your own app? If this is your own app can you send the BSV to us and explain how to reproduce the problem?
Aware IM Support Team
Post Reply