Hi all,
I have a two option set field placed on header, when value is true it should focus on to a tab otherwise do nothing. I am writing a JS code to achieve this but for some reason it is failing. Below is the complete code.
Any inputs over here?
function checkstatus(){
var get_value = Xrm.Page.getAttribute("header_iis_flagstatusnew").getValue();
if(get_value == true){
Xrm.Page.ui.tabs.get("tab_16")setFocus();
}
}
*This post is locked for comments
I have the same question (0)