JavaScript must be installed and enabled to use these boards.
Your browser appears to have JavaScript disabled or does not support JavaScript. Please refer to your browser's help file to determine how to enable JavaScript.
4 weeks ago
ワークフローで一定条件に合致した際に外部の API へリクエストして、受け取ったレスポンス値をコンタクトのプロパティへ保存したいと考えています。
API は POST 形式でリクエストBody がネストされた JSON 形式を受け付けるようになっており、JSON の値としてコンタクトのプロパティを入れたいと考えています。API が受け付ける JSON の構造が決まっており、その形式に合わせたいのですが、どのように設定すればよいでしょうか?
或いは「Webhookを送信」以外の方法で実現可能手段あればご教示いただきたいです。
Solved! Go to Solution.
4 weeks ago - last edited 4 weeks ago
@DSendWOW
>API は POST 形式でリクエストBody がネストされた JSON 形式を受け付けるようになっており、JSON の値としてコンタクトのプロパティを入れたいと考えています。
結論から申し上げますと
下記の機能を持つAPIを作成してワークフローのwebhook経由で呼ぶ、というのはいかがでしょうか。
APIの機能(本来呼びたいAPIをラップしたAPI):
1. ワークフローから`{key: value, ....}`形式のリクエストパラメータを受け取る
2. 本来呼びたいAPIを`{ xxx: {key: value, ...}, ...}`形式(ネストされたJSON)のリクエストパラメータで呼び出す
3. 上記2. のAPIのレスポンスをそのままレスポンスする
ワークフロー内で解決する方法の検討
webhookで呼び出すAPIのリクエストパラメータはネストではないので
ネストされた形式のデータを別途作成する必要がありそうですが
下記の理由でこの方法では難しい気がしております。
-適当なプロパティに`{key: value}`として保存する場合、文字列扱いになると思われます。
-カスタムコードを検討してみましたが、出力できるデータ型としてオブジェクトは指定できないようです。
参考になりましたら幸いです。
よろしくお願いします。
@natsumimori
お知らせいただきありがとうございます。
View solution in original post
@skimura 早速ご回答いただき誠にありがとうございます!
やはりネストしたリクエストデータは送れないのですね…。。中間のラップした API を用意する形で検討したいと思います。
この度は早急にご回答いただき誠にありがとうございました!
@DSendWOW さん、コミュニティーへの投稿ありがとうございます。
英語版HubSpotコミュニティーからこちらの日本語版HubSpotコミュニティーへ移動させていただきました。(*英語でのコミュニケーションとなりますが、HubSpot Developersでは他のディベロッパーたちと繋がることができます。)
ご相談内容について、 @skimura さん何かアドバイスいただけることがあればお願いいたします🙏
@natsumimori 大変失礼いたしました、初めての投稿でよくわかっておりませんでした。。
移動いただきありがとうございます!
Receive Community updates and events in your inbox every Monday morning.
\\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('#disableAutoComplete_14b8fc8bd887a2', 'disableAutoComplete', '#ajaxfeedback_14b8fc8ba4326b_0', 'LITHIUM:ajaxError', {}, 'gImOj_PUWt9VSlV2zWcUV0yedynNsc-X5Lvri54ztYc.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_14b8fc8ba4326b_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.messagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/marketing_contacts/thread-id/10585&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_14b8fc8c14b78e', 'disableAutoComplete', '#ajaxfeedback_14b8fc8ba4326b_0', 'LITHIUM:ajaxError', {}, 'kpL031ik2ELZtdAaVM497NSk5InndJ_g9ldXsfBGzg4.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_14b8fc8ba4326b_1","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.tkbmessagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/marketing_contacts/thread-id/10585&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching for users...","emptyText":"No Matches","successText":"Users found:","defaultText":"Enter a user name or rank","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_14b8fc8c2c0fc4', 'disableAutoComplete', '#ajaxfeedback_14b8fc8ba4326b_0', 'LITHIUM:ajaxError', {}, 'drVsp4_v8FyWcMjoqIBKegjAh3En4RqfRyD_VuOupEA.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#userSearchField_14b8fc8ba4326b","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.usersearchfield.usersearchfield:autocomplete?t:ac=board-id/marketing_contacts/thread-id/10585&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_14b8fc8ba4326b","action":"userExistsQuery","feedbackSelector":"#ajaxfeedback_14b8fc8ba4326b_0","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.usersearchfield:userexistsquery?t:ac=board-id/marketing_contacts/thread-id/10585&t:cp=search/contributions/page","ajaxErrorEventName":"LITHIUM:ajaxError","token":"lc6ljxK4eaH39UPSU1Ny_cYfRlI0yV6tlw8bRdqVtvI."}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_14b8fc8c42fc83', 'disableAutoComplete', '#ajaxfeedback_14b8fc8ba4326b_0', 'LITHIUM:ajaxError', {}, 'jDyV28Aas4bHKHC05_hdZYBv2kW9qS3vVSdV5kTPbhA.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#noteSearchField_14b8fc8ba4326b_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.notesearchfield.notesearchfield:autocomplete?t:ac=board-id/marketing_contacts/thread-id/10585&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_14b8fc8c58d2f9', 'disableAutoComplete', '#ajaxfeedback_14b8fc8ba4326b_0', 'LITHIUM:ajaxError', {}, 'Z1pionOC1K8ZhDb_Zpyi14MVDI7fghthCvgDsyVXFcM.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#productSearchField_14b8fc8ba4326b","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.productsearchfield.productsearchfield:autocomplete?t:ac=board-id/marketing_contacts/thread-id/10585&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.Link({"linkSelector":"a.lia-link-ticket-post-action"}); LITHIUM.AjaxSupport.fromLink('#enableAutoComplete_14b8fc8ba4326b', 'enableAutoComplete', '#ajaxfeedback_14b8fc8ba4326b_0', 'LITHIUM:ajaxError', {}, 'dh2qGP13pCB3y3NLRPGjjj6VAcdoubMsi5Qp6b4lRLE.', 'ajax'); LITHIUM.Tooltip({"bodySelector":"body#lia-body","delay":30,"enableOnClickForTrigger":false,"predelay":10,"triggerSelector":"#link_14b8fc8ba4326b","tooltipContentSelector":"#link_14b8fc8ba4326b_0-tooltip-element .content","position":["bottom","left"],"tooltipElementSelector":"#link_14b8fc8ba4326b_0-tooltip-element","events":{"def":"focus mouseover keydown,blur mouseout keydown"},"hideOnLeave":true}); LITHIUM.HelpIcon({"selectors":{"helpIconSelector":".help-icon .lia-img-icon-help"}}); LITHIUM.SearchAutoCompleteToggle({"containerSelector":"#searchautocompletetoggle_14b8fc8ba4326b","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_14b8fc8ba4326b","asSearchActionIdHeaderKey":"X-LI-AS-Search-Action-Id","inputSelector":"#messageSearchField_14b8fc8ba4326b_0:not(.lia-js-hidden)","clearSearchButtonSelector":null}); LITHIUM.Form.resetFieldForFocusFound(); (function($) { document.querySelector('a.login-link').classList.add('homepage-nav-login'); })(LITHIUM.jQuery); ;(function($){ $(document).ready(function() { $(".custom-user-menu-v2 .nav-link").click(function(e) { e.preventDefault(); $(".nav-popover.profile").toggleClass('show'); }); $(".search-toggle-action-icon-plus").on("click",function(e){ e.preventDefault(); $(this).parent().find(".plus-bar-main-content").toggle(); }); //User Avatar $('.header-tab-nav li span').click(function() { $('.header-tab-nav li span').removeClass("active"); if(this.id == 'profile'){ $('span#profile').addClass("active"); $('.header-tab-nav-content > div#profile-list-wrapper').show(); $('.header-tab-nav-content > div#admin-list-wrapper').hide(); $('.header-tab-nav-content > div#profile-list-wrapper').removeClass('profile-menu-dropdown'); } if(this.id == 'admin'){ $('span#admin').addClass("active"); $('.header-tab-nav-content > div#profile-list-wrapper').hide(); $('.header-tab-nav-content > div#admin-list-wrapper').show(); $('.header-tab-nav-content > div#profile-list-wrapper').addClass('profile-menu-dropdown'); } var indexer = $(this).index(); //gets the current index of (this) which is #header-tab-nav li $('.header-tab-nav-content > div:eq(' + indexer + ')').fadeIn(); //uses whatever index the link has to open the corresponding box }); $(this).mouseup(function (e){ var customButton = $('.nav-popover.profile'); if(!$('.custom-menu-caret').is(e.target) && $('.custom-menu-caret').has(e.target).length === 0){ if(!customButton.is(e.target) && customButton.has(e.target).length === 0){ if (!$('.custom-user-menu-v2 > .nav-link').is(e.target) && $('.custom-user-menu-v2 > .nav-link').has(e.target).length === 0) { customButton.removeClass('show'); } } } var menuWrapper = $('.menu-wrapper'); if(!menuWrapper.is(e.target) && menuWrapper.has(e.target).length === 0){ if (!$('.menu').is(e.target) && $('.menu').has(e.target).length === 0) { menuWrapper.removeClass('offcanvas'); } } var container = $(".plus-bar-main-content"); var customButton = $(".search-toggle-action-icon-plus"); if (!customButton.is(e.target) && customButton.has(e.target).length === 0) { container.hide(); } if(!$('.lang-picker-wrapper').is(e.target) && $('.lang-picker-wrapper').has(e.target).length === 0){ if (!$('.lang-picker').is(e.target) && $('.lang-picker').has(e.target).length === 0) { $('.lang-picker').removeClass('show'); } } }); //SCROLL JS $(window).scroll(function(e) { e.preventDefault(); if($('.nav-popover.profile').hasClass("show")){ if ($(this).scrollTop() > 0) { $('.nav-popover.profile').removeClass("show"); } else { $('.nav-popover.profile').addClass("show"); } } if($('.nav-popover.get-hubspot').hasClass("show")){ if ($(this).scrollTop() > 0) { $('.nav-popover.get-hubspot').removeClass("show"); } else { $('.nav-popover.get-hubspot').addClass("show"); } } if ($(this).scrollTop() > 0) { $('.search-input.lia-search-input-message').blur(); $('.plus-bar-main-content').hide(); } }); }); jQuery('.lang-picker-wrapper').click(function(){ jQuery(".lang-picker").toggleClass('show'); }); jQuery('.lia-cat-sub-editor-modal .lia-ui-modal-footer .lia-button-Submit-action').live('click',function(){ setTimeout( function() { location.reload(true); },1000); }); })(LITHIUM.jQuery); ;(function($){ var langMap = { 'en':'hubspot_community_en', 'es':'hubspot_community_es', 'fr':'hubspot_community_fr', 'ja':'hubspot_community_jp', 'pt-br':'hubspot_community_pt', 'de':'hubspot_community_de' } var nodeType = "board"; var langScope = langMap['en']; var isSearchPage = jQuery('body').hasClass('SearchPage'); var isIdeasLandingPage = jQuery('body').hasClass('ideaslandingpage'); if (nodeType === "community" && !isSearchPage && !isIdeasLandingPage) { var inputFormFilter = ''; var inputFormLocation = ''; $('form.SearchForm').append(inputFormFilter).append(inputFormLocation); } else if (nodeType === "community" && isIdeasLandingPage) { var searchUrl = "/t5/forums/searchpage/tab/message?filter=location&location=idea-board:HubSpot_Ideas&collapse_discussion=true"; var query = jQuery('.SearchForm .lia-search-input-message').val(); jQuery(document).on('submit', 'form.SearchForm', function(e) { e.preventDefault(); var newQ = "&q=" + document.querySelector('.SearchForm .lia-search-input-wrapper input.search-input').value; window.location = window.location.origin + searchUrl + newQ; }) } })(LITHIUM.jQuery) LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_14b8fc8cb85057","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_14b8fc8cb85057_0","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_14b8fc8cb85057_1","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_14b8fc8cb85057_2","feedbackSelector":".InfoMessage"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_14b8fc8ce7cc8e', 'disableAutoComplete', '#ajaxfeedback_14b8fc8cb85057_0', 'LITHIUM:ajaxError', {}, 'D414cbv7hk-KcSbgsmqWTzM_ctd4oYRo2mWAqW50V4w.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_14b8fc8cb85057_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.messagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/marketing_contacts/thread-id/10585&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_14b8fc8cff4882', 'disableAutoComplete', '#ajaxfeedback_14b8fc8cb85057_0', 'LITHIUM:ajaxError', {}, 'AIvcq3BHWhf3zygtU6ew8jBBgaNc5Lwd2bm6lS0tF64.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_14b8fc8cb85057_1","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.tkbmessagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/marketing_contacts/thread-id/10585&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching for users...","emptyText":"No Matches","successText":"Users found:","defaultText":"Enter a user name or rank","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_14b8fc8d148cc1', 'disableAutoComplete', '#ajaxfeedback_14b8fc8cb85057_0', 'LITHIUM:ajaxError', {}, '2r7h_z7yzzg0MM9Ic-ZZDKowor_Ep8QalA0ApCkcg8w.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#userSearchField_14b8fc8cb85057","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.usersearchfield.usersearchfield:autocomplete?t:ac=board-id/marketing_contacts/thread-id/10585&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_14b8fc8cb85057","action":"userExistsQuery","feedbackSelector":"#ajaxfeedback_14b8fc8cb85057_0","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.usersearchfield:userexistsquery?t:ac=board-id/marketing_contacts/thread-id/10585&t:cp=search/contributions/page","ajaxErrorEventName":"LITHIUM:ajaxError","token":"MQ6stsLbkgD_7HnYPA1gDuv5J3DbsyEsUgT20Yto9vk."}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_14b8fc8d29c48b', 'disableAutoComplete', '#ajaxfeedback_14b8fc8cb85057_0', 'LITHIUM:ajaxError', {}, 'rM6qeGc1oH71Rhvgo9NKlUiQzBIdHbARc2CPhiK_Ti0.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#noteSearchField_14b8fc8cb85057_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.notesearchfield.notesearchfield:autocomplete?t:ac=board-id/marketing_contacts/thread-id/10585&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_14b8fc8d3b805c', 'disableAutoComplete', '#ajaxfeedback_14b8fc8cb85057_0', 'LITHIUM:ajaxError', {}, 'qrQPLD2EoaDqH0Te1fNoTy0V3Ag3ffPIHRFQKiBYT38.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#productSearchField_14b8fc8cb85057","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.productsearchfield.productsearchfield:autocomplete?t:ac=board-id/marketing_contacts/thread-id/10585&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AjaxSupport.fromLink('#enableAutoComplete_14b8fc8cb85057', 'enableAutoComplete', '#ajaxfeedback_14b8fc8cb85057_0', 'LITHIUM:ajaxError', {}, 'GFKymiI4cjno3aWpyKDGZH_wgyBuRm_UVEUX63R5I-g.', 'ajax'); LITHIUM.Tooltip({"bodySelector":"body#lia-body","delay":30,"enableOnClickForTrigger":false,"predelay":10,"triggerSelector":"#link_14b8fc8cb85057","tooltipContentSelector":"#link_14b8fc8cb85057_0-tooltip-element .content","position":["bottom","left"],"tooltipElementSelector":"#link_14b8fc8cb85057_0-tooltip-element","events":{"def":"focus mouseover keydown,blur mouseout keydown"},"hideOnLeave":true}); LITHIUM.HelpIcon({"selectors":{"helpIconSelector":".help-icon .lia-img-icon-help"}}); LITHIUM.SearchAutoCompleteToggle({"containerSelector":"#searchautocompletetoggle_14b8fc8cb85057","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_14b8fc8cb85057","nodesModel":{"marketing_contacts|forum-board":{"title":"Search Board: Lists, Lead Scoring & Workflows","inputSelector":".lia-search-input-message"},"user|user":{"title":"Users","inputSelector":".lia-search-input-user"},"marketing|category":{"title":"Search Category: Lists, Lead Scoring & Workflows","inputSelector":".lia-search-input-message"},"mjmao93648|community":{"title":"Search Community: Lists, Lead Scoring & Workflows","inputSelector":".lia-search-input-message"}},"asSearchActionIdHeaderKey":"X-LI-AS-Search-Action-Id","inputSelector":"#messageSearchField_14b8fc8cb85057_0:not(.lia-js-hidden)","clearSearchButtonSelector":null}); (function($) { document.querySelector('a.login-link').classList.add('homepage-nav-login'); })(LITHIUM.jQuery); (function($) { if ( $('.lia-notification-feed-page-link').length ) { $('.lia-notification-feed-page-link').addClass('nav-notifs'); } if ( $('.private-notes-link').length ) { $('.private-notes-link').addClass('nav-mail'); } })(LITHIUM.jQuery); ;(function($){ $('.custom-search-focus').on('click', function() { $('.lia-search-input-message').focus(); }); })(LITHIUM.jQuery); // Pull in global jQuery reference if (document.querySelectorAll('.lia-component-admin-widget-moderation-manager')[0]) { document.querySelectorAll('.lia-component-admin-widget-moderation-manager')[0].href = "/t5/bizapps/page/tab/community%3Amoderation?filter=includeForums&sort_by=-topicPostDate&include_forums=true&collapse_discussion=true" } ;(function($) { $("#get-hubspot-free").click(function(){ $("#get-hubspot").toggleClass("show"); }); // Closes dropdown boxes when clicking outside of the box // click listener applied inline, function in script tag window.onclick = function(e) { if (e.target?.matches && !e.target?.matches('#get-hubspot-free')) { if (document.getElementById("get-hubspot")) { if (document.getElementById("get-hubspot").classList.contains('show')) { document.getElementById("get-hubspot").classList.remove('show'); } } } if (e.target?.matches && !e.target?.matches('#current-language')) { if (document.getElementById("lang-picker-global")) { if (document.getElementById("lang-picker-global").classList.contains('show')) { document.getElementById("lang-picker-global").classList.remove('show'); } } } }; $(window).scroll(function(){ if ($(this).scrollTop() > 65) { $('.forum-nav-bar').addClass('ch-sticky'); $('.community-header-nav').addClass('ch-space'); } else { $('.forum-nav-bar').removeClass('ch-sticky'); $('.community-header-nav').removeClass('ch-space');; } }); $('span.custom-menu-caret').on('click',function(){ $(this).siblings('.nav-popover.profile').toggleClass('show'); }); })(LITHIUM.jQuery); (function($) { $(document).ready(function(){ try{ var PostURl = '' if('board'==='board'){ var PostURl = '/t5/forums/postpage/board-id/marketing_contacts' }else if('board'==='category') { var PostURl = '/t5/forums/postpage/category-id/marketing_contacts'} var searchSelector = $('.custom-search-wrapper .lia-autocomplete-container .lia-autocomplete-footer'); var data = "Can't find what you're looking for? Ask A Question "; $(data).insertAfter(searchSelector[0]); }catch(err){ console.log(err); } }); })(LITHIUM.jQuery); (function($) { $(document).ready(function(){ $('.lia-quilt-idea-exchange-page-filtered-v2 .custom-v2-banner .search-input, .lia-quilt-idea-page-filtered .custom-v2-banner .search-input').attr('placeholder', 'Search for Ideas'); }); })(LITHIUM.jQuery); ;(function($){ var langMap = { 'en':'hubspot_community_en', 'es':'hubspot_community_es', 'fr':'hubspot_community_fr', 'ja':'hubspot_community_jp', 'pt-br':'hubspot_community_pt', 'de':'hubspot_community_de' } var nodeType = "board"; var langScope = langMap['en']; var isSearchPage = jQuery('body').hasClass('SearchPage'); var isIdeasLandingPage = jQuery('body').hasClass('ideaslandingpage'); if (nodeType === "community" && !isSearchPage && !isIdeasLandingPage) { var inputFormFilter = ''; var inputFormLocation = ''; $('form.SearchForm').append(inputFormFilter).append(inputFormLocation); } else if (nodeType === "community" && isIdeasLandingPage) { var searchUrl = "/t5/forums/searchpage/tab/message?filter=location&location=idea-board:HubSpot_Ideas&collapse_discussion=true"; var query = jQuery('.SearchForm .lia-search-input-message').val(); jQuery(document).on('submit', 'form.SearchForm', function(e) { e.preventDefault(); var newQ = "&q=" + document.querySelector('.SearchForm .lia-search-input-wrapper input.search-input').value; window.location = window.location.origin + searchUrl + newQ; }) } })(LITHIUM.jQuery) LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_14b8fc8f764ff5","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_14b8fc8f764ff5_0","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_14b8fc8f764ff5_1","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_14b8fc8f764ff5_2","feedbackSelector":".InfoMessage"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_14b8fc8fa705ee', 'disableAutoComplete', '#ajaxfeedback_14b8fc8f764ff5_0', 'LITHIUM:ajaxError', {}, 'nix3pLN4Zb8Y3SBue-8VxJlvbfP0-J7XBV2yg9kDWu0.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_14b8fc8f764ff5_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.messagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/marketing_contacts/thread-id/10585&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_14b8fc8fd04b73', 'disableAutoComplete', '#ajaxfeedback_14b8fc8f764ff5_0', 'LITHIUM:ajaxError', {}, 'gEnVJltt78-41UZugxjv9BngL_ZOVL9ehMroNH-8G7Y.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_14b8fc8f764ff5_1","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.tkbmessagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/marketing_contacts/thread-id/10585&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching for users...","emptyText":"No Matches","successText":"Users found:","defaultText":"Enter a user name or rank","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_14b8fc8fef63d7', 'disableAutoComplete', '#ajaxfeedback_14b8fc8f764ff5_0', 'LITHIUM:ajaxError', {}, '94yNjeKZEoThQsFcZdgNR4ykIn6nR9DmqyHGoF_50n0.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#userSearchField_14b8fc8f764ff5","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.usersearchfield.usersearchfield:autocomplete?t:ac=board-id/marketing_contacts/thread-id/10585&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_14b8fc8f764ff5","action":"userExistsQuery","feedbackSelector":"#ajaxfeedback_14b8fc8f764ff5_0","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.usersearchfield:userexistsquery?t:ac=board-id/marketing_contacts/thread-id/10585&t:cp=search/contributions/page","ajaxErrorEventName":"LITHIUM:ajaxError","token":"M-Y9SA0nkCpVzFJ442x9xRzjqnVLydIAurB0SQ25rPw."}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_14b8fc90091f28', 'disableAutoComplete', '#ajaxfeedback_14b8fc8f764ff5_0', 'LITHIUM:ajaxError', {}, 'hkICQWemleXb-QJTggYoSHULQ1w58l_1ejClSsqMxgg.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#noteSearchField_14b8fc8f764ff5_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.notesearchfield.notesearchfield:autocomplete?t:ac=board-id/marketing_contacts/thread-id/10585&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_14b8fc902c64fb', 'disableAutoComplete', '#ajaxfeedback_14b8fc8f764ff5_0', 'LITHIUM:ajaxError', {}, 'gjSxeQCM5_dbek_wfSGs4pBdEpVaHW2nGEYmDYhzUYU.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#productSearchField_14b8fc8f764ff5","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.searchformv32.productsearchfield.productsearchfield:autocomplete?t:ac=board-id/marketing_contacts/thread-id/10585&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AjaxSupport.fromLink('#enableAutoComplete_14b8fc8f764ff5', 'enableAutoComplete', '#ajaxfeedback_14b8fc8f764ff5_0', 'LITHIUM:ajaxError', {}, 'ndwjTW_aqHUbkMr3aCDrYDzgrlm-43lQnK4V5vcE2RM.', 'ajax'); LITHIUM.Tooltip({"bodySelector":"body#lia-body","delay":30,"enableOnClickForTrigger":false,"predelay":10,"triggerSelector":"#link_14b8fc8f764ff5","tooltipContentSelector":"#link_14b8fc8f764ff5_0-tooltip-element .content","position":["bottom","left"],"tooltipElementSelector":"#link_14b8fc8f764ff5_0-tooltip-element","events":{"def":"focus mouseover keydown,blur mouseout keydown"},"hideOnLeave":true}); LITHIUM.HelpIcon({"selectors":{"helpIconSelector":".help-icon .lia-img-icon-help"}}); LITHIUM.SearchAutoCompleteToggle({"containerSelector":"#searchautocompletetoggle_14b8fc8f764ff5","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_14b8fc8f764ff5","nodesModel":{"marketing_contacts|forum-board":{"title":"Search Board: Lists, Lead Scoring & Workflows","inputSelector":".lia-search-input-message"},"user|user":{"title":"Users","inputSelector":".lia-search-input-user"},"marketing|category":{"title":"Search Category: Lists, Lead Scoring & Workflows","inputSelector":".lia-search-input-message"},"mjmao93648|community":{"title":"Search Community: Lists, Lead Scoring & Workflows","inputSelector":".lia-search-input-message"}},"asSearchActionIdHeaderKey":"X-LI-AS-Search-Action-Id","inputSelector":"#messageSearchField_14b8fc8f764ff5_0:not(.lia-js-hidden)","clearSearchButtonSelector":null}); LITHIUM.DropDownMenu({"userMessagesFeedOptionsClass":"div.user-messages-feed-options-menu a.lia-js-menu-opener","menuOffsetContainer":".lia-menu-offset-container","hoverLeaveEvent":"LITHIUM:hoverLeave","mouseoverElementSelector":".lia-js-mouseover-menu","userMessagesFeedOptionsAriaLabel":"Show contributions of the user, selected option is Options. You may choose another option from the dropdown menu.","disabledLink":"lia-link-disabled","menuOpenCssClass":"dropdownHover","menuElementSelector":".lia-menu-navigation-wrapper","dialogSelector":".lia-panel-dialog-trigger","messageOptions":"lia-component-message-view-widget-action-menu","menuBarComponent":"lia-component-menu-bar","closeMenuEvent":"LITHIUM:closeMenu","menuOpenedEvent":"LITHIUM:menuOpened","pageOptions":"lia-component-community-widget-page-options","clickElementSelector":".lia-js-click-menu","menuItemsSelector":".lia-menu-dropdown-items","menuClosedEvent":"LITHIUM:menuClosed"}); LITHIUM.DropDownMenuVisibilityHandler({"selectors":{"menuSelector":"#actionMenuDropDown","menuItemsSelector":".lia-menu-dropdown-items"}}); jQuery(document).ready(function() { function moveFollowButton() { let followText = "Follow"; let unfollowText = "Following"; let followToolTip = "Recieve email updates on this thread"; let unfollowToolTip = "Stop receiving email updates on this thread"; let signInToolTip = "Sign in to follow this topic"; let messages = jQuery('.ForumTopicPage .MessageView'); let ideaOptionsMenu = jQuery('.IdeaPage ul#dropdownmenuitems'); let blogOptionsMenu = jQuery('.BlogPage .lia-page-options ul.lia-menu-dropdown-items'); function ReturnFollowButton(elem, contentType, buttonClass) { let followSelector; let unfollowSelector; switch (contentType) { case 'forum': followSelector = 'addMessageUserEmailSubscription'; unfollowSelector = 'removeMessageUserEmailSubscription'; break; case 'idea': followSelector = 'addThreadUserEmailSubscription'; unfollowSelector = 'removeThreadUserEmailSubscription'; break; case 'blog': followSelector = 'addBoardUserEmailSubscription'; unfollowSelector = 'removeBoardUserEmailSubscription'; break; default: break; } let subscribeLink = elem.find('a.' + followSelector); let followWrapper; if (!subscribeLink.length) { subscribeLink = elem.find('a.'+ unfollowSelector); followWrapper = jQuery('').addClass(buttonClass).addClass('unfollow'); subscribeLink.text(unfollowText); subscribeLink.attr('title', unfollowToolTip); if (!subscribeLink.length) { subscribeLink = elem.find('span.' + followSelector); if (subscribeLink.length) { followWrapper = jQuery('').addClass(buttonClass).addClass('follow').addClass('disabled'); subscribeLink.text(followText); subscribeLink.attr('title', signInToolTip); } } } else { followWrapper = jQuery('').addClass(buttonClass).addClass('follow'); subscribeLink.text(followText); subscribeLink.attr('title', followToolTip); } return [followWrapper, subscribeLink]; } if (messages.length) { messages.each(function(i) { let followItems = ReturnFollowButton(jQuery(this), 'forum', 'follow-wrapper'); let followWrapper = followItems[0]; let subscribeLink = followItems[1]; if (window.innerWidth > 768) { followWrapper.append(subscribeLink); let followContainer = jQuery(this).find('div.lia-message-author-username.lia-component-user-name'); followContainer.append(followWrapper); } }) } else if (ideaOptionsMenu.length) { let followItems = ReturnFollowButton(ideaOptionsMenu, 'idea', 'follow-wrapper'); let followWrapper = followItems[0]; let subscribeLink = followItems[1]; if (window.innerWidth > 768) { followWrapper.append(subscribeLink); let followContainer = jQuery('.lia-component-idea-topic .DateTime'); followContainer.append(followWrapper); } } else if (blogOptionsMenu.length) { let followItems = ReturnFollowButton(blogOptionsMenu, 'blog', 'follow-wrapper btn btn-sm button-primary'); let followWrapper = followItems[0]; let subscribeLink = followItems[1]; console.log(followItems); if (window.innerWidth > 768) { followWrapper.append(subscribeLink); let followContainer = jQuery('.blog-listing-page-options .follow-container'); followContainer.append(followWrapper); } } } moveFollowButton(); jQuery('.lia-js-menu-opener').removeAttr("href"); }) LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_0","feedbackSelector":".InfoMessage"}); LITHIUM.MessageBodyDisplay('#bodyDisplay', '.lia-truncated-body-container', '#viewMoreLink', '.lia-full-body-container' ); LITHIUM.DropDownMenu({"userMessagesFeedOptionsClass":"div.user-messages-feed-options-menu a.lia-js-menu-opener","menuOffsetContainer":".lia-menu-offset-container","hoverLeaveEvent":"LITHIUM:hoverLeave","mouseoverElementSelector":".lia-js-mouseover-menu","userMessagesFeedOptionsAriaLabel":"Show contributions of the user, selected option is Show ワークフローの「Webhookを送信」アクションで、外部APIを JSON 形式でリクエストする方法について post option menu. You may choose another option from the dropdown menu.","disabledLink":"lia-link-disabled","menuOpenCssClass":"dropdownHover","menuElementSelector":".lia-menu-navigation-wrapper","dialogSelector":".lia-panel-dialog-trigger","messageOptions":"lia-component-message-view-widget-action-menu","menuBarComponent":"lia-component-menu-bar","closeMenuEvent":"LITHIUM:closeMenu","menuOpenedEvent":"LITHIUM:menuOpened","pageOptions":"lia-component-community-widget-page-options","clickElementSelector":".lia-js-click-menu","menuItemsSelector":".lia-menu-dropdown-items","menuClosedEvent":"LITHIUM:menuClosed"}); LITHIUM.DropDownMenuVisibilityHandler({"selectors":{"menuSelector":"#actionMenuDropDown_0","menuItemsSelector":".lia-menu-dropdown-items"}}); LITHIUM.InlineMessageReplyContainer({"openEditsSelector":".lia-inline-message-edit","renderEventParams":{"replyWrapperId":"replyWrapper","messageId":1038690,"messageActionsId":"messageActions"},"isRootMessage":true,"collapseEvent":"LITHIUM:collapseInlineMessageEditor","confimationText":"You have other message editors open and your data inside of them might be lost. Are you sure you want to proceed?","messageActionsSelector":"#messageActions","loaderSelector":"#loader","topicMessageSelector":".lia-forum-topic-message-gte-5","containerSelector":"#inlineMessageReplyContainer","loaderEnabled":false,"useSimpleEditor":false,"isReplyButtonDisabled":false,"linearDisplayViewSelector":".lia-linear-display-message-view","threadedDetailDisplayViewSelector":".lia-threaded-detail-display-message-view","replyEditorPlaceholderWrapperSelector":".lia-placeholder-wrapper","renderEvent":"LITHIUM:renderInlineMessageReply","expandedRepliesSelector":".lia-inline-message-reply-form-expanded","isLazyLoadEnabled":false,"layoutView":"threaded","isAllowAnonUserToReply":true,"replyButtonSelector":".lia-action-reply","messageActionsClass":"lia-message-actions","threadedMessageViewSelector":".lia-threaded-display-message-view-wrapper","lazyLoadScriptsEvent":"LITHIUM:lazyLoadScripts","isGteForumV5":true}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:renderInlineMessageReply"},"tokenId":"ajax","elementSelector":"#inlineMessageReplyContainer","action":"renderInlineMessageReply","feedbackSelector":"#inlineMessageReplyContainer","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.inlinemessagereplycontainer:renderinlinemessagereply?t:ac=board-id/marketing_contacts/thread-id/10585&t:cp=messages/contributions/messageeditorscontributionpage","ajaxErrorEventName":"LITHIUM:ajaxError","token":"OXasPXwHfDBbzo1PaE-jCJSt9AriyBsLrEDAqYn4tYo."}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:lazyLoadScripts"},"tokenId":"ajax","elementSelector":"#inlineMessageReplyContainer","action":"lazyLoadScripts","feedbackSelector":"#inlineMessageReplyContainer","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.inlinemessagereplycontainer:lazyloadscripts?t:ac=board-id/marketing_contacts/thread-id/10585&t:cp=messages/contributions/messageeditorscontributionpage","ajaxErrorEventName":"LITHIUM:ajaxError","token":"Bf-vk9vCW_KIohWfSqzTnsTVdj33xTXu_ygl7RzQa4k."}); LITHIUM.AjaxSupport.fromLink('#kudoEntity', 'kudoEntity', '#ajaxfeedback', 'LITHIUM:ajaxError', {}, 'YhFC-48htXmrkKpVAaAS1IddDMUqemeVNtXXw068ytE.', 'ajax'); LITHIUM.AjaxSupport.ComponentEvents.set({ "eventActions" : [ { "event" : "kudoEntity", "actions" : [ { "context" : "envParam:entity", "action" : "rerender" } ] } ], "componentId" : "kudos.widget.button", "initiatorBinding" : true, "selector" : "#kudosButtonV2", "parameters" : { "displayStyle" : "horizontal", "disallowZeroCount" : "false", "revokeMode" : "true", "kudosable" : "true", "showCountOnly" : "false", "disableKudosForAnonUser" : "false", "useCountToKudo" : "false", "entity" : "1038690", "linkDisabled" : "false" }, "initiatorDataMatcher" : "data-lia-kudos-id" }); LITHIUM.AjaxSupport.ComponentEvents.set({ "eventActions" : [ { "event" : "approveMessage", "actions" : [ { "context" : "", "action" : "rerender" }, { "context" : "", "action" : "pulsate" } ] }, { "event" : "unapproveMessage", "actions" : [ { "context" : "", "action" : "rerender" }, { "context" : "", "action" : "pulsate" } ] }, { "event" : "deleteMessage", "actions" : [ { "context" : "lia-deleted-state", "action" : "addClassName" }, { "context" : "", "action" : "pulsate" } ] }, { "event" : "QuickReply", "actions" : [ { "context" : "envParam:feedbackData", "action" : "rerender" } ] }, { "event" : "expandMessage", "actions" : [ { "context" : "envParam:quiltName,expandedQuiltName", "action" : "rerender" } ] }, { "event" : "ProductAnswer", "actions" : [ { "context" : "envParam:quiltName", "action" : "rerender" } ] }, { "event" : "ProductAnswerComment", "actions" : [ { "context" : "envParam:selectedMessage", "action" : "rerender" } ] }, { "event" : "editProductMessage", "actions" : [ { "context" : "envParam:quiltName,message", "action" : "rerender" } ] }, { "event" : "MessagesWidgetEditAction", "actions" : [ { "context" : "envParam:quiltName,message,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "ProductMessageEdit", "actions" : [ { "context" : "envParam:quiltName", "action" : "rerender" } ] }, { "event" : "MessagesWidgetMessageEdit", "actions" : [ { "context" : "envParam:quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "AcceptSolutionAction", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "RevokeSolutionAction", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "addThreadUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "removeThreadUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "addMessageUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "removeMessageUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "markAsSpamWithoutRedirect", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "MessagesWidgetAnswerForm", "actions" : [ { "context" : "envParam:messageUid,page,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "MessagesWidgetEditAnswerForm", "actions" : [ { "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "MessagesWidgetCommentForm", "actions" : [ { "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "MessagesWidgetEditCommentForm", "actions" : [ { "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] } ], "componentId" : "forums.widget.message-view", "initiatorBinding" : true, "selector" : "#messageview", "parameters" : { "disableLabelLinks" : "false", "truncateBodyRetainsHtml" : "false", "forceSearchRequestParameterForBlurbBuilder" : "false", "kudosLinksDisabled" : "false", "useSubjectIcons" : "true", "quiltName" : "ForumMessage", "truncateBody" : "true", "message" : "1038690", "includeRepliesModerationState" : "true", "useSimpleView" : "false", "useTruncatedSubject" : "true", "disableLinks" : "false", "messageViewOptions" : "1101110111111111111110111110100101111101", "displaySubject" : "true" }, "initiatorDataMatcher" : "data-lia-message-uid" }); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_1","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_2","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_3","feedbackSelector":".InfoMessage"}); LITHIUM.MessageBodyDisplay('#bodyDisplay_0', '.lia-truncated-body-container', '#viewMoreLink', '.lia-full-body-container' ); LITHIUM.DropDownMenu({"userMessagesFeedOptionsClass":"div.user-messages-feed-options-menu a.lia-js-menu-opener","menuOffsetContainer":".lia-menu-offset-container","hoverLeaveEvent":"LITHIUM:hoverLeave","mouseoverElementSelector":".lia-js-mouseover-menu","userMessagesFeedOptionsAriaLabel":"Show contributions of the user, selected option is Show comment option menu. You may choose another option from the dropdown menu.","disabledLink":"lia-link-disabled","menuOpenCssClass":"dropdownHover","menuElementSelector":".lia-menu-navigation-wrapper","dialogSelector":".lia-panel-dialog-trigger","messageOptions":"lia-component-message-view-widget-action-menu","menuBarComponent":"lia-component-menu-bar","closeMenuEvent":"LITHIUM:closeMenu","menuOpenedEvent":"LITHIUM:menuOpened","pageOptions":"lia-component-community-widget-page-options","clickElementSelector":".lia-js-click-menu","menuItemsSelector":".lia-menu-dropdown-items","menuClosedEvent":"LITHIUM:menuClosed"}); LITHIUM.DropDownMenuVisibilityHandler({"selectors":{"menuSelector":"#actionMenuDropDown_1","menuItemsSelector":".lia-menu-dropdown-items"}}); LITHIUM.InlineMessageReplyContainer({"openEditsSelector":".lia-inline-message-edit","renderEventParams":{"replyWrapperId":"replyWrapper_0","messageId":1038734,"messageActionsId":"messageActions_0"},"isRootMessage":false,"collapseEvent":"LITHIUM:collapseInlineMessageEditor","confimationText":"You have other message editors open and your data inside of them might be lost. Are you sure you want to proceed?","messageActionsSelector":"#messageActions_0","loaderSelector":"#loader","topicMessageSelector":".lia-forum-topic-message-gte-5","containerSelector":"#inlineMessageReplyContainer_0","loaderEnabled":false,"useSimpleEditor":false,"isReplyButtonDisabled":false,"linearDisplayViewSelector":".lia-linear-display-message-view","threadedDetailDisplayViewSelector":".lia-threaded-detail-display-message-view","replyEditorPlaceholderWrapperSelector":".lia-placeholder-wrapper","renderEvent":"LITHIUM:renderInlineMessageReply","expandedRepliesSelector":".lia-inline-message-reply-form-expanded","isLazyLoadEnabled":false,"layoutView":"threaded","isAllowAnonUserToReply":true,"replyButtonSelector":".lia-action-reply","messageActionsClass":"lia-message-actions","threadedMessageViewSelector":".lia-threaded-display-message-view-wrapper","lazyLoadScriptsEvent":"LITHIUM:lazyLoadScripts","isGteForumV5":true}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:renderInlineMessageReply"},"tokenId":"ajax","elementSelector":"#inlineMessageReplyContainer_0","action":"renderInlineMessageReply","feedbackSelector":"#inlineMessageReplyContainer_0","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.inlinemessagereplycontainer:renderinlinemessagereply?t:ac=board-id/marketing_contacts/thread-id/10585&t:cp=messages/contributions/messageeditorscontributionpage","ajaxErrorEventName":"LITHIUM:ajaxError","token":"ZCQZ5MhrEkezSEA4KQnI5Zoph-H-JzMM_V3aWAv_epA."}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:lazyLoadScripts"},"tokenId":"ajax","elementSelector":"#inlineMessageReplyContainer_0","action":"lazyLoadScripts","feedbackSelector":"#inlineMessageReplyContainer_0","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.inlinemessagereplycontainer:lazyloadscripts?t:ac=board-id/marketing_contacts/thread-id/10585&t:cp=messages/contributions/messageeditorscontributionpage","ajaxErrorEventName":"LITHIUM:ajaxError","token":"r47n83Ak0HKnOoYZsnXZSvvGW2ZhX-t3Yls0b0ZfEeE."}); LITHIUM.AjaxSupport.fromLink('#kudoEntity_0', 'kudoEntity', '#ajaxfeedback_0', 'LITHIUM:ajaxError', {}, '5L_scjLnkxmoYzvQCPWrVojtJEazVnqW-2DSZyql4aU.', 'ajax'); LITHIUM.AjaxSupport.ComponentEvents.set({ "eventActions" : [ { "event" : "kudoEntity", "actions" : [ { "context" : "envParam:entity", "action" : "rerender" } ] } ], "componentId" : "kudos.widget.button", "initiatorBinding" : true, "selector" : "#kudosButtonV2_0", "parameters" : { "displayStyle" : "horizontal", "disallowZeroCount" : "false", "revokeMode" : "true", "kudosable" : "true", "showCountOnly" : "false", "disableKudosForAnonUser" : "false", "useCountToKudo" : "false", "entity" : "1038734", "linkDisabled" : "false" }, "initiatorDataMatcher" : "data-lia-kudos-id" }); LITHIUM.AjaxSupport.ComponentEvents.set({ "eventActions" : [ { "event" : "approveMessage", "actions" : [ { "context" : "", "action" : "rerender" }, { "context" : "", "action" : "pulsate" } ] }, { "event" : "unapproveMessage", "actions" : [ { "context" : "", "action" : "rerender" }, { "context" : "", "action" : "pulsate" } ] }, { "event" : "deleteMessage", "actions" : [ { "context" : "lia-deleted-state", "action" : "addClassName" }, { "context" : "", "action" : "pulsate" } ] }, { "event" : "QuickReply", "actions" : [ { "context" : "envParam:feedbackData", "action" : "rerender" } ] }, { "event" : "expandMessage", "actions" : [ { "context" : "envParam:quiltName,expandedQuiltName", "action" : "rerender" } ] }, { "event" : "ProductAnswer", "actions" : [ { "context" : "envParam:quiltName", "action" : "rerender" } ] }, { "event" : "ProductAnswerComment", "actions" : [ { "context" : "envParam:selectedMessage", "action" : "rerender" } ] }, { "event" : "editProductMessage", "actions" : [ { "context" : "envParam:quiltName,message", "action" : "rerender" } ] }, { "event" : "MessagesWidgetEditAction", "actions" : [ { "context" : "envParam:quiltName,message,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "ProductMessageEdit", "actions" : [ { "context" : "envParam:quiltName", "action" : "rerender" } ] }, { "event" : "MessagesWidgetMessageEdit", "actions" : [ { "context" : "envParam:quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "AcceptSolutionAction", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "RevokeSolutionAction", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "addThreadUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "removeThreadUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "addMessageUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "removeMessageUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "markAsSpamWithoutRedirect", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "MessagesWidgetAnswerForm", "actions" : [ { "context" : "envParam:messageUid,page,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "MessagesWidgetEditAnswerForm", "actions" : [ { "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "MessagesWidgetCommentForm", "actions" : [ { "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "MessagesWidgetEditCommentForm", "actions" : [ { "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] } ], "componentId" : "forums.widget.message-view", "initiatorBinding" : true, "selector" : "#messageview_0", "parameters" : { "disableLabelLinks" : "false", "truncateBodyRetainsHtml" : "false", "forceSearchRequestParameterForBlurbBuilder" : "false", "kudosLinksDisabled" : "false", "useSubjectIcons" : "true", "quiltName" : "ForumMessage", "truncateBody" : "true", "message" : "1038734", "includeRepliesModerationState" : "true", "useSimpleView" : "false", "useTruncatedSubject" : "true", "disableLinks" : "false", "messageViewOptions" : "1111110011111111111110111110100101111101", "displaySubject" : "true" }, "initiatorDataMatcher" : "data-lia-message-uid" }); LITHIUM.MessageViewDisplay({"openEditsSelector":".lia-inline-message-edit","renderInlineFormEvent":"LITHIUM:renderInlineEditForm","componentId":"threadeddetaildisplaymessageviewwrapper","componentSelector":"#threadeddetaildisplaymessageviewwrapper","editEvent":"LITHIUM:editMessageViaAjax","collapseEvent":"LITHIUM:collapseInlineMessageEditor","messageId":1038734,"confimationText":"You have other message editors open and your data inside of them might be lost. Are you sure you want to proceed?","loaderSelector":"#threadeddetaildisplaymessageviewwrapper .lia-message-body-loader .lia-loader","expandedRepliesSelector":".lia-inline-message-reply-form-expanded"}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:renderInlineEditForm"},"tokenId":"ajax","elementSelector":"#threadeddetaildisplaymessageviewwrapper","action":"renderInlineEditForm","feedbackSelector":"#threadeddetaildisplaymessageviewwrapper","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.threadeddisplay_0.threadeddetaildisplaymessageviewwrapper:renderinlineeditform?t:ac=board-id/marketing_contacts/thread-id/10585","ajaxErrorEventName":"LITHIUM:ajaxError","token":"31ioz-nUOO9o1e0gBVwgeNSkv7fxFgwc_cIWsGKM-is."}); ;(function($){ var topicMessageWrapper = $('.topic-message-wrapper'); if (window.location.href.indexOf('/page/') > -1) { $('.lia-forum-topic-page-topic-header.lia-component-thread-subject-header').attr('id','forumTopicHeader'); $('.lia-forum-topic-page-topic-header.lia-component-thread-subject-header').attr('style','display:block!important; visibility: visible!important;'); var messageWrapStyle = topicMessageWrapper.find('.lia-accepted-solution').length > 0 ? 'display:block!important; visibility: visible!important' : 'display:block!important; visibility: visible!important; margin-bottom: 90px'; topicMessageWrapper.attr('id','topicMessageWrapper'); topicMessageWrapper.attr('style', messageWrapStyle); } })(LITHIUM.jQuery); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_4","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_5","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_6","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_7","feedbackSelector":".InfoMessage"}); LITHIUM.MessageBodyDisplay('#bodyDisplay_1', '.lia-truncated-body-container', '#viewMoreLink', '.lia-full-body-container' ); LITHIUM.DropDownMenuVisibilityHandler({"selectors":{"menuSelector":"#actionMenuDropDown_2","menuItemsSelector":".lia-menu-dropdown-items"}}); LITHIUM.InlineMessageReplyContainer({"openEditsSelector":".lia-inline-message-edit","renderEventParams":{"replyWrapperId":"replyWrapper_1","messageId":1038734,"messageActionsId":"messageActions_1"},"isRootMessage":false,"collapseEvent":"LITHIUM:collapseInlineMessageEditor","confimationText":"You have other message editors open and your data inside of them might be lost. Are you sure you want to proceed?","messageActionsSelector":"#messageActions_1","loaderSelector":"#loader","topicMessageSelector":".lia-forum-topic-message-gte-5","containerSelector":"#inlineMessageReplyContainer_1","loaderEnabled":false,"useSimpleEditor":false,"isReplyButtonDisabled":false,"linearDisplayViewSelector":".lia-linear-display-message-view","threadedDetailDisplayViewSelector":".lia-threaded-detail-display-message-view","replyEditorPlaceholderWrapperSelector":".lia-placeholder-wrapper","renderEvent":"LITHIUM:renderInlineMessageReply","expandedRepliesSelector":".lia-inline-message-reply-form-expanded","isLazyLoadEnabled":false,"layoutView":"threaded","isAllowAnonUserToReply":true,"replyButtonSelector":".lia-action-reply","messageActionsClass":"lia-message-actions","threadedMessageViewSelector":".lia-threaded-display-message-view-wrapper","lazyLoadScriptsEvent":"LITHIUM:lazyLoadScripts","isGteForumV5":true}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:renderInlineMessageReply"},"tokenId":"ajax","elementSelector":"#inlineMessageReplyContainer_1","action":"renderInlineMessageReply","feedbackSelector":"#inlineMessageReplyContainer_1","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.inlinemessagereplycontainer:renderinlinemessagereply?t:ac=board-id/marketing_contacts/thread-id/10585&t:cp=messages/contributions/messageeditorscontributionpage","ajaxErrorEventName":"LITHIUM:ajaxError","token":"9xyvVGypvzz1nUKIG3HQ6OvCQlzvcepw0VUkQ7Uesnw."}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:lazyLoadScripts"},"tokenId":"ajax","elementSelector":"#inlineMessageReplyContainer_1","action":"lazyLoadScripts","feedbackSelector":"#inlineMessageReplyContainer_1","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.inlinemessagereplycontainer:lazyloadscripts?t:ac=board-id/marketing_contacts/thread-id/10585&t:cp=messages/contributions/messageeditorscontributionpage","ajaxErrorEventName":"LITHIUM:ajaxError","token":"SZM7zLdAzmT2kvzr4hTCOm_CVsBRP2kX7pV_8ExUO_w."}); LITHIUM.AjaxSupport.fromLink('#kudoEntity_1', 'kudoEntity', '#ajaxfeedback_1', 'LITHIUM:ajaxError', {}, 'BAH28l0-qXOSBkNfbZfW1K0MoDDujLJ3mLXa8m448Z0.', 'ajax'); LITHIUM.AjaxSupport.ComponentEvents.set({ "eventActions" : [ { "event" : "kudoEntity", "actions" : [ { "context" : "envParam:entity", "action" : "rerender" } ] } ], "componentId" : "kudos.widget.button", "initiatorBinding" : true, "selector" : "#kudosButtonV2_1", "parameters" : { "displayStyle" : "horizontal", "disallowZeroCount" : "false", "revokeMode" : "true", "kudosable" : "true", "showCountOnly" : "false", "disableKudosForAnonUser" : "false", "useCountToKudo" : "false", "entity" : "1038734", "linkDisabled" : "false" }, "initiatorDataMatcher" : "data-lia-kudos-id" }); LITHIUM.AjaxSupport.ComponentEvents.set({ "eventActions" : [ { "event" : "approveMessage", "actions" : [ { "context" : "", "action" : "rerender" }, { "context" : "", "action" : "pulsate" } ] }, { "event" : "unapproveMessage", "actions" : [ { "context" : "", "action" : "rerender" }, { "context" : "", "action" : "pulsate" } ] }, { "event" : "deleteMessage", "actions" : [ { "context" : "lia-deleted-state", "action" : "addClassName" }, { "context" : "", "action" : "pulsate" } ] }, { "event" : "QuickReply", "actions" : [ { "context" : "envParam:feedbackData", "action" : "rerender" } ] }, { "event" : "expandMessage", "actions" : [ { "context" : "envParam:quiltName,expandedQuiltName", "action" : "rerender" } ] }, { "event" : "ProductAnswer", "actions" : [ { "context" : "envParam:quiltName", "action" : "rerender" } ] }, { "event" : "ProductAnswerComment", "actions" : [ { "context" : "envParam:selectedMessage", "action" : "rerender" } ] }, { "event" : "editProductMessage", "actions" : [ { "context" : "envParam:quiltName,message", "action" : "rerender" } ] }, { "event" : "MessagesWidgetEditAction", "actions" : [ { "context" : "envParam:quiltName,message,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "ProductMessageEdit", "actions" : [ { "context" : "envParam:quiltName", "action" : "rerender" } ] }, { "event" : "MessagesWidgetMessageEdit", "actions" : [ { "context" : "envParam:quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "AcceptSolutionAction", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "RevokeSolutionAction", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "addThreadUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "removeThreadUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "addMessageUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "removeMessageUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "markAsSpamWithoutRedirect", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "MessagesWidgetAnswerForm", "actions" : [ { "context" : "envParam:messageUid,page,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "MessagesWidgetEditAnswerForm", "actions" : [ { "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "MessagesWidgetCommentForm", "actions" : [ { "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "MessagesWidgetEditCommentForm", "actions" : [ { "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] } ], "componentId" : "forums.widget.message-view", "initiatorBinding" : true, "selector" : "#messageview_1", "parameters" : { "disableLabelLinks" : "false", "truncateBodyRetainsHtml" : "false", "forceSearchRequestParameterForBlurbBuilder" : "false", "kudosLinksDisabled" : "false", "useSubjectIcons" : "true", "quiltName" : "ForumMessage", "truncateBody" : "true", "message" : "1038734", "includeRepliesModerationState" : "true", "useSimpleView" : "false", "useTruncatedSubject" : "true", "disableLinks" : "false", "messageViewOptions" : "1111110111111111111110111110100101011101", "displaySubject" : "true" }, "initiatorDataMatcher" : "data-lia-message-uid" }); LITHIUM.MessageViewDisplay({"openEditsSelector":".lia-inline-message-edit","renderInlineFormEvent":"LITHIUM:renderInlineEditForm","componentId":"threadeddetaildisplaymessageviewwrapper_0","componentSelector":"#threadeddetaildisplaymessageviewwrapper_0","editEvent":"LITHIUM:editMessageViaAjax","collapseEvent":"LITHIUM:collapseInlineMessageEditor","messageId":1038734,"confimationText":"You have other message editors open and your data inside of them might be lost. Are you sure you want to proceed?","loaderSelector":"#threadeddetaildisplaymessageviewwrapper_0 .lia-message-body-loader .lia-loader","expandedRepliesSelector":".lia-inline-message-reply-form-expanded"}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:renderInlineEditForm"},"tokenId":"ajax","elementSelector":"#threadeddetaildisplaymessageviewwrapper_0","action":"renderInlineEditForm","feedbackSelector":"#threadeddetaildisplaymessageviewwrapper_0","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.threadeddetaildisplay.threadeddetailmessagelist.threadeddetaildisplaymessageviewwrapper:renderinlineeditform?t:ac=board-id/marketing_contacts/thread-id/10585","ajaxErrorEventName":"LITHIUM:ajaxError","token":"UaomPVl2-Pcr9JRAAjhBZI5gyp9qiFyXNZP7O9urn0s."}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_8","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_9","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_10","feedbackSelector":".InfoMessage"}); LITHIUM.MessageBodyDisplay('#bodyDisplay_2', '.lia-truncated-body-container', '#viewMoreLink', '.lia-full-body-container' ); LITHIUM.DropDownMenuVisibilityHandler({"selectors":{"menuSelector":"#actionMenuDropDown_3","menuItemsSelector":".lia-menu-dropdown-items"}}); LITHIUM.InlineMessageReplyContainer({"openEditsSelector":".lia-inline-message-edit","renderEventParams":{"replyWrapperId":"replyWrapper_2","messageId":1038758,"messageActionsId":"messageActions_2"},"isRootMessage":false,"collapseEvent":"LITHIUM:collapseInlineMessageEditor","confimationText":"You have other message editors open and your data inside of them might be lost. Are you sure you want to proceed?","messageActionsSelector":"#messageActions_2","loaderSelector":"#loader","topicMessageSelector":".lia-forum-topic-message-gte-5","containerSelector":"#inlineMessageReplyContainer_2","loaderEnabled":false,"useSimpleEditor":false,"isReplyButtonDisabled":false,"linearDisplayViewSelector":".lia-linear-display-message-view","threadedDetailDisplayViewSelector":".lia-threaded-detail-display-message-view","replyEditorPlaceholderWrapperSelector":".lia-placeholder-wrapper","renderEvent":"LITHIUM:renderInlineMessageReply","expandedRepliesSelector":".lia-inline-message-reply-form-expanded","isLazyLoadEnabled":false,"layoutView":"threaded","isAllowAnonUserToReply":true,"replyButtonSelector":".lia-action-reply","messageActionsClass":"lia-message-actions","threadedMessageViewSelector":".lia-threaded-display-message-view-wrapper","lazyLoadScriptsEvent":"LITHIUM:lazyLoadScripts","isGteForumV5":true}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:renderInlineMessageReply"},"tokenId":"ajax","elementSelector":"#inlineMessageReplyContainer_2","action":"renderInlineMessageReply","feedbackSelector":"#inlineMessageReplyContainer_2","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.inlinemessagereplycontainer:renderinlinemessagereply?t:ac=board-id/marketing_contacts/thread-id/10585&t:cp=messages/contributions/messageeditorscontributionpage","ajaxErrorEventName":"LITHIUM:ajaxError","token":"HrjI8KfTY-0XWHQ85BLcBFWWJfuTs5DV2TGLZ-rZAIY."}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:lazyLoadScripts"},"tokenId":"ajax","elementSelector":"#inlineMessageReplyContainer_2","action":"lazyLoadScripts","feedbackSelector":"#inlineMessageReplyContainer_2","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.inlinemessagereplycontainer:lazyloadscripts?t:ac=board-id/marketing_contacts/thread-id/10585&t:cp=messages/contributions/messageeditorscontributionpage","ajaxErrorEventName":"LITHIUM:ajaxError","token":"gkJ6ZUZLsQgjYWu92NadERu_Mk73IjTsevifbLgoPCM."}); LITHIUM.AjaxSupport.fromLink('#kudoEntity_2', 'kudoEntity', '#ajaxfeedback_2', 'LITHIUM:ajaxError', {}, 'Hb2qVlitoKllZU3JhuUw35JNcEAAlk2Ij-FvhMwAmaM.', 'ajax'); LITHIUM.AjaxSupport.ComponentEvents.set({ "eventActions" : [ { "event" : "kudoEntity", "actions" : [ { "context" : "envParam:entity", "action" : "rerender" } ] } ], "componentId" : "kudos.widget.button", "initiatorBinding" : true, "selector" : "#kudosButtonV2_2", "parameters" : { "displayStyle" : "horizontal", "disallowZeroCount" : "false", "revokeMode" : "true", "kudosable" : "true", "showCountOnly" : "false", "disableKudosForAnonUser" : "false", "useCountToKudo" : "false", "entity" : "1038758", "linkDisabled" : "false" }, "initiatorDataMatcher" : "data-lia-kudos-id" }); LITHIUM.AjaxSupport.ComponentEvents.set({ "eventActions" : [ { "event" : "approveMessage", "actions" : [ { "context" : "", "action" : "rerender" }, { "context" : "", "action" : "pulsate" } ] }, { "event" : "unapproveMessage", "actions" : [ { "context" : "", "action" : "rerender" }, { "context" : "", "action" : "pulsate" } ] }, { "event" : "deleteMessage", "actions" : [ { "context" : "lia-deleted-state", "action" : "addClassName" }, { "context" : "", "action" : "pulsate" } ] }, { "event" : "QuickReply", "actions" : [ { "context" : "envParam:feedbackData", "action" : "rerender" } ] }, { "event" : "expandMessage", "actions" : [ { "context" : "envParam:quiltName,expandedQuiltName", "action" : "rerender" } ] }, { "event" : "ProductAnswer", "actions" : [ { "context" : "envParam:quiltName", "action" : "rerender" } ] }, { "event" : "ProductAnswerComment", "actions" : [ { "context" : "envParam:selectedMessage", "action" : "rerender" } ] }, { "event" : "editProductMessage", "actions" : [ { "context" : "envParam:quiltName,message", "action" : "rerender" } ] }, { "event" : "MessagesWidgetEditAction", "actions" : [ { "context" : "envParam:quiltName,message,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "ProductMessageEdit", "actions" : [ { "context" : "envParam:quiltName", "action" : "rerender" } ] }, { "event" : "MessagesWidgetMessageEdit", "actions" : [ { "context" : "envParam:quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "AcceptSolutionAction", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "RevokeSolutionAction", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "addThreadUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "removeThreadUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "addMessageUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "removeMessageUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "markAsSpamWithoutRedirect", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "MessagesWidgetAnswerForm", "actions" : [ { "context" : "envParam:messageUid,page,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "MessagesWidgetEditAnswerForm", "actions" : [ { "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "MessagesWidgetCommentForm", "actions" : [ { "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "MessagesWidgetEditCommentForm", "actions" : [ { "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] } ], "componentId" : "forums.widget.message-view", "initiatorBinding" : true, "selector" : "#messageview_2", "parameters" : { "disableLabelLinks" : "false", "truncateBodyRetainsHtml" : "false", "forceSearchRequestParameterForBlurbBuilder" : "false", "kudosLinksDisabled" : "false", "useSubjectIcons" : "true", "quiltName" : "ForumMessage", "truncateBody" : "true", "message" : "1038758", "includeRepliesModerationState" : "true", "useSimpleView" : "false", "useTruncatedSubject" : "true", "disableLinks" : "false", "messageViewOptions" : "1111110111111111111110111110100101011101", "displaySubject" : "true" }, "initiatorDataMatcher" : "data-lia-message-uid" }); LITHIUM.MessageViewDisplay({"openEditsSelector":".lia-inline-message-edit","renderInlineFormEvent":"LITHIUM:renderInlineEditForm","componentId":"threadeddetaildisplaymessageviewwrapper_1","componentSelector":"#threadeddetaildisplaymessageviewwrapper_1","editEvent":"LITHIUM:editMessageViaAjax","collapseEvent":"LITHIUM:collapseInlineMessageEditor","messageId":1038758,"confimationText":"You have other message editors open and your data inside of them might be lost. Are you sure you want to proceed?","loaderSelector":"#threadeddetaildisplaymessageviewwrapper_1 .lia-message-body-loader .lia-loader","expandedRepliesSelector":".lia-inline-message-reply-form-expanded"}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:renderInlineEditForm"},"tokenId":"ajax","elementSelector":"#threadeddetaildisplaymessageviewwrapper_1","action":"renderInlineEditForm","feedbackSelector":"#threadeddetaildisplaymessageviewwrapper_1","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.threadeddetaildisplay.threadeddetailmessagelist.threadeddetaildisplaymessageviewwrapper:renderinlineeditform?t:ac=board-id/marketing_contacts/thread-id/10585","ajaxErrorEventName":"LITHIUM:ajaxError","token":"4_vDUfxCVpwkJaT_ho1VVTQ-KxnZiv5Vcj4i3wjJebY."}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_11","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_12","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_13","feedbackSelector":".InfoMessage"}); LITHIUM.MessageBodyDisplay('#bodyDisplay_3', '.lia-truncated-body-container', '#viewMoreLink', '.lia-full-body-container' ); LITHIUM.DropDownMenuVisibilityHandler({"selectors":{"menuSelector":"#actionMenuDropDown_4","menuItemsSelector":".lia-menu-dropdown-items"}}); LITHIUM.InlineMessageReplyContainer({"openEditsSelector":".lia-inline-message-edit","renderEventParams":{"replyWrapperId":"replyWrapper_3","messageId":1038714,"messageActionsId":"messageActions_3"},"isRootMessage":false,"collapseEvent":"LITHIUM:collapseInlineMessageEditor","confimationText":"You have other message editors open and your data inside of them might be lost. Are you sure you want to proceed?","messageActionsSelector":"#messageActions_3","loaderSelector":"#loader","topicMessageSelector":".lia-forum-topic-message-gte-5","containerSelector":"#inlineMessageReplyContainer_3","loaderEnabled":false,"useSimpleEditor":false,"isReplyButtonDisabled":false,"linearDisplayViewSelector":".lia-linear-display-message-view","threadedDetailDisplayViewSelector":".lia-threaded-detail-display-message-view","replyEditorPlaceholderWrapperSelector":".lia-placeholder-wrapper","renderEvent":"LITHIUM:renderInlineMessageReply","expandedRepliesSelector":".lia-inline-message-reply-form-expanded","isLazyLoadEnabled":false,"layoutView":"threaded","isAllowAnonUserToReply":true,"replyButtonSelector":".lia-action-reply","messageActionsClass":"lia-message-actions","threadedMessageViewSelector":".lia-threaded-display-message-view-wrapper","lazyLoadScriptsEvent":"LITHIUM:lazyLoadScripts","isGteForumV5":true}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:renderInlineMessageReply"},"tokenId":"ajax","elementSelector":"#inlineMessageReplyContainer_3","action":"renderInlineMessageReply","feedbackSelector":"#inlineMessageReplyContainer_3","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.inlinemessagereplycontainer:renderinlinemessagereply?t:ac=board-id/marketing_contacts/thread-id/10585&t:cp=messages/contributions/messageeditorscontributionpage","ajaxErrorEventName":"LITHIUM:ajaxError","token":"ON_b2jpSu8ZhDirPitWSlsGi_1ze_alxMpqAUQSNG1c."}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:lazyLoadScripts"},"tokenId":"ajax","elementSelector":"#inlineMessageReplyContainer_3","action":"lazyLoadScripts","feedbackSelector":"#inlineMessageReplyContainer_3","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.inlinemessagereplycontainer:lazyloadscripts?t:ac=board-id/marketing_contacts/thread-id/10585&t:cp=messages/contributions/messageeditorscontributionpage","ajaxErrorEventName":"LITHIUM:ajaxError","token":"x1B9PzSY4Spoq4s-QIeRgkHTfe3sicjKkbBRECeG_OY."}); LITHIUM.AjaxSupport.fromLink('#kudoEntity_3', 'kudoEntity', '#ajaxfeedback_3', 'LITHIUM:ajaxError', {}, '4dDpl_SWhQkZCNXYogJnoYNjUD5dUO9DNEg5YhDyFDg.', 'ajax'); LITHIUM.AjaxSupport.ComponentEvents.set({ "eventActions" : [ { "event" : "kudoEntity", "actions" : [ { "context" : "envParam:entity", "action" : "rerender" } ] } ], "componentId" : "kudos.widget.button", "initiatorBinding" : true, "selector" : "#kudosButtonV2_3", "parameters" : { "displayStyle" : "horizontal", "disallowZeroCount" : "false", "revokeMode" : "true", "kudosable" : "true", "showCountOnly" : "false", "disableKudosForAnonUser" : "false", "useCountToKudo" : "false", "entity" : "1038714", "linkDisabled" : "false" }, "initiatorDataMatcher" : "data-lia-kudos-id" }); LITHIUM.AjaxSupport.ComponentEvents.set({ "eventActions" : [ { "event" : "approveMessage", "actions" : [ { "context" : "", "action" : "rerender" }, { "context" : "", "action" : "pulsate" } ] }, { "event" : "unapproveMessage", "actions" : [ { "context" : "", "action" : "rerender" }, { "context" : "", "action" : "pulsate" } ] }, { "event" : "deleteMessage", "actions" : [ { "context" : "lia-deleted-state", "action" : "addClassName" }, { "context" : "", "action" : "pulsate" } ] }, { "event" : "QuickReply", "actions" : [ { "context" : "envParam:feedbackData", "action" : "rerender" } ] }, { "event" : "expandMessage", "actions" : [ { "context" : "envParam:quiltName,expandedQuiltName", "action" : "rerender" } ] }, { "event" : "ProductAnswer", "actions" : [ { "context" : "envParam:quiltName", "action" : "rerender" } ] }, { "event" : "ProductAnswerComment", "actions" : [ { "context" : "envParam:selectedMessage", "action" : "rerender" } ] }, { "event" : "editProductMessage", "actions" : [ { "context" : "envParam:quiltName,message", "action" : "rerender" } ] }, { "event" : "MessagesWidgetEditAction", "actions" : [ { "context" : "envParam:quiltName,message,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "ProductMessageEdit", "actions" : [ { "context" : "envParam:quiltName", "action" : "rerender" } ] }, { "event" : "MessagesWidgetMessageEdit", "actions" : [ { "context" : "envParam:quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "AcceptSolutionAction", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "RevokeSolutionAction", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "addThreadUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "removeThreadUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "addMessageUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "removeMessageUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "markAsSpamWithoutRedirect", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "MessagesWidgetAnswerForm", "actions" : [ { "context" : "envParam:messageUid,page,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "MessagesWidgetEditAnswerForm", "actions" : [ { "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "MessagesWidgetCommentForm", "actions" : [ { "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "MessagesWidgetEditCommentForm", "actions" : [ { "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] } ], "componentId" : "forums.widget.message-view", "initiatorBinding" : true, "selector" : "#messageview_3", "parameters" : { "disableLabelLinks" : "false", "truncateBodyRetainsHtml" : "false", "forceSearchRequestParameterForBlurbBuilder" : "false", "kudosLinksDisabled" : "false", "useSubjectIcons" : "true", "quiltName" : "ForumMessage", "truncateBody" : "true", "message" : "1038714", "includeRepliesModerationState" : "true", "useSimpleView" : "false", "useTruncatedSubject" : "true", "disableLinks" : "false", "messageViewOptions" : "1111110111111111111110111110100101011101", "displaySubject" : "true" }, "initiatorDataMatcher" : "data-lia-message-uid" }); LITHIUM.MessageViewDisplay({"openEditsSelector":".lia-inline-message-edit","renderInlineFormEvent":"LITHIUM:renderInlineEditForm","componentId":"threadeddetaildisplaymessageviewwrapper_2","componentSelector":"#threadeddetaildisplaymessageviewwrapper_2","editEvent":"LITHIUM:editMessageViaAjax","collapseEvent":"LITHIUM:collapseInlineMessageEditor","messageId":1038714,"confimationText":"You have other message editors open and your data inside of them might be lost. Are you sure you want to proceed?","loaderSelector":"#threadeddetaildisplaymessageviewwrapper_2 .lia-message-body-loader .lia-loader","expandedRepliesSelector":".lia-inline-message-reply-form-expanded"}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:renderInlineEditForm"},"tokenId":"ajax","elementSelector":"#threadeddetaildisplaymessageviewwrapper_2","action":"renderInlineEditForm","feedbackSelector":"#threadeddetaildisplaymessageviewwrapper_2","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.threadeddetaildisplay.threadeddetailmessagelist.threadeddetaildisplaymessageviewwrapper:renderinlineeditform?t:ac=board-id/marketing_contacts/thread-id/10585","ajaxErrorEventName":"LITHIUM:ajaxError","token":"4a71ngH1TIHg-LpzYmsRjyzytjx4Dr1qdmKGinDL9Yw."}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_14","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_15","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_16","feedbackSelector":".InfoMessage"}); LITHIUM.MessageBodyDisplay('#bodyDisplay_4', '.lia-truncated-body-container', '#viewMoreLink', '.lia-full-body-container' ); LITHIUM.DropDownMenuVisibilityHandler({"selectors":{"menuSelector":"#actionMenuDropDown_5","menuItemsSelector":".lia-menu-dropdown-items"}}); LITHIUM.InlineMessageReplyContainer({"openEditsSelector":".lia-inline-message-edit","renderEventParams":{"replyWrapperId":"replyWrapper_4","messageId":1038757,"messageActionsId":"messageActions_4"},"isRootMessage":false,"collapseEvent":"LITHIUM:collapseInlineMessageEditor","confimationText":"You have other message editors open and your data inside of them might be lost. Are you sure you want to proceed?","messageActionsSelector":"#messageActions_4","loaderSelector":"#loader","topicMessageSelector":".lia-forum-topic-message-gte-5","containerSelector":"#inlineMessageReplyContainer_4","loaderEnabled":false,"useSimpleEditor":false,"isReplyButtonDisabled":false,"linearDisplayViewSelector":".lia-linear-display-message-view","threadedDetailDisplayViewSelector":".lia-threaded-detail-display-message-view","replyEditorPlaceholderWrapperSelector":".lia-placeholder-wrapper","renderEvent":"LITHIUM:renderInlineMessageReply","expandedRepliesSelector":".lia-inline-message-reply-form-expanded","isLazyLoadEnabled":false,"layoutView":"threaded","isAllowAnonUserToReply":true,"replyButtonSelector":".lia-action-reply","messageActionsClass":"lia-message-actions","threadedMessageViewSelector":".lia-threaded-display-message-view-wrapper","lazyLoadScriptsEvent":"LITHIUM:lazyLoadScripts","isGteForumV5":true}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:renderInlineMessageReply"},"tokenId":"ajax","elementSelector":"#inlineMessageReplyContainer_4","action":"renderInlineMessageReply","feedbackSelector":"#inlineMessageReplyContainer_4","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.inlinemessagereplycontainer:renderinlinemessagereply?t:ac=board-id/marketing_contacts/thread-id/10585&t:cp=messages/contributions/messageeditorscontributionpage","ajaxErrorEventName":"LITHIUM:ajaxError","token":"CEQaxKjh2bSFlWCYwrbPMe-kXutM70J_q18TBKxeqm0."}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:lazyLoadScripts"},"tokenId":"ajax","elementSelector":"#inlineMessageReplyContainer_4","action":"lazyLoadScripts","feedbackSelector":"#inlineMessageReplyContainer_4","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.inlinemessagereplycontainer:lazyloadscripts?t:ac=board-id/marketing_contacts/thread-id/10585&t:cp=messages/contributions/messageeditorscontributionpage","ajaxErrorEventName":"LITHIUM:ajaxError","token":"tBTc5GFpWZqnPRraQhJBEfIzG68QUthx1tRfAS_O7wg."}); LITHIUM.AjaxSupport.fromLink('#kudoEntity_4', 'kudoEntity', '#ajaxfeedback_4', 'LITHIUM:ajaxError', {}, 'NYIquM95yipKbEeRDrSLuwthyXCmAz5GjGWby9MUtWo.', 'ajax'); LITHIUM.AjaxSupport.ComponentEvents.set({ "eventActions" : [ { "event" : "kudoEntity", "actions" : [ { "context" : "envParam:entity", "action" : "rerender" } ] } ], "componentId" : "kudos.widget.button", "initiatorBinding" : true, "selector" : "#kudosButtonV2_4", "parameters" : { "displayStyle" : "horizontal", "disallowZeroCount" : "false", "revokeMode" : "true", "kudosable" : "true", "showCountOnly" : "false", "disableKudosForAnonUser" : "false", "useCountToKudo" : "false", "entity" : "1038757", "linkDisabled" : "false" }, "initiatorDataMatcher" : "data-lia-kudos-id" }); LITHIUM.AjaxSupport.ComponentEvents.set({ "eventActions" : [ { "event" : "approveMessage", "actions" : [ { "context" : "", "action" : "rerender" }, { "context" : "", "action" : "pulsate" } ] }, { "event" : "unapproveMessage", "actions" : [ { "context" : "", "action" : "rerender" }, { "context" : "", "action" : "pulsate" } ] }, { "event" : "deleteMessage", "actions" : [ { "context" : "lia-deleted-state", "action" : "addClassName" }, { "context" : "", "action" : "pulsate" } ] }, { "event" : "QuickReply", "actions" : [ { "context" : "envParam:feedbackData", "action" : "rerender" } ] }, { "event" : "expandMessage", "actions" : [ { "context" : "envParam:quiltName,expandedQuiltName", "action" : "rerender" } ] }, { "event" : "ProductAnswer", "actions" : [ { "context" : "envParam:quiltName", "action" : "rerender" } ] }, { "event" : "ProductAnswerComment", "actions" : [ { "context" : "envParam:selectedMessage", "action" : "rerender" } ] }, { "event" : "editProductMessage", "actions" : [ { "context" : "envParam:quiltName,message", "action" : "rerender" } ] }, { "event" : "MessagesWidgetEditAction", "actions" : [ { "context" : "envParam:quiltName,message,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "ProductMessageEdit", "actions" : [ { "context" : "envParam:quiltName", "action" : "rerender" } ] }, { "event" : "MessagesWidgetMessageEdit", "actions" : [ { "context" : "envParam:quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "AcceptSolutionAction", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "RevokeSolutionAction", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "addThreadUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "removeThreadUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "addMessageUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "removeMessageUserEmailSubscription", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "markAsSpamWithoutRedirect", "actions" : [ { "context" : "", "action" : "rerender" } ] }, { "event" : "MessagesWidgetAnswerForm", "actions" : [ { "context" : "envParam:messageUid,page,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "MessagesWidgetEditAnswerForm", "actions" : [ { "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "MessagesWidgetCommentForm", "actions" : [ { "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] }, { "event" : "MessagesWidgetEditCommentForm", "actions" : [ { "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", "action" : "rerender" } ] } ], "componentId" : "forums.widget.message-view", "initiatorBinding" : true, "selector" : "#messageview_4", "parameters" : { "disableLabelLinks" : "false", "truncateBodyRetainsHtml" : "false", "forceSearchRequestParameterForBlurbBuilder" : "false", "kudosLinksDisabled" : "false", "useSubjectIcons" : "true", "quiltName" : "ForumMessage", "truncateBody" : "true", "message" : "1038757", "includeRepliesModerationState" : "true", "useSimpleView" : "false", "useTruncatedSubject" : "true", "disableLinks" : "false", "messageViewOptions" : "1111110111111111111110111110100101011101", "displaySubject" : "true" }, "initiatorDataMatcher" : "data-lia-message-uid" }); LITHIUM.MessageViewDisplay({"openEditsSelector":".lia-inline-message-edit","renderInlineFormEvent":"LITHIUM:renderInlineEditForm","componentId":"threadeddetaildisplaymessageviewwrapper_3","componentSelector":"#threadeddetaildisplaymessageviewwrapper_3","editEvent":"LITHIUM:editMessageViaAjax","collapseEvent":"LITHIUM:collapseInlineMessageEditor","messageId":1038757,"confimationText":"You have other message editors open and your data inside of them might be lost. Are you sure you want to proceed?","loaderSelector":"#threadeddetaildisplaymessageviewwrapper_3 .lia-message-body-loader .lia-loader","expandedRepliesSelector":".lia-inline-message-reply-form-expanded"}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:renderInlineEditForm"},"tokenId":"ajax","elementSelector":"#threadeddetaildisplaymessageviewwrapper_3","action":"renderInlineEditForm","feedbackSelector":"#threadeddetaildisplaymessageviewwrapper_3","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.threadeddetaildisplay.threadeddetailmessagelist.threadeddetaildisplaymessageviewwrapper:renderinlineeditform?t:ac=board-id/marketing_contacts/thread-id/10585","ajaxErrorEventName":"LITHIUM:ajaxError","token":"ev6NOW5rnyQIW6IHrIvc3rg8AjmF85jk6z3zahh8iO4."}); LITHIUM.ThreadedDetailMessageList({"renderLoadMoreEvent":"LITHIUM:renderLoadMoreMessages","loadingText":"Loading...","placeholderClass":"lia-messages-threadedDetailList-placeholder","loadFetchSelector":"#threadeddetailmessagelist .lia-load-fetch","rootMessageId":1038690,"loadPageNumber":1}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:renderLoadMoreMessages","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":"#threadeddetailmessagelist .lia-load-fetch","action":"renderLoadMoreMessages","feedbackSelector":"#ajaxFeedback","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.threadeddetaildisplay.threadeddetailmessagelist:renderloadmoremessages?t:ac=board-id/marketing_contacts/thread-id/10585","ajaxErrorEventName":"LITHIUM:ajaxError","token":"fKUCrWMjgAtKxnTTnrVXqOMizEbNUYHOMHkfkz_bnMk."}); LITHIUM.InlineMessageReplyEditor({"openEditsSelector":".lia-inline-message-edit","ajaxFeebackSelector":"#inlinemessagereplyeditor_0 .lia-inline-ajax-feedback","collapseEvent":"LITHIUM:collapseInlineMessageEditor","confimationText":"You have other message editors open and your data inside of them might be lost. Are you sure you want to proceed?","topicMessageSelector":".lia-forum-topic-message-gte-5","focusEditor":false,"hidePlaceholderShowFormEvent":"LITHIUM:hidePlaceholderShowForm","formWrapperSelector":"#inlinemessagereplyeditor_0 .lia-form-wrapper","reRenderInlineEditorEvent":"LITHIUM:reRenderInlineEditor","ajaxBeforeSendEvent":"LITHIUM:ajaxBeforeSend:InlineMessageReply","element":"input","clientIdSelector":"#inlinemessagereplyeditor_0","loadAutosaveAction":false,"newPostPlaceholderSelector":".lia-new-post-placeholder","placeholderWrapperSelector":"#inlinemessagereplyeditor_0 .lia-placeholder-wrapper","messageId":1038690,"formSelector":"#inlinemessagereplyeditor_0","expandedClass":"lia-inline-message-reply-form-expanded","expandedRepliesSelector":".lia-inline-message-reply-form-expanded","newPostPlaceholderClass":"lia-new-post-placeholder","isLazyLoadEnabled":false,"editorLoadedEvent":"LITHIUM:editorLoaded","replyEditorPlaceholderWrapperCssClass":"lia-placeholder-wrapper","messageActionsClass":"lia-message-actions","cancelButtonSelector":"#inlinemessagereplyeditor_0 .lia-button-Cancel-action","isGteForumV5":true,"messageViewWrapperSelector":".lia-threaded-detail-display-message-view","disabledReplyClass":"lia-inline-message-reply-disabled-reply"}); LITHIUM.Text.set({"ajax.reRenderInlineEditor.loader.feedback.title":"Loading..."}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"useLoader":true,"blockUI":"","event":"LITHIUM:reRenderInlineEditor","parameters":{"clientId":"inlinemessagereplyeditor_0"}},"tokenId":"ajax","elementSelector":"#inlinemessagereplyeditor_0","action":"reRenderInlineEditor","feedbackSelector":"#inlinemessagereplyeditor_0","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.threadeddetaildisplay.inlinemessagereplyeditor_0:rerenderinlineeditor?t:ac=board-id/marketing_contacts/thread-id/10585","ajaxErrorEventName":"LITHIUM:ajaxError","token":"_59iSyfqqPHidHNIWttGGdOKkQzZh8GlPwNJfdYH8uk."}); LITHIUM.InlineMessageEditor({"ajaxFeebackSelector":"#inlinemessagereplyeditor_0 .lia-inline-ajax-feedback","submitButtonSelector":"#inlinemessagereplyeditor_0 .lia-button-Submit-action"}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:lazyLoadComponent","parameters":{"componentId":"messages.widget.emoticons-lazy-load-runner"}},"tokenId":"ajax","elementSelector":"#inlinemessagereplyeditor_0","action":"lazyLoadComponent","feedbackSelector":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.threadeddetaildisplay.inlinemessagereplyeditor_0:lazyloadcomponent?t:ac=board-id/marketing_contacts/thread-id/10585","ajaxErrorEventName":"LITHIUM:ajaxError","token":"4pIcQToPWzSKUplJeEU_wP1Msia-SKeXMsgRB3EVqRY."}); LITHIUM.lazyLoadComponent({"selectors":{"elementSelector":"#inlinemessagereplyeditor_0"},"events":{"lazyLoadComponentEvent":"LITHIUM:lazyLoadComponent"},"misc":{"isLazyLoadEnabled":false}}); (function($) { $(document).ready(function() { var pageName = 'ForumTopicPage'; var reply = window.location.hash.substr(1); if(reply =='reply') { if( pageName == 'BlogArticlePage') { $('.MessageEditor .lia-quilt-row.lia-quilt-row-standard').attr('id', 'reply'); $( window ).on( "load", function() { $('iframe').trigger("click"); }); } else { $('.lia-form-type-text.lia-inline-topic-div').attr('id', 'reply').trigger("click"); $('.lia-quilt-row.lia-quilt-row-standard.lia-input-edit-form-row').focus(); } } $('.lia-form-modbarwhats-hot-input').change(function(){ let valueHotsSel = $(this).find('option:selected').attr('description'); let currentFormId = $(this).closest('form').attr('id'); let currentForm = '#'+currentFormId+' input[name=form_instance_key]'; let CurrentIdMsg = $(currentForm).val(); console.log(CurrentIdMsg); $.get('/plugins/custom/hubspot/hubspot/custom-tags-rearrange?Msgid='+CurrentIdMsg+'&statusVal='+valueHotsSel) .done(function(data) { console.log(data); }).fail(function(err) { console.log(err); }) }); }); })(LITHIUM.jQuery); ;(function($){ $(document).ready(function() { if ($("body.ForumTopicPage .lia-list-row-thread-readonly").length) { $("body.ForumTopicPage .no-replies-card").hide(); $('body.ForumTopicPage .lia-button-wrapper-secondary').addClass('lia-link-disabled').find('.reply-action-link').addClass('reply-action-link'); } else { $("body.ForumTopicPage .no-replies-card").show(); } }); })(LITHIUM.jQuery); LITHIUM.Components.renderInPlace('recommendations.widget.recommended-content-taplet', {"componentParams":"{\n \"mode\" : \"slim\",\n \"componentId\" : \"recommendations.widget.recommended-content-taplet\"\n}","componentId":"recommendations.widget.recommended-content-taplet"}, {"errorMessage":"An Unexpected Error has occurred.","type":"POST","url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.recommendedcontenttaplet:lazyrender?t:ac=board-id/marketing_contacts/thread-id/10585&t:cp=recommendations/contributions/page"}, 'lazyload'); ;(function ($) { if ($(window).width() <= 991) { $(".community-footer .col:nth-child(3)").on('click',function(){ if ($(this).hasClass('active')) { $(this).removeClass('active'); $(this).children("ul").hide(); $(this).children("h5").removeClass("addedClass"); } else { $(".community-footer .col").removeClass('active'); $('.community-footer .col ul').hide(); $(this).addClass('active'); $(this).children("ul").show(); $('.community-footer .col').children("h5").removeClass("addedClass"); $(this).children("h5").addClass("addedClass"); } if ( $(".community-footer .col:nth-child(4) ul").hasClass('custom-footer-res')) { $(".community-footer .col:nth-child(4) ul").removeClass('custom-footer-res'); } else { $(".community-footer .col:nth-child(4) ul").addClass('custom-footer-res'); } }) $('.community-footer .col:nth-child(1)').on("click", function () { if ($(this).hasClass('active')) { $(this).removeClass('active'); $(this).children("ul").hide(); $(this).children("h5").removeClass("addedClass"); } else { $(".community-footer .col").removeClass('active'); $('.community-footer .col ul').hide(); $(this).addClass('active'); $(this).children("ul").show(); $('.community-footer .col').children("h5").removeClass("addedClass"); $(this).children("h5").addClass("addedClass"); } if ( $(".community-footer .col:nth-child(4) ul").hasClass('custom-footer-res')) { $(".community-footer .col:nth-child(4) ul").removeClass('custom-footer-res'); } }) $('.community-footer .col:nth-child(2)').on("click", function () { if ($(this).hasClass('active')) { $(this).removeClass('active'); $(this).children("ul").hide(); $(this).children("h5").removeClass("addedClass"); } else { $(".community-footer .col").removeClass('active'); $('.community-footer .col ul').hide(); $(this).addClass('active'); $(this).children("ul").show(); $('.community-footer .col').children("h5").removeClass("addedClass"); $(this).children("h5").addClass("addedClass"); } if ( $(".community-footer .col:nth-child(4) ul").hasClass('custom-footer-res')) { $(".community-footer .col:nth-child(4) ul").removeClass('custom-footer-res'); } }) } })(LITHIUM.jQuery); if (window.location.href.indexOf('/page/') != -1) { var siblings = document.getElementById('actionMenuDropDown').parentNode.childNodes; siblings[3].className = "hidden" siblings[5].className = "hidden" } (function($) { $(window).on('load', function() { $('.lia-quilt-forum-message > .lia-quilt-row-main,.lia-quilt-idea-message-item > .lia-quilt-row-main').each(function(){ $(this).find('.UserAvatar img').css("width","40px"); $(this).find('.UserAvatar img').css("border-radius","15px 0 15px 15px"); var href = $(this).find('.UserName > .lia-link-navigation').attr('href'); var img = $(this).find('.UserAvatar').html(); $(this).find('.UserAvatar').html(''+img+''); }); }); })(LITHIUM.jQuery); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:lightboxRenderComponent","parameters":{"componentParams":"{\n \"surveyType\" : {\n \"value\" : \"communityexperience\",\n \"class\" : \"java.lang.String\"\n },\n \"surveyId\" : {\n \"value\" : \"3\",\n \"class\" : \"java.lang.Integer\"\n },\n \"triggerSelector\" : {\n \"value\" : \"#valueSurveyLauncher\",\n \"class\" : \"lithium.util.css.CssSelector\"\n }\n}","componentId":"valuesurveys.widget.survey-prompt-dialog"},"trackableEvent":false},"tokenId":"ajax","elementSelector":"#valueSurveyLauncher","action":"lightboxRenderComponent","feedbackSelector":false,"url":"https://community.hubspot.com/t5/forums/v5/forumtopicpage.liabase.basebody.valuesurveylauncher.valuesurveylauncher:lightboxrendercomponent?t:ac=board-id/marketing_contacts/thread-id/10585","ajaxErrorEventName":"LITHIUM:ajaxError","token":"5TQc0_ac7ou99NpemxdnUGsglroX4gIWAFifbM4I3-o."}); LITHIUM.Dialog.options['-1451857325'] = {"contentContext":"valuesurveys.widget.survey-prompt-dialog","dialogOptions":{"minHeight":399,"draggable":false,"maxHeight":800,"resizable":false,"autoOpen":false,"width":610,"minWidth":610,"dialogClass":"lia-content lia-panel-dialog lia-panel-dialog-modal-simple lia-panel-dialog-modal-valuesurvey","position":["center","center"],"modal":true,"maxWidth":610,"ariaLabel":"Feedback for community"},"contentType":"ajax"}; LITHIUM.Dialog({ "closeImageIconURL" : "https://community.hubspot.com/skins/images/18F3BC1B321AD4890EEA2CC4210306FB/responsive_peak/images/button_dialog_close.svg", "activecastFullscreen" : false, "dialogTitleHeadingLevel" : "2", "dropdownMenuSelector" : ".lia-menu-navigation-wrapper", "accessibility" : false, "triggerSelector" : ".lia-panel-dialog-trigger-event-click", "ajaxEvent" : "LITHIUM:lightboxRenderComponent", "focusOnDialogTriggerWhenClosed" : false, "closeEvent" : "LITHIUM:lightboxCloseEvent", "defaultAriaLabel" : "", "dropdownMenuOpenerSelector" : ".lia-js-menu-opener", "buttonDialogCloseAlt" : "Close", "dialogContentCssClass" : "lia-panel-dialog-content", "triggerEvent" : "click", "dialogKey" : "dialogKey" }); LITHIUM.ValueSurveyLauncher({"detectPopUpCSS":".lia-dialog-open","dialogLinkSelector":"#valueSurveyLauncher","launchDelay":64508}); 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.hubspot.com/t5/forums/v5/forumtopicpage.liabase.basebody.partialrenderproxy:partialrenderproxyrelay?t:ac=board-id/marketing_contacts/thread-id/10585","ajaxErrorEventName":"LITHIUM:ajaxError","token":"WyR9mfPObz0wknTuiRZCkD7_sigzCDnT63hRD8rT6i0."}); LITHIUM.Auth.API_URL = "/t5/util/authcheckpage"; LITHIUM.Auth.LOGIN_URL_TMPL = "https://app.hubspot.com/khoros/integration/jwt/authenticate?referer=https%3A%2F%2FREPLACE_TEXT"; LITHIUM.Auth.KEEP_ALIVE_URL = "/t5/status/blankpage?keepalive"; LITHIUM.Auth.KEEP_ALIVE_TIME = 300000; LITHIUM.Auth.CHECK_SESSION_TOKEN = 'hsaOgtusOGNGSW2LF8wa2G3okrduAkctZK-e_Kf6oLU.'; LITHIUM.AjaxSupport.useTickets = false; LITHIUM.Loader.runJsAttached(); // -->