Output to div

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
idpSteve
Posts: 201
Joined: Thu Jul 27, 2017 6:13 am
Location: Johannesburg, South Africa
Contact:

Output to div

Post by idpSteve »

Hi All.

I'm wondering if there is any way to output a process or query result to a div rather than a panel.. We've got a client that is very specific with how their application should look, and it is almost impossible to make it look like this client wants using AwareIM panels only. It is much less time consuming and much easier to just create some html, put it all in one panel, and if possible output some queries to divs in a panel with certain IDs.

ie. AwareApp.runQuery('QueryName','#MyDivID'); or something like that..

Not sure if anyone has tried this before, or got any workaround or way to make it happen!
johntalbott
Posts: 619
Joined: Wed Jun 17, 2015 11:16 pm
Location: Omaha, Nebraska
Contact:

Re: Output to div

Post by johntalbott »

I don't have a working example any more, but I did get it to work.
VocalDay Solutions - Agility - Predictability - Quality

We specialize in enabling business through the innovative use of technology.

AwareIM app with beautiful UI/UX - https://screencast-o-matic.com/watch/crfUrrVeB3t
hpl123
Posts: 2594
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: Output to div

Post by hpl123 »

You can do a lot of custom stuff and requires a bit of tinkering. You have not detailed what exactly you are trying to achieve but take a look at the custom Awareapp functions and the execute script action. Here are some screenshots of things I´ve done and most things in these are custom HTML stuff:
https://www.dropbox.com/home/Public/Showcase
Henrik (V8 Developer Ed. - Windows)
idpSteve
Posts: 201
Joined: Thu Jul 27, 2017 6:13 am
Location: Johannesburg, South Africa
Contact:

Re: Output to div

Post by idpSteve »

Awesome, thanks for the replies!

Knowing it is possible I'm sure I can get it to work.

@Henrik your link unfortunately doesn't work, I think the one you posted only works when logged in to dropbox as you.
hpl123
Posts: 2594
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: Output to div

Post by hpl123 »

idpSteve wrote:Awesome, thanks for the replies!

Knowing it is possible I'm sure I can get it to work.

@Henrik your link unfortunately doesn't work, I think the one you posted only works when logged in to dropbox as you.
Aaarghhh, the URL must have changed when I opened it up from the initial forum post. The original link is here: http://www.awareim.com/forum/viewtopic. ... 736#p47241
Henrik (V8 Developer Ed. - Windows)
Post Reply