Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

retrieve associated case info for a task

$
0
0

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);
    }
}



Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>