Description:
In this example we explain that how to get all Tabs
and Setions using javascript in Dynamic
CRM.or how to fetch all Tabs of the form in dynamic crm using javascript.or how
to controlling Tabs and Sections with javascript in Dynamic CRM.
Here is the code to get or fetch all Tabs and all
Sections in dynamic CRM using javascript.
function getAllTabs() {
var tabs = Xrm.Page.ui.tabs.get();
for (var i in tabs) {
var tab = tabs[i];
alert(tab.getName())
}
}
function getAllSections() {
var tabs = Xrm.Page.ui.tabs.get();
for (var i in tabs) {
var tab = tabs[i];
tab.sections.forEach(function (section, index) {
alert(section.getName())
});
}
}
thanks. also keep visiting updated post on blog.
ReplyDelete