Hi Ganga...
I have used the following $PROCESS$ Command to assist in this type of
calculation:
================================================
(A) Check to make sure that a leaf of the tree is selected:
PERFORM-ACTION-TABLE-IS-LEAF-SELECTED <table_field_ID>
(B) Return Leaf Content:
At this point you can return the content of the leaf and related
columns like you would
when you select a row from a normal table field.
================================================
Now if you want to find out the field content of the node selected
even though
it is not a leaf - this will be a little trickier from what I can
see...(maybe someone
else can provide a more elegant solution), but here goes:
(1) As you click on each node of the tree where there are sub-branches
- the first
matching sub-branch record ID can be ascertained (although there
are many entries
with that value in that field).
(2) Since you built the tree you should know what each level's
corresponding field
should be...
(3) Therefore based on Record ID & Field ID being known - ascertaining
the field
content should be a "moot" point...
There are other $PROCESS$ Commands that can be used to help out:
(1) Returns the field ID or level of the selected node, which starts
at 1.
PERFORM-ACTION-TABLE-GET-SELECTED-COLUMN <field_ID>
(2) Selects the specified node in a tree view table.
PERFORM-ACTION-TABLE-SELECT-NODE <field_ID> <row_number>
[ <column_number> ] [ <flag> ]
Good Luck bud...
On Apr 15, 3:32 pm, Ganga Prasad <[EMAIL PROTECTED]> wrote:
> Condria.
> Nice to ge t quick reply. Infact my requirement is to Identify the node
> content (The data on what the user has clicked) in the tree view. I need to
> do some calculation based on the value.
>
> On Tue, Apr 15, 2008 at 5:38 PM, CONDREA, Daniel <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > **http://www.buoyantsolutions.net/PUBLIC/ARS7/TreeView.zip
>
> > ------------------------------
> > *From:* Action Request System discussion list(ARSList) [mailto:
> > [EMAIL PROTECTED] *On Behalf Of *Ganga Prasad
> > *Sent:* Tuesday, April 15, 2008 3:06 PM
> > *To:* [EMAIL PROTECTED]
> > *Subject:* Remedy Tree diagram
>
> > ** Hi List,
>
> > In remedy Tree veiw of table field, how to know what is the node (node
> > content) the user has clicked on ??
>
> > ARS 7.0.01
> > No ITSM
> > Customized appl.
> > --
> > Thanks and Regards,
> > Ganga Prasad Pattnaik,
> > ( Remedy Skilled Professional )
> > ------------------------------------------------- __Platinum Sponsor:
> >www.rmsportal.comARSlist: "Where the Answers Are" html___
> > __Platinum Sponsor:www.rmsportal.comARSlist: "Where the Answers Are"
> > html___
>
> --
> Thanks and Regards,
> Ganga Prasad Pattnaik,
> ( Remedy Skilled Professional )
> -------------------------------------------------
>
> _______________________________________________________________________________
> UNSUBSCRIBE or access ARSlist Archives atwww.arslist.org
> Platinum Sponsor:www.rmsportal.comARSlist: "Where the Answers Are"
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"