if (!formContext.IsVersionItem && $('#CCSActionRowBottomPanel').length > 0) { var buttonHTML = ''; $('#CCSActionRowBottomPanel').append(buttonHTML); $('#btnCCSPrintCustom').click(function(e){ e.preventDefault(); var srcURL = formContext.formSetting.WebURL + "/CrowCanyonAppsLib/AdvPrint/Pages/ItemPrint.aspx?IsDlg=1&SPListItemId=" + formContext.listItem.get_id() + "&SPListId=" + formContext.formSetting.ListID; var PrintIconURL = 'https://crowcanyon.azureedge.net/AppsIcon/PrintManager/default_Y_36x36.png'; CCS_Nitro_PopupDialog("Crow Canyon Print Manager", srcURL, PrintIconURL, 1040, false); }); }