The CreatorCon Call for Content is officially open! Get started here.

Advanced reference qualifier and variable attributes

MIcheleWilliams
Tera Contributor

I am trying to setup Building, floor and room number variables. The floor is based on the building and the room number is based on the floor.   I need help setting up the advanced reference qualifier and the variable attribute for floor and room number.  I copied this from another catalog item but my updates are not working. 

 

For floor, I wrote the following for the reference qualifier:  javascript:"cmn_location_type=floor^parent.parent="+current.variables.building   

 

I wrote the following for the variable attributes: ref_auto_completer=AJAXTableCompleter,ref_ac_columns=u_rm_typ_name;u_floor_category_name,ref_ac_columns_search=true 

 

For room number, I wrote the reference qualifier as: javascript:"cmn_location_type=room_number^parent.parent="+current.variables.floor  

 

For the variable attribute I wrote:  ref_auto_completer=AJAXTableCompleter,ref_ac_columns=u_rm_typ_name;u_room_number_category_name,ref_ac_columns_search=true 

 

1 REPLY 1

-O-
Kilo Patron

Are you sure in case of floor "parent.parent=..." is correct?

I would expect the parent of a floor to be the building, so in that case it would be "parent=...".

The same for room.

Of course I'm just guessing, this all depends on how the data has been defined.