how to set a 2nd level subject tree to force select
Senario is: when selected: check if the <subject> has <parentsubject> if not then msg: "please select a child subject tree" set focus back to subject else leave as <parent subject> /////////////////////////////////////// function GetAttributeValueFromID(sEntityName, sGUID, sAttributeName, sID) { var xml = "" + "<?xml version=\"1.0\" encoding=\"utf-8\"?>" + "<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">" + GenerateAuthenticationHeader() + " <soap:Body>" + " <RetrieveMultiple xmlns=\"http://schemas.microsoft.com/crm/2007/WebServices\">" + " <query xmlns:q1=\"http://schemas.microsoft.com/crm/2006/Query\" xsi:type=\"q1:QueryExpression\">" + ...