Tooltips issue

Mar 5, 2013 at 5:12 PM
Edited Mar 5, 2013 at 5:16 PM
Hey guys,

I was wanting to create custom tool tips for my CRM Forms, but instead of using a separate web resource I just wanted to use the description field for each attribute on the form.

I changed the AJAX query to grab a soap request, but I am having issues parsing that response xml. Could I get some insight about that?

Here is the snippet where I am going through that responseXml document:
createToolTips: function (xmlHttpRequest) {
        var entityName =; (attribute, index) {
            var fieldName = attribute.getName();
            var desc = crmGlobal.DescriptionToolTips.selectTipNode(result, "//EntityMetadata/Attributes/Attribute[LogicalName='" + fieldName + "']/Description/UserLocLabel/Label");
            if (desc != null) {
                crmGlobal.DescriptionToolTips.createTipDiv(entityName, fieldName, desc.nodeTypedValue);
Mar 12, 2013 at 9:01 AM
Hi There.

I am not sure if this is related with the XrmServiceToolkit, but to check and parse the soap response xml, you could use tools like fiddler or IE developer tool to test your code to see if the response xml actually contains the right result.

Happy Coding,