On trying to expand a category, where i got DXL with an empty text-tag: </text> i get the error message: (I'm not sure, if the empty text-tag is the problem, but i think so … )
oEntryData.text has no properties
The problematic line is about 1510 in jsNotesView2.1.5:
s = oEntryData.text[0].text;
If i change this line to the following, i do not get any errors anymore:
var s;
if( oEntryData.text ) {
s = oEntryData.text[0].text;
} else {
s = "";
}
The DXL from ?ReadViewEntries i like to display with NotesView2 is:
−
<viewentries toplevelentries="4"><br/>
−
<viewentry position="2.1.1" unid="A81E0939F73B1C5DC12572B2004854D3" noteid="207A" siblings="19"><br/>
−
<entrydata columnnumber="2" name="TicketType"><br/>
−
<textlist><br/>
−
<text><br/>
/development/v54/hm_servicedesk_d.nsf/Null?OpenImageResource
</text>
</textlist>
</entrydata>
−
<entrydata columnnumber="3" name="IcoFdbckWay"><br/>
−
<textlist><br/>
−
<text><br/>
/development/v54/hm_servicedesk_d.nsf/Null?OpenImageResource
</text>
</textlist>
</entrydata>
−
<entrydata columnnumber="4" name="IcoStatNr"><br/>
<text>115</text>
</entrydata>
−
<entrydata columnnumber="5" name="IcoPrioNr"><br/>
<text>104</text>
</entrydata>
<entrydata columnnumber="6" name="IconBckInfo">
</entrydata>
−
<entrydata columnnumber="7" name="CreateDate"><br/>
<text>03.04.2007</text>
</entrydata>
−
<entrydata columnnumber="8" name="UserID"><br/>
<text>ABC</text>
</entrydata>
−
<entrydata columnnumber="9" name=""><br/>
<text/>
</entrydata>
−
<entrydata columnnumber="10" name="ProcessEditor"><br/>
<text>Anonymous</text>
</entrydata>
−
<entrydata columnnumber="11" name=""><br/>
<text/>
</entrydata>
−
<entrydata columnnumber="12" name="EquipNbr"><br/>
<text>[not assigned]</text>
</entrydata>
−
<entrydata columnnumber="13" name="ReferenceNumber"><br/>
<text>ABC-1234567890</text>
</entrydata>
−
<entrydata columnnumber="14" name="ProblemShort"><br/>
<text>Some Text</text>
</entrydata>
</viewentry>
−
<viewentry position="2.1.2" and so on ... <br/>
Hope this info helps :)
Cheers,
Stefan