Using LiQL or SQL on Aurora instead of GraphQL?
We had an LiQL query we were using for years to surface community posts on our help center, and following the move to Aurora we need to update this to GraphQL. However, the developers on that team would prefer SQL/LiQL as their system is not set up for GraphQL. Is it possible to still use LiQL or SQL queries while on Aurora?98Views1like10CommentsGoogle Tag Manager and Google Analytics Setup in Aurora platform
Hello Guys, Anyone has setup the GTM and Google analytics in current version of Aurora Platform. We tried with the pagescript which is not working for us. IF anyone added implemented the same, then please let us know. Thanks DurgeshSolved98Views3likes5CommentsIncremental data for attachments in messages and replies
I am trying to get incremental data based on required datetime field for attachments related data in messages and replies. Can someone please help me with this ? Graphql queries for which I need incremental data is as follows: query Attachments { messages { edges { node { id attachments { edges { node { id filename url } } } } } } } Thanks98Views1like5CommentsSDK 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!63Views1like5CommentsAurora externalContext module issue
Hi All, I am working with a custom component in Aurora using React and TypeScript, but I am encountering a "module not found" error, as shown in the screenshot. Can anyone suggest where I might be going wrong? Additionally, I am unable to import the .pcss file for styling the component. Any help would be appreciated! I followed the Khoros Aurora documentation, where they provided the CatFactToast component. Below is my folder structure. When i am importing the CatFactToast.module.pcss file in CatFactToast.tsx then it is not showing the file in the relative path as shown in the screenshot below Thanks!Solved63Views1like2CommentsError message when adding a query to handlebars component (Aurora)
I'm trying to follow the documentation on creating a custom handlebars component in Aurora and I'm running into a weird error that I can't figure out. I have added the component via a GraphQL mutation and it works fine with some basic HTML, but once I try to follow this doc: https://developer.khoros.com/khorosauroradevdocs/docs/adding-graphql-queries-and-fragments-to-a-custom-handlebars-component I'm running into some issues: There's no docs (at least not that I've found) that explain how to get the bearer token or where the file should be stored or how that works when using GraphQL to upload a GraphQL file to use in a component (see here: https://developer.khoros.com/khorosauroradevdocs/docs/adding-graphql-queries-and-fragments-to-a-custom-handlebars-component#uploading-a-graphql-file-for-a-component-via-graphql) and I've been unable to figure out how to do this on my own. I've tried a few things with no success. If I try to follow the steps to add it manually, then I run into some strange errors. I'm running the SDK via VS code terminal which is working fine, but as soon as I follow the steps to add a "queries" folder and .graphql file to that folder within my component folder (e.g., components/myComponent/queries/myComponent.query.graphql) then I get an error in the VS Code terminal that says ""message": "The Content-Type header included with the request is not allowed (it should be either application/json or application/xml)."," and in my browser console when I try to load my custom component is: "Unable to fetch component to render for component id custom.widget.releaseTkbSidebar: Exception while fetching data (/component/render) : com.github.jknack.handlebars.HandlebarsException: releaseTkbSidebar:1:18: lithium.coreapi.components.ComponentTemplateApplyException: unable to apply template: releaseTkbSidebar: no query found matching the name 'releaseTkbSidebarQuery'. releaseTkbSidebar:1:18" Anyone know what's going on here? I've follow the dev docs and examples exactly (or as close as I can given that they've proven to be very inaccurate) and I'm out of things to test through trial and error. Here's what I have in my .hbs file for my custom component: <h2>Test!</h2> {{#gql "releaseTkbSidebarQuery"}} {{#with data.messages.edges as |edges|}} {{#each edges}} {{#with node as |message|}} <p>{{message.subject}}</p> {{/with}} {{/each}} {{/with}} {{/gql}} And here's what my .graphql query file looks like query releaseTkbSidebarQuery { messages { edges { node { id customFields subject } } } } My file structure looks like this Any help would be very much appreciated!63Views0likes5CommentsHandlebars 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.52Views0likes5CommentsHow 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.50Views0likes4CommentsIncremental data for users data
I am trying to bring USERS data incrementally though GraphQL API. The only relevant date time filter/constraints we can use is registration date, but the problem is that if a user profile is updated, we won't be getting that in incremental data based on registration date. Can someone please help me with this ? Is there some other datetime filter or constraints we should use to get this data incrementally ? Here is my current USERS GraphQL query for reference: query MyQuery { users( last: 1000 constraints: {registrationTime: {gte: "2024-01-01T00:00:00.000+00:00", lte: "2024-10-01T00:00:00.000+00:00"}} ) { edges { node { id title firstName lastName email viewHref } } } } } Thanks, Aishwarya47Views0likes0Comments