
I am using the function Xrm.Navigation.navigateTo(pageInput, navigationOptions) and everything works fine' but when the webresource is open it has the name of the html - pws_Workers.html - on top of the pop up and I need it more user friendly like : Our workers. how do I change that?
var pageInput = {
pageType: "webresource",
webresourceName: "pws_Workers.html",
data: JSON.stringify(selectedContact)
}; I found the answer , add title property
var navigationOptions = {
target: 2,
width: 500, // value specified in pixel
height: 400, // value specified in pixel
position: 1,
title:"Ouer workers"
};