Learnings about building literals that need apostrophe: '

Contains tips for configurators working with Aware IM
Post Reply
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Learnings about building literals that need apostrophe: '

Post by tford »

While integrating Fusion Charts with AwareIM, support has helped me learn how to use a rule to put an apostrophe in a Plain Text attribute.

For example, I needed to build the following in an attribute:
<set label='2004' value='37800' />

By using the ` above the ~ on the keyboard, the following rule accomplished the desired result:

BOname.result=`<set label='`+BOname.label+`' value='`+BOname.NbrValue+`' />`

I hope this might help shorten the learning curve for others.
Tom - V8.8 build 3137 - MySql / PostGres
shigountenshin
Posts: 6
Joined: Wed Sep 04, 2013 2:26 pm

Apostrophe in Aware IM

Post by shigountenshin »

Hi, my keyboard is diferente. I have tried ` and ' and ´ and it is still not working for me.
I am using the value <set label=' as an initial value in an atribute in the BO to build the result. Am I doing something wrong?
Thank you!
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

You must be doing something wrong. The key to use here, as Tom said, is ` which on English keyboards is below the ~ symbol.
Aware IM Support Team
Rennur
Posts: 1191
Joined: Thu Mar 01, 2012 5:13 am
Location: Sydney, Australia

Post by Rennur »

This is confusing.

Trying to use HTML in DISPLAY MESSAGE ASYNCH CLOSABLE action combining BO.Message and AwareIm html links.

How would the code below be converted using the suggested method?

<a class="btn btn-success btn-xs" href="javascript: void(0);" onClick="AwareApp.startProcess('TIP_DontShowAgain','main') title="Don't show this tip again">Don't show again</a>

Thanks
Rennur
Posts: 1191
Joined: Thu Mar 01, 2012 5:13 am
Location: Sydney, Australia

Post by Rennur »

For example, I needed to build the following in an attribute:
<set label='2004' value='37800' />


I see, the value is defined by a BO rule.

Can this be used in DISPLAY MESSAGE action?
Post Reply