Recent Content
How do I get the article ID in Freemarker in a TkbArticle?
This is Community Classic. I'm trying to write a component to display something from a hidden field (canonical_url) while on the page of a TkbArticle. It doesn't appear that either page.context.message.id or env.context.message.id work in anything Tkb related. What other options do I have to retrieve this information in the context of the page itself?25Views0likes1Comment400/404 error on POST request
Hey, I'm trying to do my very first POST API call and currently getting stuck. I know there are other solutions for what I'm trying to do, but I'm also trying to learn something rather than straight up copying & pasting. <#assign boardID = coreNode.id /> <button id="subscribe">Subscribe</button> <@liaAddScript> (function($){ $(document).ready(function(){ $("#subscribe").on( "click", function() { $.ajax({ url: "/api/2.0/subscriptions", dataType: 'json', data: { "data":{ "type":"subscription", "target":{ "type":"board", "id":"blueprints" } } }, method: 'POST' }).done(function(response) { console.log('Success'); }).fail(function() { console.log('Fail'); }) }); }); })(LITHIUM.jQuery); </@liaAddScript> When I click my button on the page, I get a 404 error in the console: GET https://community-stage.blueprism.com/api/2.0/subscriptions?data%5Btype%5D=subscription&data%5Btarget%5D%5Btype%5D=board&data%5Btarget%5D%5Bid%5D=blueprints 404 (Not Found) I assume I'm doing something wrong, but I can't figure out what. I've tried subbing the variable for the ID of the board too and the URL is the same, with the same 404 error. The only thing that's sprung to mind is that the API's don't work with the CNAME and I need to use the original domain for our staging site? Thanks in advance.367Views0likes2CommentsOnline User Count is Completely Wrong
I'm trying to get an accurate count of online users and it's quite obvious the count is completely wrong just by looking at the results I'm encountering on my staging environment. The LIQL query used is fairly simple: SELECT count(*) FROM users WHERE online_status='online' Given the number of people who access our staging server, I would expect the result of this to be a low single digit number. Instead, I got a result of over 30 users. So I dug into the API results: SELECT login,last_visit_time FROM users WHERE online_status='online' The results list users with last visit times from 2020 and 2021 as well as users from earlier in 2022 that I know for a fact aren't online. How is Khoros defining an "online user" here? Is the behavior I'm seeing a bug or expected behavior?523Views2likes10CommentsTinyMceEditor is undefined
Hi, I have a simple custom component: <form id="pmUpdateForm"> <textarea rows="" cols="" id="pmUpdate"></textarea> </form> <@liaAddScript> ;(function($) { $(document).ready(function() { tinymce.init({ selector: 'textarea#pmUpdate', height: 150, menubar: false, plugins : "paste", paste_text_sticky : true, setup : function(ed) { ed.pasteAsPlainText = true; } }); }); })(LITHIUM.jQuery, LITHIUM.TinyMceEditor); </@liaAddScript> I added the above component into one of the quilts. After the SDK push I always see Uncaught ReferenceError: tinymce is not definederror. I know why this error occurs but w.r.t Khoros, I am not able to figure out where to look. There is no official documentation about tinyMceEditor in atlas on how to use it.134Views0likes0CommentsCommunity Text - First Name Text Key
In Studio > Text Editor > Community TextI want to update the text-key general.welcome = Welcome back, {0}! To something like: general.welcome = Welcome back, ${profile.name_first}! But I don't know the text-key for the First Name in a user's Personal Information setting. Currently we are using general.welcome = Welcome back, {0}! And {0} is their username. We would like to personalize the message with their first name instead of their username. Does anyone know what text-key I can use to pull a users first name from their personal information / settings / profile? Thank you! Dave132Views0likes1CommentUrgent: Case Sensitivity w/ SSO
Our people system changed (salesforce, workday, whatever), and several users are saying "It's asking me to create a username!" Turns out: the OLD people system passes parikshita.sahoo@duckcreek.com The NEW people system passes Parikshita.Sahoo@duckcreek.com Apparently Khoros sees these as DIFFERENT users (due to capitalization changes). I submitted a support ticket, but the response indicated it's going to take a bunch of back & forth to help them recreate this thing. Which leads me to straight up ask you all -Has anyone else ran into case sensitivity issues before? In collaboration with our IAM team, I have a "plan" but it's not an easy one (transform to lowercase on the B2C front, and simultaneously batch some Khoros API calls to change all users' SSO IDs to lowercase. But it seems outright silly that Khoros cares about case sensitivity. Has anyone solved this before? Is there a checkbox I'm missing?407Views0likes6CommentsAurora Storybook - Component Library
Hi All🤙 I'm not seeing an Aurora specific Developer Discussion board so excuse me if I've posted this in the wrong section. Might be an idea to have a dedicated area🤔 I seem to recall early on seeing in presentations a Storybook for Aurora that let you navigate all the UI components that its made up of? I've hunted around and can't seem to find anything. Do we have access to a Storybook or Component Library that designers can use to review all the OOTB UI components, buttons, cards etc including what configurable states and options each UI might have. This would make designing unique layouts and custom page much easier and also ensure we adopt the global UI components (where possible) rather than creating our own bespoke versions. LarryI😉 Thx Chris301Views3likes2CommentsWill adding/changing a custom tag trigger a Community event?
When using the About custom tags(NOT user facing normal tags❗ ) feature of Classic community: will a custom tag being added trigger a community event as defined in the Subscribe to Community events API documentation article?107Views0likes0CommentsIs it safe to assume that User ID and Message ID have a numerical value and String as its data type?
Is it safe to assume that these IDs will remain numeric only? https://developer.khoros.com/khoroscommunitydevdocs/docs/messages https://developer.khoros.com/khoroscommunitydevdocs/docs/users204Views0likes1Comment