liqlAdmin in khoros aurora graphql API
Hi Folks, I want to add roles to the users using graphQL API given below. const ADD_USER_ROLE_MUTATION = gql` mutation addUsersToRole($roleKey: RoleKeyInput!, $users: [UserIdInput!]!) { addUsersToRole(roleKey: $roleKey, users: $users) { result { id name } } } `; const [addUserRole] = useMutation(ADD_USER_ROLE_MUTATION); addUserRole({ variables: { roleKey: { roleName: "role" }, users: [{ id: userId }] } }); The issue I am facing is that when this mutation is executed by an Admin user, the role is successfully added to the target user. However, when the same mutation is executed by a normal user, it fails to add the role due to permission denied errors. Is there a parameter or keyword that can be used in this mutation to allow a normal user to update their own roles or self-related data? For example, in Khoros Classic, we can use the liqlAdmin keyword in REST API requests to bypass such permissions. Is there an equivalent for GraphQL in Khoros Aurora? Thanks in Advance.Solved111Views0likes10CommentsTips on keeping stage and prod in alignment?
Hello developer friends! I am newer to GitHub, so please forgive me if I use the wrong terms here. :) I was wondering if anyone had any tips or tricks on how to "roll back" stage changes to bring staging back in line with prod on a regular basis? I've searched for how to do this more broadly, but what I've found doesn't seem to align well with a situation like Khoros, where there are a few developer admins with GitHub access, but everyone else is making changes directly on the site UI. Essentially, I want to be able to "undo" any unnecessary changes on Stage from people testing or experimenting before say, a Khoros update, so that we can test the new version with the site mirroring Prod as closely as possible. Any advice is welcome - and thanks in advance! :)19Views0likes0CommentsGoogle 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 DurgeshSolved142Views3likes5CommentsHow 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.72Views1like4CommentsHow 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.Solved43Views1like2CommentsHandlebars 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.61Views0likes5CommentsSDK 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!73Views1like5CommentsUsing 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?118Views1like10Comments