\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\tSorry, unable to complete the action you requested.\n\t\t\t\t\t<\/p>\n\t\t\t\t\n\n\t\t\t\t\n\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t<\/div>\n\n\t\t\t\n\t\t<\/div>";
LITHIUM.AjaxSupport.fromLink('#link_1', 'acceptCookieEvent', 'false', 'LITHIUM:ajaxError', {}, 'S-VnOI2nPbYnBwEVIy2ZwoNE3Vi3iFhA4mq0fz3Q3R0.', 'ajax');
LITHIUM.AjaxSupport.fromLink('#link_2', 'rejectCookieEvent', 'false', 'LITHIUM:ajaxError', {}, 'hyrp7kk-ok4iWzQIPRaJvp-7SoN1zx-x3n9Po42s3WM.', 'ajax');
;(function($) {
$( '.custom-widget-menu-toggle' ).on( 'click', function() {
$( this ).toggleClass( 'menu-opened' );
$( 'body' ).toggleClass( 'slide-open' );
});
$( '.toggle-menu-children' ).on( 'click', function() {
$( this ).parent( '.has-children' ).toggleClass( 'open' );
});
function slideMenuReset() {
$( 'body' ).removeClass( 'slide-open' );
$( '.custom-widget-menu-toggle, .toggle-menu-children' ).removeClass( 'menu-opened' );
$( '.has-children' ).removeClass( 'open' );
}
$( window ).on( 'resize orienationchange', function() {
slideMenuReset();
});
})(LITHIUM.jQuery);
LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:lightboxRenderComponent","parameters":{"componentParams":"{\n \"triggerSelector\" : {\n \"value\" : \"#loginPageV2_83bae6ad1cc1bc\",\n \"class\" : \"lithium.util.css.CssSelector\"\n }\n}","componentId":"authentication.widget.login-dialog-content"},"trackableEvent":true},"tokenId":"ajax","elementSelector":"#loginPageV2_83bae6ad1cc1bc","action":"lightboxRenderComponent","feedbackSelector":false,"url":"https://community.sisense.com/t5/tkb/v2/page.loginpagev2:lightboxrendercomponent?t:ac=blog-id/knowledgebase/label-name/code%20first%20analytics/q-p/bGFiZWxzOmNvZGUrZmlyc3QrYW5hbHl0aWNz&t:cp=authentication/contributions/actions","ajaxErrorEventName":"LITHIUM:ajaxError","token":"wrCYE6AMeH4G_CHSTM66LVNe9IRC4PEVa9RhNGp2DF0."});
LITHIUM.Dialog.options['489375679'] = {"contentContext":"authentication.widget.login-dialog-content","dialogOptions":{"trackable":true,"resizable":true,"autoOpen":false,"minWidth":710,"dialogClass":"lia-content lia-panel-dialog lia-panel-dialog-modal-advanced","title":"Sign in","minHeight":200,"fitInWindow":true,"draggable":true,"maxHeight":600,"width":710,"position":["center","center"],"modal":true,"maxWidth":710},"contentType":"ajax"};
LITHIUM.Dialog({
"closeImageIconURL" : "https://community.sisense.com/skins/images/E19D5ED5EEF2CB47AA2E6259796562BD/theme_hermes/images/button_dialog_close.svg",
"closeEvent" : "LITHIUM:lightboxCloseEvent",
"activecastFullscreen" : false,
"defaultAriaLabel" : "",
"clientId" : "loginPageV2_83bae6ad1cc1bc",
"accessibility" : true,
"buttonDialogCloseAlt" : "Close",
"triggerSelector" : ".lia-panel-dialog-trigger-event-click",
"ajaxEvent" : "LITHIUM:lightboxRenderComponent",
"dialogContentCssClass" : "lia-panel-dialog-content",
"triggerEvent" : "click",
"dialogKey" : "dialogKey"
});
LITHIUM.Form.resetFieldForFocusFound();
LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox","feedbackSelector":".InfoMessage"});
LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_0","feedbackSelector":".InfoMessage"});
LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_1","feedbackSelector":".InfoMessage"});
LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_2","feedbackSelector":".InfoMessage"});
LITHIUM.AjaxFeedback(".lia-inline-ajax-feedback", "LITHIUM:hideAjaxFeedback", ".lia-inline-ajax-feedback-persist");
LITHIUM.Placeholder();
LITHIUM.AutoComplete({"options":{"autosuggestionAvailableInstructionText":"Auto-suggestions available. Use Up and Down arrow keys to navigate.","triggerTextLength":0,"autocompleteInstructionsSelector":"#autocompleteInstructionsText","updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","autosuggestionUnavailableInstructionText":"No suggestions available","disabled":false,"footerContent":[{"scripts":"\n\n(function(b){LITHIUM.Link=function(f){function g(a){var c=b(this),e=c.data(\"lia-action-token\");!0!==c.data(\"lia-ajax\")&&void 0!==e&&!1===a.isPropagationStopped()&&!1===a.isImmediatePropagationStopped()&&!1===a.isDefaultPrevented()&&(a.stop(),a=b(\"\\x3cform\\x3e\",{method:\"POST\",action:c.attr(\"href\"),enctype:\"multipart/form-data\"}),e=b(\"\\x3cinput\\x3e\",{type:\"hidden\",name:\"lia-action-token\",value:e}),a.append(e),b(document.body).append(a),a.submit(),d.trigger(\"click\"))}var d=b(document);void 0===d.data(\"lia-link-action-handler\")&&\n(d.data(\"lia-link-action-handler\",!0),d.on(\"click.link-action\",f.linkSelector,g),b.fn.on=b.wrap(b.fn.on,function(a){var c=a.apply(this,b.makeArray(arguments).slice(1));this.is(document)&&(d.off(\"click.link-action\",f.linkSelector,g),a.call(this,\"click.link-action\",f.linkSelector,g));return c}))}})(LITHIUM.jQuery);\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_83bae6ad6cb348', 'disableAutoComplete', '#ajaxfeedback_0', 'LITHIUM:ajaxError', {}, 'whwSVHF0zkZDUJVY-A_HJfMY1m3Am7ioTCfX4U3P8bU.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_0","redirectToItemLink":false,"url":"https://community.sisense.com/t5/tkb/v2/page.searchformv32.messagesearchfield.messagesearchfield:autocomplete?t:ac=blog-id/knowledgebase/label-name/code%20first%20analytics/q-p/bGFiZWxzOmNvZGUrZmlyc3QrYW5hbHl0aWNz&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"});
LITHIUM.AutoComplete({"options":{"autosuggestionAvailableInstructionText":"Auto-suggestions available. Use Up and Down arrow keys to navigate.","triggerTextLength":0,"autocompleteInstructionsSelector":"#autocompleteInstructionsText_0","updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","autosuggestionUnavailableInstructionText":"No suggestions available","disabled":false,"footerContent":[{"scripts":"\n\n(function(b){LITHIUM.Link=function(f){function g(a){var c=b(this),e=c.data(\"lia-action-token\");!0!==c.data(\"lia-ajax\")&&void 0!==e&&!1===a.isPropagationStopped()&&!1===a.isImmediatePropagationStopped()&&!1===a.isDefaultPrevented()&&(a.stop(),a=b(\"\\x3cform\\x3e\",{method:\"POST\",action:c.attr(\"href\"),enctype:\"multipart/form-data\"}),e=b(\"\\x3cinput\\x3e\",{type:\"hidden\",name:\"lia-action-token\",value:e}),a.append(e),b(document.body).append(a),a.submit(),d.trigger(\"click\"))}var d=b(document);void 0===d.data(\"lia-link-action-handler\")&&\n(d.data(\"lia-link-action-handler\",!0),d.on(\"click.link-action\",f.linkSelector,g),b.fn.on=b.wrap(b.fn.on,function(a){var c=a.apply(this,b.makeArray(arguments).slice(1));this.is(document)&&(d.off(\"click.link-action\",f.linkSelector,g),a.call(this,\"click.link-action\",f.linkSelector,g));return c}))}})(LITHIUM.jQuery);\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_83bae6ad901ca7', 'disableAutoComplete', '#ajaxfeedback_0', 'LITHIUM:ajaxError', {}, 'KwFZV5UEAEAvHMAX10xyua2PBx5212aRW2pOAH7r9Jw.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_1","redirectToItemLink":false,"url":"https://community.sisense.com/t5/tkb/v2/page.searchformv32.tkbmessagesearchfield.messagesearchfield:autocomplete?t:ac=blog-id/knowledgebase/label-name/code%20first%20analytics/q-p/bGFiZWxzOmNvZGUrZmlyc3QrYW5hbHl0aWNz&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"});
LITHIUM.AutoComplete({"options":{"autosuggestionAvailableInstructionText":"Auto-suggestions available. Use Up and Down arrow keys to navigate.","triggerTextLength":0,"autocompleteInstructionsSelector":"#autocompleteInstructionsText_1","updateInputOnSelect":true,"loadingText":"Searching for users...","emptyText":"No Matches","successText":"Users found:","defaultText":"Enter a user name or rank","autosuggestionUnavailableInstructionText":"No suggestions available","disabled":false,"footerContent":[{"scripts":"\n\n(function(b){LITHIUM.Link=function(f){function g(a){var c=b(this),e=c.data(\"lia-action-token\");!0!==c.data(\"lia-ajax\")&&void 0!==e&&!1===a.isPropagationStopped()&&!1===a.isImmediatePropagationStopped()&&!1===a.isDefaultPrevented()&&(a.stop(),a=b(\"\\x3cform\\x3e\",{method:\"POST\",action:c.attr(\"href\"),enctype:\"multipart/form-data\"}),e=b(\"\\x3cinput\\x3e\",{type:\"hidden\",name:\"lia-action-token\",value:e}),a.append(e),b(document.body).append(a),a.submit(),d.trigger(\"click\"))}var d=b(document);void 0===d.data(\"lia-link-action-handler\")&&\n(d.data(\"lia-link-action-handler\",!0),d.on(\"click.link-action\",f.linkSelector,g),b.fn.on=b.wrap(b.fn.on,function(a){var c=a.apply(this,b.makeArray(arguments).slice(1));this.is(document)&&(d.off(\"click.link-action\",f.linkSelector,g),a.call(this,\"click.link-action\",f.linkSelector,g));return c}))}})(LITHIUM.jQuery);\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_83bae6adafa376', 'disableAutoComplete', '#ajaxfeedback_0', 'LITHIUM:ajaxError', {}, '1QhtFxmjxp9qPXMYkq5Wzrq2olZOUpABU7gYQuDP8ws.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#userSearchField","redirectToItemLink":false,"url":"https://community.sisense.com/t5/tkb/v2/page.searchformv32.usersearchfield.usersearchfield:autocomplete?t:ac=blog-id/knowledgebase/label-name/code%20first%20analytics/q-p/bGFiZWxzOmNvZGUrZmlyc3QrYW5hbHl0aWNz&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"});
LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:userExistsQuery","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":"#userSearchField","action":"userExistsQuery","feedbackSelector":"#ajaxfeedback_0","url":"https://community.sisense.com/t5/tkb/v2/page.searchformv32.usersearchfield:userexistsquery?t:ac=blog-id/knowledgebase/label-name/code%20first%20analytics/q-p/bGFiZWxzOmNvZGUrZmlyc3QrYW5hbHl0aWNz&t:cp=search/contributions/page","ajaxErrorEventName":"LITHIUM:ajaxError","token":"iDgZvPEnSpA3Q11LkoKFn8qCvASqV0Ahll9nUwluTWQ."});
LITHIUM.AutoComplete({"options":{"autosuggestionAvailableInstructionText":"Auto-suggestions available. Use Up and Down arrow keys to navigate.","triggerTextLength":0,"autocompleteInstructionsSelector":"#autocompleteInstructionsText_2","updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","autosuggestionUnavailableInstructionText":"No suggestions available","disabled":false,"footerContent":[{"scripts":"\n\n(function(b){LITHIUM.Link=function(f){function g(a){var c=b(this),e=c.data(\"lia-action-token\");!0!==c.data(\"lia-ajax\")&&void 0!==e&&!1===a.isPropagationStopped()&&!1===a.isImmediatePropagationStopped()&&!1===a.isDefaultPrevented()&&(a.stop(),a=b(\"\\x3cform\\x3e\",{method:\"POST\",action:c.attr(\"href\"),enctype:\"multipart/form-data\"}),e=b(\"\\x3cinput\\x3e\",{type:\"hidden\",name:\"lia-action-token\",value:e}),a.append(e),b(document.body).append(a),a.submit(),d.trigger(\"click\"))}var d=b(document);void 0===d.data(\"lia-link-action-handler\")&&\n(d.data(\"lia-link-action-handler\",!0),d.on(\"click.link-action\",f.linkSelector,g),b.fn.on=b.wrap(b.fn.on,function(a){var c=a.apply(this,b.makeArray(arguments).slice(1));this.is(document)&&(d.off(\"click.link-action\",f.linkSelector,g),a.call(this,\"click.link-action\",f.linkSelector,g));return c}))}})(LITHIUM.jQuery);\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_83bae6adcd4f58', 'disableAutoComplete', '#ajaxfeedback_0', 'LITHIUM:ajaxError', {}, '52uwZY3Ry-biidNv-eQ85uMbFmqGGOZaXHI6APJDuIc.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#noteSearchField_0","redirectToItemLink":false,"url":"https://community.sisense.com/t5/tkb/v2/page.searchformv32.notesearchfield.notesearchfield:autocomplete?t:ac=blog-id/knowledgebase/label-name/code%20first%20analytics/q-p/bGFiZWxzOmNvZGUrZmlyc3QrYW5hbHl0aWNz&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"});
LITHIUM.AutoComplete({"options":{"autosuggestionAvailableInstructionText":"Auto-suggestions available. Use Up and Down arrow keys to navigate.","triggerTextLength":0,"autocompleteInstructionsSelector":"#autocompleteInstructionsText_3","updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","autosuggestionUnavailableInstructionText":"No suggestions available","disabled":false,"footerContent":[{"scripts":"\n\n(function(b){LITHIUM.Link=function(f){function g(a){var c=b(this),e=c.data(\"lia-action-token\");!0!==c.data(\"lia-ajax\")&&void 0!==e&&!1===a.isPropagationStopped()&&!1===a.isImmediatePropagationStopped()&&!1===a.isDefaultPrevented()&&(a.stop(),a=b(\"\\x3cform\\x3e\",{method:\"POST\",action:c.attr(\"href\"),enctype:\"multipart/form-data\"}),e=b(\"\\x3cinput\\x3e\",{type:\"hidden\",name:\"lia-action-token\",value:e}),a.append(e),b(document.body).append(a),a.submit(),d.trigger(\"click\"))}var d=b(document);void 0===d.data(\"lia-link-action-handler\")&&\n(d.data(\"lia-link-action-handler\",!0),d.on(\"click.link-action\",f.linkSelector,g),b.fn.on=b.wrap(b.fn.on,function(a){var c=a.apply(this,b.makeArray(arguments).slice(1));this.is(document)&&(d.off(\"click.link-action\",f.linkSelector,g),a.call(this,\"click.link-action\",f.linkSelector,g));return c}))}})(LITHIUM.jQuery);\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_83bae6ade8f6d8', 'disableAutoComplete', '#ajaxfeedback_0', 'LITHIUM:ajaxError', {}, 'qlO4bhoCtL55bNUq3dYiwWyiFbRsC45yRgxydQOXhmE.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#productSearchField","redirectToItemLink":false,"url":"https://community.sisense.com/t5/tkb/v2/page.searchformv32.productsearchfield.productsearchfield:autocomplete?t:ac=blog-id/knowledgebase/label-name/code%20first%20analytics/q-p/bGFiZWxzOmNvZGUrZmlyc3QrYW5hbHl0aWNz&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"});
LITHIUM.AjaxSupport.fromLink('#enableAutoComplete', 'enableAutoComplete', '#ajaxfeedback_0', 'LITHIUM:ajaxError', {}, 'ZPMSk6NzgGrMQT3sqDm4r9NVSnuMY3aj3_uZ1oSzwa4.', 'ajax');
LITHIUM.Tooltip({"bodySelector":"body#lia-body","delay":30,"enableOnClickForTrigger":false,"predelay":10,"triggerSelector":"#link_3","tooltipContentSelector":"#link_4-tooltip-element .content","position":["bottom","left"],"tooltipElementSelector":"#link_4-tooltip-element","events":{"def":"focus mouseover keydown,blur mouseout keydown"},"hideOnLeave":true});
LITHIUM.SearchAutoCompleteToggle({"containerSelector":"#searchautocompletetoggle","enableAutoCompleteSelector":".search-autocomplete-toggle-link","enableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:enableAutoComplete","disableAutoCompleteSelector":".lia-autocomplete-toggle-off","disableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:disableAutoComplete","autoCompleteSelector":".lia-autocomplete-input"});
LITHIUM.SearchForm({"asSearchActionIdSelector":".lia-as-search-action-id","useAutoComplete":true,"selectSelector":".lia-search-form-granularity","useClearSearchButton":false,"buttonSelector":".lia-button-searchForm-action","asSearchActionIdParamName":"as-search-action-id","formSelector":"#lia-searchformV32","nodesModel":{"knowledgebase|tkb-board":{"title":"Search Knowledge Base: Knowledge","inputSelector":".lia-search-input-message"},"top|category":{"title":"Search Category: Knowledge","inputSelector":".lia-search-input-message"},"prwft24948|community":{"title":"Search Community: Knowledge","inputSelector":".lia-search-input-message"},"user|user":{"title":"Users","inputSelector":".lia-search-input-user"}},"asSearchActionIdHeaderKey":"X-LI-AS-Search-Action-Id","inputSelector":"#messageSearchField_0:not(.lia-js-hidden)","clearSearchButtonSelector":null});
LITHIUM.DropDownMenu({"menuOffsetContainer":".lia-menu-offset-container","hoverLeaveEvent":"LITHIUM:hoverLeave","mouseoverElementSelector":".lia-js-mouseover-menu","menuOpenCssClass":"dropdownHover","clickElementSelector":".lia-js-click-menu","menuElementSelector":".lia-menu-navigation-wrapper","dialogSelector":".lia-panel-dialog-trigger","menuItemsSelector":".lia-menu-dropdown-items","menuClosedEvent":"LITHIUM:menuClosed","closeMenuEvent":"LITHIUM:closeMenu","menuOpenedEvent":"LITHIUM:menuOpened"});
LITHIUM.DropDownMenuVisibilityHandler({"selectors":{"menuSelector":"#actionMenuDropDown","menuItemsSelector":".lia-menu-dropdown-items"}});
LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#pageInformation","feedbackSelector":".InfoMessage"});
LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_3","feedbackSelector":".InfoMessage"});
LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_83bae6da1e839a","feedbackSelector":".InfoMessage"});
LITHIUM.CustomEvent('.lia-custom-event', 'click');
;(function ($) {
$('#community-activity-sorted-by').change(function() {
window.location = "https://community.sisense.com/t5/knowledge/tkb-p/knowledgebase?&sort="+$(this).val();
});
})(LITHIUM.jQuery);
LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_4","feedbackSelector":".InfoMessage"});
LITHIUM.DynamicPager({"selectors":{"liElementsSelector":"div#list_0> ul li","nextCountSelector":"#pager .lia-count-pager-page-next .lia-link-navigation","prevCountSelector":"#pager .lia-count-pager-page-previous .lia-link-navigation","prevSpanSelector":"#pager .lia-paging-page-previous span:first","currentPageSelector":"#pager .lia-paging-current-page","nextLinkSelector":"#pager .lia-paging-page-next a:first"},"misc":{"lastPage":2,"disabledClass":"lia-link-disabled","pagingType":"trivial","pageSize":10}});
LITHIUM.AjaxSupport.ComponentEvents.set({
"eventActions" : [
{
"event" : "sortLabelsWidget",
"actions" : [
{
"context" : "envParam:viewOrderSpec",
"action" : "rerender"
}
]
}
],
"componentId" : "labels.widget.labels.sortable",
"initiatorBinding" : false,
"selector" : "#labelsTaplet",
"parameters" : {
"labelDisplaySize" : "10",
"useSortHeader" : "false",
"viewOrderSpec" : "E8tq2PPBTj9AwwD8HqQATGntNBZ0ZCRoPa1qyfwXVghriAo6CWFtciCHIOgzKJMtG5YKP-YKcJC2ym2ZhKuIEzmNBkP9lQUn5_vzScUBPgt5hCF35HiBFflS9Hdi_uoxaeBwIIOMinsWzWi7fSWoHCDzlm3eCiXaUAw9WKYQ6UF-HtTkG9g6v80gXgrs21wU8Pfz_Jnmk6wrsGwbfN71scDo9oOk4UWjDCNAB_L978wVedOwzngKg1eirfrHgMvsJ7YoWWK4h9-U9RXa5Tcpi57FMCt4BEj_nsLKSZkjheoqtaOcDHP_uCiFpLHtLzTG4MPB1ElBqG3MjjtlOSgnYhVbgNiFQc7W1JJF_wXqQ2P9A-OrVC-UrJFAv_4l7c0iqNSO6DitBtzy28JPpuHWR_9zmXfFHsf-4qPYI1mxv7gpY68VmfMKBNDJrCcB-eXD0XdF9aFGj1SL5X1_AwtE-a1dZ8R1QAffsHZ1ALaHZIA_4BRYx5Ji4jt4rFKLX0v2jokneNHCLrK-NsHxYsQORC-8aEJi_s9mV64fAhsqggQ."
},
"initiatorDataMatcher" : ""
});
LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:sortLabelsWidget","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":"#labelsTaplet","action":"sortLabelsWidget","feedbackSelector":false,"url":"https://community.sisense.com/t5/tkb/v2/page.labelstaplet:sortlabelswidget?t:ac=blog-id/knowledgebase/label-name/code%20first%20analytics/q-p/bGFiZWxzOmNvZGUrZmlyc3QrYW5hbHl0aWNz&t:cp=labels/contributions/page","ajaxErrorEventName":"LITHIUM:ajaxError","token":"PXkG0t7lb81fy9ln0v-BUN51cK04445ojtQPJzknsYk."});
;(function($) {
$(document).ready(function () {
$('body').click(function() {
$('.user-profile-card').hide();
});
$('body').on('click', 'a.lia-link-navigation.lia-page-link.lia-user-name-link,.UserAvatar.lia-link-navigation', function(evt) {
if ($(this).parents('.lia-component-users-widget-menu').length > 0 || $(this).parents('.lia-component-common-widget-user-navigation-modern').length > 0) {
return;
}
evt.preventDefault();
evt.stopPropagation();
$('.user-profile-card').hide();
if ($('.user-profile-card', this).length > 0) {
$('.user-profile-card', this).show();
return;
}
var divContainer = $('');
$(this).append(divContainer);
$(divContainer).fadeIn();
var userId = $(this).attr('href').replace(/.*\/user-id\//gi,'');
var windowWidth = $(window).width();
var left = $(this).offset().left;
var cardWidth = divContainer.outerWidth();
if ((left + cardWidth) > (windowWidth - 25)) {
var adjustment = (left + cardWidth) - (windowWidth + 25) + 50;
divContainer.css('left', (-1 * adjustment) + 'px');
}
$.ajax({
url: '/plugins/custom/sisense/sisense/theme-lib.profile-card?tid=5656873085889892046',
type: 'post',
dataType: 'html',
data: {"userId": userId},
beforeSend: function() {},
success: function(data) {
$('.info-container', divContainer).append(data);
},
error: function() {
$('.info-container', divContainer).append('
');
},
complete: function() {
$('.spinner', divContainer).remove();
}
});
});
$('body').on('click', '.user-profile-card', function(evt) {
if (!$(evt.target).hasClass('profile-link')) {
evt.preventDefault();
}
evt.stopPropagation();
});
});
})(LITHIUM.jQuery);
LITHIUM.PartialRenderProxy({"limuirsComponentRenderedEvent":"LITHIUM:limuirsComponentRendered","relayEvent":"LITHIUM:partialRenderProxyRelay","listenerEvent":"LITHIUM:partialRenderProxy"});
LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:partialRenderProxyRelay","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":document,"action":"partialRenderProxyRelay","feedbackSelector":false,"url":"https://community.sisense.com/t5/tkb/v2/page.liabase.basebody.partialrenderproxy:partialrenderproxyrelay?t:ac=blog-id/knowledgebase/label-name/code%20first%20analytics/q-p/bGFiZWxzOmNvZGUrZmlyc3QrYW5hbHl0aWNz","ajaxErrorEventName":"LITHIUM:ajaxError","token":"2Q_GZMd-mMYiRYfwfkcEK2BC8mejbQ5jTL0hPoOHpQE."});
LITHIUM.Auth.API_URL = '/t5/util/authcheckpage';
LITHIUM.Auth.LOGIN_URL_TMPL = 'https://community.sisense.com/t5/user/userloginpage?dest_url=#{destUrl}';
LITHIUM.Auth.KEEP_ALIVE_URL = '/t5/status/blankpage?keepalive';
LITHIUM.Auth.KEEP_ALIVE_TIME = 180000;
LITHIUM.Auth.CHECK_SESSION_TOKEN = 'q1cQu9lGp6AQIcePbwkJ8OhXzfvqTzNwohjyAR4Vd6U.';
LITHIUM.AjaxSupport.useTickets = false;
LITHIUM.Cache.CustomEvent.set([{"elementId":"link_2_83bae6da1e839a_0","stopTriggerEvent":false,"fireEvent":"LITHIUM:changePage","triggerEvent":"click","eventContext":{"parameters":{"page":2}}},{"elementId":"link_0_83bae6da1e839a","stopTriggerEvent":false,"fireEvent":"LITHIUM:changePage","triggerEvent":"click","eventContext":{"parameters":{"pageNavigationDirection":"next","page":2}}},{"elementId":"link_27","stopTriggerEvent":false,"fireEvent":"LITHIUM:changePage","triggerEvent":"click","eventContext":{"parameters":{"pageNavigationDirection":"next","page":2}}}]);
LITHIUM.Loader.runJsAttached();
});
// -->