ONE String from multiple attributes

Contains tips for configurators working with Aware IM
Post Reply
weblike
Posts: 1165
Joined: Sun Dec 02, 2012 12:00 pm
Location: Europe

ONE String from multiple attributes

Post by weblike »

Hi,

This is a repost of : http://www.awareim.com/forum/viewtopic.php?f=1&t=7931

Basically if you want to have a string composed from multiple attributes you can use LIST_LINE function (find in user guide)

From this:
Image

you can have this:
attribute = " Loading 1, Loading 2, Loading 3, Loading 4, Unloading 1, Unloading 2, Unloading 3"

cheers,
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
hpl123
Posts: 2579
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: ONE String from multiple attributes

Post by hpl123 »

Nice George, thx :)
Henrik (V8 Developer Ed. - Windows)
weblike
Posts: 1165
Joined: Sun Dec 02, 2012 12:00 pm
Location: Europe

Re: ONE String from multiple attributes

Post by weblike »

Hi,

@Support
How LIST_LINE selects the order of displaying attributes? Can we select the order ?

thank you
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Re: ONE String from multiple attributes

Post by tford »

How LIST_LINE selects the order of displaying attributes? Can we select the order ?
From the User Gide:
1) Identifier of the list or a string identifying the query (either Rule Language string or the name of the existing query).

So all you have to do is specify a query that has sort criteria included.
Tom - V8.8 build 3137 - MySql / PostGres
Post Reply