I have this following function to invoke pop-up where I have a page include
function openContactInfoPopUp(OpptyId, ShowSec){ console.log('I am in pop-up function--Dinesh', OpptyId,'---',ShowSec); var popupXMLString = '<popup title="Contact Information" width="90%">' +'<components>' +'<custom name="popupPlace" uniqueid="sk-qs-sc-3668"/>' +'<includepanel type="skuid" uniqueid="sk-qt1t0-3671" pagename="OpptyContactMethods" module="" querystring="?oid='+OpptyId+'&ShowSec='+ShowSec+'" lazyload="true"/>' +'</components>' +'<afterclose>' +'<action type="custom" snippet="RedirectScreenJS"/>' +'</afterclose>' +'</popup>'; var popupXML = skuid.utils.makeXMLDoc(popupXMLString); var popup = skuid.utils.createPopupFromPopupXML(popupXML); }
Couldn’t understood where I am going wrong. pop-up is not showing. Any help is appreciated. Thanks.