Hola Netzio, en la SDK tienes ejemplos, es como la "biblia", te recomiendo que la tengas siempre a mano (http://msdn.microsoft.com/en-us/library/gg334409.aspx), pero en resumen puede usar "getAttributeType()":
var attributes = Xrm.Page.data.entity.attributes.get();
for (var i in attributes) {
var attribute = attributes[i];
alert(attribute.getName() + ":" attribute.getAttributeType()) ;
}
un saludo,
Demian Adolfo Raschkovan Blog: http://crmtoall.blogspot.com If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"