0 Replies Latest reply on Oct 26, 2010 2:57 PM by dhardy

    Custom Properties and 'Nodes with Problems'


      Adding addtional rows to the Advance Node Details and including content constructed out of custom properties:

      eg.  <tr>
             <td class="Property" width="10"> </td>
             <td class="PropertyHeader">Directions</td>
             <td class="Property"> </td>
             <td class="Property"><a href="http://maps.google.com/maps?f=d&source=s_d&saddr=StartAddress&daddr=<%#MakeBreakableString(Eval("ObjectProperties[\"Lat\"]"))%>,+<%#MakeBreakableString(Eval("ObjectProperties[\"Long\"]"))%>" target = "_blank">Directions</a></td>

      I'm trying to do something similar with the Nodes With Problems resource. I've successfully added a clickable link to open a ticket, however it appears that using this same strategy as above to access a custom property does not work correctly, while using predefined variables in the Nodes table does.

      I'm using the 'NodeID' to build the open ticket URL. I want to link the M icon to the URL of the view that the Node is on. I have a column that has the numeric value of the view that the node sits on.

                  <td class="Property"><a href="http://server/Orion/OrionNodeEvent/NodeEventForm.aspx?NodeID=<%#(Eval("[\"NodeID\"]"))%>" title="Open Ticket" target = "_blank"><img src="http://server/Orion/images/NewTicket.png"></a>

      ^^ This works correctly, however when I replace NodeID with Map (the column with the number of the view) I get the following error.

      The "Nodes with Problems" resource threw an exception..
      Exception has been thrown by the target of an invocation.
      This is what the HTML looks like:
                  <td class="Property"><a href="http://server/Orion/SummaryView.aspx?viewid=<%#(Eval("[\"Map\"]"))%>" title="View Map" target = "_blank"><img
      Anyone know how I can access the custom property so that the linke builds properly