how to add tree_picker attribute in ui_reference field in ui page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2016 03:38 AM
Hi,
I am trying to add a hierarchy view in ui page ui_reference field of cmdb location table but not able to add attribute tree_picker . Couldn't find any reference for adding tree picker attribute in <g:ui_reference name="QUERY:city=San Diego" id="${jvar_service_name}" table="cmn_location"/>.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2016 05:04 AM
Hi Ratish,
Simply add tree_picker=true in the attribute field of the reference field.
Thanks
Abhishek
PS - Please mark this Helpful, Like, or Correct Answer if relevant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2016 05:18 AM
How to add it in a ui page? there is no reference of adding a tree_picker in
<g:ui_reference name="QUERY:city=San Diego" id="${jvar_service_name}" table="cmn_location"/>
on UI Page. On form it's doable but how to do so on an UI page. I have tried
<g:ui_reference name="QUERY:city=San Diego" tree_picker='true' id="${jvar_service_name}" table="cmn_location"/> -> not working
<g:ui_reference name="QUERY:city=San Diego" tree_picker=true id="${jvar_service_name}" table="cmn_location"/> ->Open quote is expected for attribute "tree_picker" associated with an element type "g:ui_reference"
<g:ui_reference name="QUERY:city=San Diego" attr="tree_picker:'true'" id="${jvar_service_name}" table="cmn_location"/> -> not working
<g:ui_reference name="QUERY:city=San Diego" attr="tree_picker:true" id="${jvar_service_name}" table="cmn_location"/> -> not working
<g:ui_reference name="QUERY:city=San Diego" attr="tree_picker='true'" id="${jvar_service_name}" table="cmn_location"/> -> not working
<g:ui_reference name="QUERY:city=San Diego" attr="tree_picker=true" id="${jvar_service_name}" table="cmn_location"/> -> not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2016 09:39 AM
This post also request for a similar response.
Can any 1 confirm if it's possible,if possible please share the code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-14-2016 01:49 AM
Hi Ratish,
Did you ever get an answer to this? I'm trying to do the same thing.
Thanks,
Kate