using shortcuts in a HTML Query Result

If you think that something doesn't work in Aware IM post your message here
Post Reply
yahya
Posts: 77
Joined: Sat Jul 16, 2011 6:00 am
Location: South Africa
Contact:

using shortcuts in a HTML Query Result

Post by yahya »

if I use html to display references in my query result using the "when row is expanded" feature, I get the Business Object name displayed aswell as the shortcut reference.

for example the displayed result would then look like:
Product:792@Jane Smith
when it should just display:
Jane Smith

Product is the Business Object name
'Jane Smith' / {CustomerName} is the Shortcut

My html is the following:
<p><b>{CustomerName}</b></p>
AwareIM Developer edition. Version 8.5 (Build 2827) running on Windows Server 2012 R2 Standard
aware_support
Posts: 7523
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: using shortcuts in a HTML Query Result

Post by aware_support »

This should work in theory. Are you sure that {CustomerName} is indeed a shortcut, not a reference?
Aware IM Support Team
craigd
Posts: 17
Joined: Fri Nov 16, 2018 7:07 am
Location: Canada

Re: using shortcuts in a HTML Query Result

Post by craigd »

I'm noticing the same problem.

Parent_BO has a reference to Child_BO
then Parent_BO.parent_attribute is a shortcut to Child_BO.child_attribute.

When I display this in an HTML 'expand row' section, like {parent_attribute} the HTML form displays the "Child_BO: ###: <attribute value>". Or in my case "ApprovalRole: 443:SJS"

Using 8.2. Aware_Support mentions that this should work 'in theory'. Is this supported?
customaware
Posts: 2391
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: using shortcuts in a HTML Query Result

Post by customaware »

Is Parent_BO.parent_attribute Multiple or single?
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
craigd
Posts: 17
Joined: Fri Nov 16, 2018 7:07 am
Location: Canada

Re: using shortcuts in a HTML Query Result

Post by craigd »

Single. There is only one child for the parent. So the reference lookup is straightforward for AwareIM.
aware_support
Posts: 7523
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: using shortcuts in a HTML Query Result

Post by aware_support »

Sounds like a bug this time. Can you send a test BSV that reproduces the problem to [email protected]?
Aware IM Support Team
Post Reply