Hi, I have activity associated with case entity. When I create a new task, I want to get case info through javascript, I put it in task form load event, but it looks like I got nothing, here is my code,
function taskinfo(){ debugger; var obj = Xrm.Page.getAttribute("casetypecode"); if (obj != null) { var optionSetText = obj.getText(); var optionSetValue = obj.getValue(); alert(optionSetText+optionSetValue); } }