Recent Discussions
24.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.Solved119Views2likes5CommentsHow 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.40Views0likes4CommentsGetting 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.19Views0likes0CommentsHow 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.Solved34Views1like2CommentsAPI 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 HannahHannah_B8 days agoContributor15Views0likes0CommentsHandlebars Context Objects
Hi all, Just trying to see if anyone else has hit this or if its 'my head is mince syndrome'. I am trying to create a social sharing component but when is use {{page.url}} I am only getting the base url for the community. What I really want is the current page URL. I have tried every which way of the page. Context object but can't get it to spit out the current page URL.43Views0likes5CommentsError 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; } }28Views0likes2CommentsSDK Preview mode doesn't seem to be working?
Hello fellow devs - I'm very new to GitHub, so I am unsure if this is something I've set up wrong, or if something isn't working in Aurora. I have the SDK installed, and the orange box at the bottom of the screen indicates the SDK previewer is running (it never goes away, even when I haven't started anything in the terminal yet, as a matter of fact). I make the npm run start command in terminal, and I can see an orange outline on a widget I've made changes to - but the changes don't actually reflect in the browser, even upon refresh. Clearly it knows something is different because the outline is there. But the change (like adding a new word to a block of text) isn't there. Is there a trick to getting the preview plugin to work? I've exited out of it from terminal now, and the outline won't go away anymore, even after going in and making the change to the widget directly, saving, and resyncing everything from the stage-main branch. What should my order-of-operations be if I want to work in VS code and see my changes in the previewer of the browser? I am convinced this is a me problem and not an Aurora problem. :( What I did, in order: Merged my working branch with stage-main Opened the HTML for a custom widget on my working branch Opened terminal and ran npm run start Added text to the custom widget Refreshed the page in browser Orange outline on the widget shows, but not the new text. Double checked I didn't accidentally break the HTML; I did not Refreshed again, still nothing. Internal frustration Exited npm with Ctrl+C in terminal Refreshed page again, orange box still there Copied the updated HTML from VS Code, edited widget in browser, pasted, saved - change is exactly what I expected More internal frustration Decided to ask for help here Thank you in advance to anyone who can help!61Views1like5CommentsRequest to create new APIs
Our company is seeking to automate onboard/update users for Khoros Care. We would like to use APIs to add/edit/delete users and add/edit/delete permissions. Two questions, first, does Khoros Care have such APIs? Second, if not, is it possible to create new APIs to serve stated purposes? Costs aside, first I just need to understand if this is a possibility.Solvedsyu16 days agoContributor28Views0likes1Comment