Recent Content
How to fetch all labels associated with TkbArticlePage and count how many times each label is used
I’m working with the Khoros Community platform and need to fetch all labels that are associated/tagged with TkbArticlePage articles. Additionally, I’d like to get a count of how many times each label is used across different articles. Has anyone worked with the Khoros API or any custom reporting tools that could help with this? Any tips or examples of how to achieve this would be greatly appreciated. Thanks in advance! VikasB VarunGrazitti35Views0likes1CommentGetting errror on trying to submit the plugin on dev environment
Getting the error: [UPLOAD_FAIL] The plugin was not uploaded. The plugin package file not found. On runnning 'li submit-plugin'/'li submit-plugin --force', on the dev env. The server config file looks good, has the correct URL, and the upload token. Also ran 'li package-plugin' --> created a plugin folder in the SDK; but still getting the same error. Is this a known issue? Any help would be appreciated.24Views0likes0CommentsIntroducing AWS Bot Control: Enhanced Security for Khoros Communities
1 MIN READ AWS Bot Control is now available for all Classic and Aurora Khoros Communities, providing advanced AI-driven protection against malicious bots to safeguard your community and maintain peak performance.336Views5likes2CommentsHow to create/subscribe the Webhook in Aurora
Hello Folks, I would like to understand the steps involved in setting up a webhook, including how to create one and subscribe to it for specific events or actions. Any guidance or best practices for managing webhooks in Aurora would be greatly appreciated. Thanks in Advance.51Views0likes4CommentsHow can I create and add a custom quilt for a specific page in Aurora?
Hi Folks I’ve been working on the Aurora Community and created a new page where I want to add specific widgets that are unique to this page. However, I’m encountering an issue: whenever I add a widget to this new page, it also appears on other pages that use the same layout (quilt), which is not the intended behavior. Does anyone know how to resolve this issue in Aurora? Any help would be greatly appreciated! Thanks in advance.Solved39Views1like2CommentsAPI Auth in Postman
Hi, Im a bit of a newbie here and would love some help. I am trying to complete Auth in Postman and returning 400 bad request/Invalid request or page not found when trying to obtain the code. Error: getaddrinfo ENOTFOUND {{base_community_url}} The URL is just the Community domain which is the same an the redirect URI. {{URL}}/api/2.0/auth/authorize?li_client_id={{Encoded client ID}}&redirect_uri={{Redirect URI not encoded}}&response_type=code or {{URL}}/api/2.0/auth/authorize?li_client_id={{Encoded client ID}}&redirect_uri={{Redirect URI not encoded}}&response_type=code&jwt={{SSO Toekn}} Thanks Hannah18Views0likes0CommentsError with Oauth 2.0 Client Credentials workflow
I'm trying to authenticate an api call in a typescript app using the oauth 2.0 client credentials workflow and I'm running into issues, I believe, with generating the CC Hash for this. This is for Community Classic. I have verified that I have the correct client id, client secret and shared secret key and that they're being pulled in correctly in my code. Not sure what I'm missing, but this is the error I see when I try to authenticate: {"error":"Authorization or API call failed","details":"Failed to obtain access token. Status: 403. Response: {\"status\":\"error\",\"message\":\"cc_hash is invalid.\",\"data\":{\"type\":\"error_data\",\"code\":214,\"developer_message\":\"The decryption failed. ccHash is Invalid\",\"more_info\":\"\"},\"metadata\":{}}"} Here's the relevant part of my Typescript code that's generating the CC Hash. Not sure if something is formatted incorrectly or what's not being generated correctly or causing it to return an invalid cc hash function generateCCHash(clientId: string, clientSecret: string, sharedSecretKey: string): string { try { const epochTimeMinute = getEpochTimeMinute(); const nonce = generateNonce(); const strToHash = `${clientId}:${clientSecret}:${nonce}:${epochTimeMinute}`; console.log("String to hash:", strToHash); const hash = crypto.createHash('sha512'); hash.update(strToHash, 'utf8'); hash.update(sharedSecretKey, 'utf8'); const hashResult = hash.digest('hex'); console.log("Generated hash (cc_hash):", hashResult); return hashResult; } catch (error) { console.error("Error generating CC-Hash:", error); throw error; } }30Views0likes2Comments24.10 API change breaks navigation
Staging instances of two three communities I work with got upgraded to 24.10 and for both all the Khoros supplied theme-lib.community-header-navigation broke as a result with the error: Freemarker template 'theme-lib.community-header-navigation' processing failed: InvalidReferenceException:The following has evaluated to null or missing: ==> restBuilder().method("POST").path("/search").body(liql_query).call().data.items [in template "theme-lib.community-header-navigation" at line 188, column 62] I haven't done any in-depth investigation or how to come up with a fix. On quick glance neither the Communities Classic v24.09 Release Notes nor Classic Communities: 24.10 Release Notes do contain any suspicious change. Just wanted to share so you folks got a starting point.Solved137Views2likes5Comments