Email_Link_Update
Can you please provide your suggestion on below requirement. Please click on any article, below the article page you will able to see this option. For ex: https://helpzone-stage.cisco.com/t5/Compensation/Leave-Travel-Assistance-LTA-Policy-India/ta-p/1152 - click on this link When we click on the “No” button that page should navigate to this chat wizard page: “https://helpzone-stage.cisco.com/t5/custom/page/page-id/ChatWizard “ ou can reach out to me for suggestionsVinayaka8 years agoContributor160Views0likes2CommentsPrivate Notes Page - Custom notes tab/Contacts list
Hi, I am customising the Private notes page but can't seem to find the "tabs" component that has the links for Inbox/Sent/Friends/Ignored. To Get around this I recreated my own and hid the normal one with CSS. The problem is, when I go to Contacts (Friends) tab, I can'tfind where the components are in studio so I can't add my own links/Customise the page. Anyone any ideas?SolveddarrenSP8 years agoMentor169Views1like4CommentsBlog Replies
We are building our blogs component just now and when replying to a blog the comment shows on a separate page on it's own. When you go back to the Blog page the comment shows below the blog as expected. How do we configure the blogs page so that once the comment is created the user goes straight to the original blogs page to see their comment rather than the separate page?128Views1like2CommentsEasy way to tell which Quilts are in use? In Studio or SDK.
Trying to find a way to tell which custom or modified quilts that we have are actually in use. With components and layouts (in the SDK) it's fairly straightforward: I just search for the name of the file in the /res/ folder. With Quilts, since they're only set via ADMIN > CONTENT > CUSTOM PAGES, I haven't been able to find a way to do this. Exporting the ADMIN settings and searching the XML doesn't seem to show those settings. Got any suggestionsSuzieHor anyone else? ThanksSolvedInactive User8 years ago160Views0likes2CommentsCustom Reply button
I'm attempting to build a custom message reply button and came across some ID's that I'm struggling to identify. For example: A post like this: ... /t5/CRM/Great-test-subject-line-here/m-p/60#M1 Reply button like will look like this: ... /t5/forums/replypage/board-id/sales_CRM/message-id/1 My question is, how do I access that number "1" or "M1"in this example via the API or a context object? All I seem to find is the ID of this message itself, which in this example is "60". Thanks!Solved178Views0likes1CommentLIQL - How to exclude message from board which has setting "Hide messages in this board from lists"
I want to exclude messages from the boards which has setting "Hide messages in this board from lists" using LIQL query. Does anyone have any suggestions?pradeepc8 years agoGuide233Views0likes5CommentsREST Call to check if user can give kudos to this message?
I am working on custom component where i need to implement the functionality to be able to give/revoke kudos from all visible idea(messages), i could not find any V1 api so is there a way we can do this using v1 api??? ThanksSolved205Views0likes4CommentsUsing freemarker for getting a URL (reading JSON) from a local JSON asset.
Hi. I'm new in freemarkerand I'm facing some issues while using it in a page I'm creating. I am trying to use a select element in my page and the functionality I want is that whenever a user clicks on any of the countries from that dropdown it should take the URL from the JSON in which I have a key and value, "country" and "URL"for that country respectively and it should open to a new page for the specific country. I have tried to do this through Javascript and it's working but I'm not getting the proper freemarkerneeded for this. Let's suppose the JSON I'm using is this - "countries": [ { "name": "Argentina", "url": "https://argentina/events/" }, { "name": "Australia", "url": "https://australia/events/" } ] What are the required things to be done for getting this functionality? If any one can help that would be awesome. Thanks in advance.pp_018 years agoMentor145Views0likes3CommentsHow can i create a Custom Component to give Kudos to Ideas?
I want to create a Custom Component, where, Ideas are fetched from specific Idea Broad, want functionality to be able to give/remove Kudos to specific Ideas (please suggest API's for this, if possible example also), want functionality to be able update status and add comments to it, also implement pagination to fetch next n numbers of Ideas, API's for Top, Hot & New Ideas As i am doing this first time so please suggest me API's and if possible if example can be given. Thanks, Neel ShahSolved306Views0likes8Comments- sprice8 years agoMentor3.2KViews0likes9Comments
Get all badges
Hi is there a way to get all badges, even those not earned? I want to show a page where you can see what badges you have earned as well as yet to earn with a description of what they are. Is this possible using API V2 or even API V1? Thanks, Darren.SolveddarrenSP8 years agoMentor232Views0likes3Commentsobtain the relative href of a custom page
I'm trying to do set a class for styling the header navigation for a set of custom pages. How I do it for other categories is by the following code: <#if category.id == coreNode.id || isAncestor(category.id coreNode.ancestors) > <#assign category_highlight_class = " custom-menu-item-underline" /> </#if> However, this doesn't work for custom pages I've created. I thought I could do something similar, perhaps with the href parameter: <#if coreNode.href == "RELATIVE_URL") > <#assign category_highlight_class = " custom-menu-item-underline" /> </#if> But I can't get coreNode.href to return values for any page on the site, much less custom pages. I get the following error every time: The following has evaluated to null or missing: ==> coreNode.href Any ideas what I'm doing wrong? What is the best way to work with custom pages that don't have categories or standard nodes?Solvedsdodds8 years agoExpert151Views0likes2CommentsPassing a variable from one component to another in the same quilt
Hi, I have a quilt that has for example 2 components. One component has a dropdown which changes the value of a variable. I want to pass this variable from this component into another component in order to change what the user sees. Is this possible through FreeMarker or would I need to use JS? If so is there any examples? Thanks, Darren.SolveddarrenSP8 years agoMentor332Views3likes7CommentsHow to nest a quilt within another quilt
This is a pretty basic question, but I can't seem to find the answer. I would like to add a quilt within another quilt, I have read that they are nestable, but not sure how to achieve this. for example: We have this quilt for Forum Topic Page <quilt layout="one-column" nestable="false" disableTopCssClass="false"> <add to="common-footer"> <component id="community-footer"/> </add> <add to="main-content"> <component id="community.widget.page-options"/> <component id="topic-message"/> <component id="thread-pager"/> <component id="solution-count-conditional"/> <component id="solution-list"/> <component id="reply-count-conditional"/> <component id="reply-list"/> <component id="message-pager"/> </add> <add to="common-header"> <component id="community-header"/> <component id="common.widget.breadcrumb"/> </add> <add to="icons" for="Footer"> <component id="common.widget.scroll-to"/> </add> </quilt> I would like to include another quilt entitled Forum Topic Header <quilt layout="topic-header" nestable="true" disableTopCssClass="false"> <add to="topic-header-right"> <component id="solution-link"/> </add> <add to="topic-header-left"> <component id="common.widget.page-title"/> <component id="solved-indicator"/> </add> </quilt> How do I include Forum Topic Header in ForumTopic Page. Thank youSolved237Views0likes1CommentCan not login
Download Lithium Android SDK Example, initialize SDK I initialize SDK according to the above, but the fourth step I don't know how to fill in and use the default " com.lithium.stage.lnv://oauth2callback ",Then run to mobile phone, cannot login.lnvesupportstg8 years agoContributor60Views0likes0Commentswhat is the api to check if a user is part of a group ?
Hi Mighty Community, Customer want to customise the GROUP module(Designers always come up something). I need an API to check if a user is part of a GROUP or not. I know there is a solution to use the group members v1 API to fetch all group members to check it one by one. This solution is dirty. Reason is first, the rest API only returns max 1000 results. You will have to use multiple REST api to get all the members if the group members total count is larger than 1000. Secondly this is not scalable if a group is very very big. Peterpeterlu8 years agoChampion93Views0likes2CommentsGet replies counts along with Topic
Hi All, I was trying to get count of replies along with Root Topic. (Or count of child items when i am trying to retrieve parent) For example :- To get root Topic i have used LiQL as below(modified for readability) http://test/api/2.0/search?q=SELECT+*+FROM+messages+WHERE+board.id= 'tp'+AND+depth=0+and+conversation.style='forum'+LIMIT+20+OFFSET+0 This query returns the root topics. I also want to know how many replies are present for this topic.For example also get replies.count(*). I cannot combine replies.count(*) in above query .How can i get both root topic and count of its replies in a single LiQL query. Could someone help me on this. Thanks, VijaySolvedvbandi8 years agoContributor377Views0likes6CommentsCommunity Structure - Common Pages - Localization
Hi, I've been speaking with lithium gurus, and they suggest that I post my scenarios here for others to comment and get feedback about possible approaches. We have two brands, purple which all the purple branding and imagery, and a second brand green, with all is branding and associated images/buttons. Our community is going to start localizing into 5 languages (German, French, Spanish ...) for both brands. What sort of structure is best and most efficient? What have others done? Scenario 1 - Language(s) -> Brand(s) A problem we have found is that if we structure by Language -> Purple Brand and Green Brand that the common pages (i.e. search results or my profile page), that are shared do not know what skin to use? If we apply no skin to language one is picked for us. Do other apply cookies in this scenario to apply the appropriate brand to the common page? If so how does that work and do you have access to the core components to apply cookie code? Scenario 2 - Brand(s) -> Language(s) The alternative scenario is to put Purple brand -> Language with 5 the languages live under that brand, and setup a Green Brand with all the languages under it. This uses out of the box functionality, but reporting is not as holistic. Yes, we could run two reports, and the common page problem is resolved in the first scenario. Ideally, we would want scenario 1 Language -> Brand, but do not see a work around since we do not have access to allow cookie code to the common pages. I'm hoping to get what others have done to apply specific branding across all pages in a localized language. Appreciate the feedback. Thanks, Tim Below is a mock up of a structure in each scenario.Solvedtmarshall8 years agoAdvisor572Views1like10CommentsUpload multiple files at once
Hello Everyone, We can able to upload multiple files in the Community but the multiple files we can able to attach if the files located in the same folder if not we need to submit it and need to select each time. Is there way in the community can able to attach different files in the different path. Thanks, Abhishek Illindra182Views0likes3CommentsSort by date created not date modified
Is there any way that we can sort the KB articles by date created, not date modified? Right now, when I edit an old article (which I'm doing a lot of, because I'm removing old labels) and publish it, it floats to the top of the KB when sorted by date. Is there admin setting for this?pradeepc8 years agoGuide166Views0likes3CommentsHow to apply sorting on multiple columns using LIQL V2 query?
Hi, I am trying to get recent messages from top Kudoed message list. Following is the query that I am using. SELECT * FROM messages ORDER BY kudos.sum(weight) desc, post_time DESC I remember it was working before. Now it's not working. The query is always giving top kudos messages only. Can somebody help me to find the right query? Thanks, PhaniSolvedphani8 years agoAdvisor205Views0likes4CommentsThreads with no replies Skip to end of metadata (Freemarker)
Description This example shows how to render a list of the 5 most recent threads that have no replies in a custom Freemarker component. This example makes use of a core component that is available for rendering message lists based on a message REST API call. Some important points that this example demonstrates: You can (and should) create custom text keys for all text you want to display in a component – that way you can easily localize for other languages. Many core components can be called from within a custom component by using the <@component> directive. The /search/messages REST API call lets you do a message search using the same query parameters that are used in a normal search through the UI. the openresponse=true query parameter is added to tell the search query to return only messages that have no replies. The use of standard Lithium css classes that start with lia- can allow you to quickly style a component in a way that matches other components on the page. There is a core component with the id forums.widget.message-list-panel that can be used to render a message list when given a valid REST API message list call. Requirements Lithium version 9.18 or higher, Lithium Studio How to add this to a Lithium community 1. Navigate to Lithium Studio 2. The first thing we want to do is add a text key that we will pass into our message list component: 2a. Go to the Text Editor tab. 2b. Click the Search button. 2c. Enter the following custom text key and click the save button: custom.top_five_threads_with_no_replies.title = Threads with no replies 3. The next thing we will want to do is create our custom component: 3a. Go to the Components tab. 3b. Create a new component – name it whatever you like. I called it top-five-threads-with-no-replies. 3c. Add the following markup to the component and click the save button: <#assign message_list_title = text.format("custom.top_five_threads_with_no_replies.title") /> <#assign results_list_size = 5 /> <#assign rest_query = "/search/messages?openresponse=true&sort_by=-topicPostDate&page_size=" + results_list_size /> <div class="lia-panel lia-panel-standard top-five-threads-with-no-replies-wrapper"> <@component id="forums.widget.message-list-panel" title="${message_list_title}" messages="rest_v1:"+rest_query style="wide" numMessages="conv:"+results_list_size /> </div> 4. Next we want to decide where on the community we want to place the new component we have created. In this example we'll place it only on the community page, in the "side-content" section of the page: 4a. Go to the Page tab – the "Community Page" should be selected in the "Page Type" drop-down, but select it if it is not. 4b. In the Components bar on the left, expand "Custom Components" and hover over the component you added, then click the "Add" link to add the component onto the page – the component will appear in the "common-header" section of the page. Hover over your components you just added until you see the 4-directional arrow icon appear then drag and drop the component into the "side-content" section of the page, between the "Admin Links" component and the "Image Moderation" component. 4c. Click the save button at the bottom of the Page tab to save your page changes. 5. Next let's look at our changes so far: 5a. Navigate to the community page. You should see the component on the left. If there are not any threads without one or more replies you will not see a message about there being "no posts to display". You will want to add some threads with no replies at this point. 5b. After you have added some threads with no replies, refresh the community page. You will most likely notice that the content of the component bleeds out of the right column – this is because we passed in "wide" to the "style" parameter of the "forums.widget.message-list-panel" component. This would be fine if we were placing the component on the wider left column of the page, but since we are placing it in the right column, we should change it to "slim". 5c. Go to the Components tab and click on the component you created. 5d. Change the "style" parameter of the "forums.widget.message-list-panel" component to "slim" and save – the markup will look like this now: <#assign message_list_title = text.format("custom.top_five_threads_with_no_replies.title") /> <#assign results_list_size = 5 /> <#assign rest_query = "/search/messages?openresponse=true&sort_by=-topicPostDate&page_size=" + results_list_size /> <div class="lia-panel lia-panel-standard top-five-threads-with-no-replies-wrapper"> <@component id="forums.widget.message-list-panel" title="${message_list_title}" messages="rest_v1:"+rest_query style="slim" numMessages="conv:"+results_list_size /> </div> Example Go to the Code Sample 2 Example Page to see this in action.DougS8 years agoKhoros Oracle1.5KViews13likes20Commentsstring parameters
when you runli-android-sdk-example-master from github,you must be configure strings.xml file . In strings.xml file,you can write some propeties . For example, clientID and clientSecret and communityURL. where are communityURL come from??chailei90058 years agoContributor163Views0likes3CommentsAPI to get Moved Message and the Moved Message Url
Is there any API to tell if a message has been moved (i.e. check if a message is a placeholder message)? I am currently using V2 API query “SELECT * FROM messages WHERE id IN ('one id','other id') and placeholder = true”. But placeholder’s value will be set to true only if I have set the setting “Leave placeholder” while moving a message. So this placeholder = true is not a setting on which I can totally rely on to check if the message is moved message or not. Also, if I select setting “Merge with an existing topic, article, idea, or entry” then a moved message URL is coming into the placeholder but when I hit the API “/restapi/vc/messages/id/[id]/body” then moved message URL is not coming under body content. So how will I get the moved message new URL with the help of REST API.lenovoesupport8 years agoContributor231Views0likes2Comments500 Internal Server Error
Hi I am using a client tool to call the Rest API, this is the URL: "https://api.lithium.com/community/2.0/yutwg2235/search?q=SELECT+*+FROM+messages+WHERE+conversation.style+%3D+'forum'+AND+depth%3D0+order+by+post_time+ASC+limit+2000" I am getting the timeout error if i query more records, I don't get the error if I select a small number of records. 500 Internal Server Error {"status":"Gateway timeout","message":"","statusCode":504} Error on line 1 of document : Premature end of file. Nested exception: Premature end of file. How to fix this error? Regards Shong152Views0likes1Commentexport members Posts and members profile all data
I’ve rights of admin and can access studio, but when I visit Metrics -> User Reports I can export only User information like Username, Email, No of Posts etc but I can’t exports actual posts with their content, and I need to know how can I export all the data associated with member, Like User posts, their comments, Their Profile Image each and everything so I can import them into my WordPress portal, Please help me in this ,shahbaz8 years agoContributor141Views0likes3CommentsChange user settings using the API
Hi! Is it possible to change a user setting (preference) using the API? I want to add a link to our 'success post page' that will disable the preference to show that page without having the user going to their profile and manually disable it. According to the documentation, it's possible to change them, but I don't see a list of settings https://community.lithium.com/t5/Developer-Documentation/bd-p/dev-doc-portal?section=commv1&leaf-id=Settings.name.name.set#Settings.name.name.set When I use this call on the browser on "/restapi/vc/users/id/<<MYUSERID>>/settings/settings" I only get these: <response status="success"> <settings> <setting name="profile.signature" type="string">XXXXXX</setting> <setting name="profile.url_icon" type="string">XXXXXX</setting> <setting name="user.last_visit_date" type="string">XXXXXX</setting> <setting name="user.registration_date" type="string">XXXXXX</setting> </settings> </response> Any suggestions? Thanks!Solvedfuenteso8 years agoLeader321Views0likes6CommentsTwitter Auto Populate based on Author
When I share my post from lithium to another social channel, is it possible to have other users’ names pre-populate when tagging? e.g. I’m trying to share an post written by xxxx Author to Twitter and I want to tag xxxx Twitter handle and have that handle auto-populate. is this support by Lithium. Thanks, Abhishek46Views0likes0CommentsNeed help for In-app integration of Google cloud-messaging for notification/message
Hello, We have developed separate android app for mobile version of a community. We are using "Google cloud-messaging" to push community notification/message to the mobile app. Reference - https://firebase.google.com/docs/cloud-messaging/https://firebase.google.com/docs/cloud-messaging/ Push notification to the app are working in below 2 cases :- 1. when app is running in foreground 1. when app is running in background Consider below scenario :- 1. user A is logged in into Desktop community. 2. user A send message to user B (who is offline) 3. user B logs into mobile app Issue :- Though user B is logged into mobile app now, he does not receive the message/notification which was sent previously (i.e. while user B was offline) Is there any way to handle this scenario? Is there any way Lithium can handle/integrate such push server (in our case for Notes API) so that other third-party applications can get messages/notifications real-time experience? Thanks, Vaishnavivaishnavi8 years agoExpert170Views0likes3CommentsCommunity API V2 LiQL following query returning empty set
I am trying to retrieve the following data using the query returned in the user object. The query is SELECT * FROM users WHERE followers.id = 'XXXXX' where XXXXX is the user ID that is known to be following other users. I can use the API V1 call to verify the user is following one of the other users but the V2 API is returning an empty set. Must I be authenticated as an admin to retrieve the data using the V2 API or is there some other issue causing the empty set? ThanksSolvedwsurguy8 years agoAdept228Views0likes5CommentsCan a variable be used as a Macro parameter?
For example: <#macro repeat count> <#list 1..count as x> <#nested> </#list> </#macro> <#assign boardCount= rest("categories/id/sales/boards/count").value/> <@repeat count={boardCount} > <li class="detail-tile-shim"></li> </@repeat> What is the correct way to achieve this?Solved231Views0likes4Commentsprivate message using REST api ?
Hi all, is it possible to send private message to user using REST api ?Solvedbhn8 years agoContributor416Views0likes4CommentsAdd Search Field from Metrics Tab
Hello, I wanted to know is there a way to find out searches that are prominentin the community, it is from which user else which company is from the user., etc and so on. I did not find your documentation relevant to my findings. Below is the URL for documentation https://community.lithium.com/t5/Admin-Metrics/Run-Community-Admin-User-reports/ta-p/5911 Kindly find the attached document as to what I else the user is looking for to provide a clear picture. Thanks AateshInactive User8 years ago209Views1like7Commentsundefined collection: solutions_data
Hello I am using API browser to execute this LiQL: select * from solutions_data But it returns the following error: { "status" : "error", "message" : "undefined collection: solutions_data", "data" : { "type" : "error_data", "code" : 602, "developer_message" : "", "more_info" : "" }, "metadata" : { } } According to the API V2, https://community.lithium.com/t5/Developer-Documentation/bd-p/dev-doc-portal?section=commv2&collection=solutions_data I can see the description of solutions_data collection, what's wrong? Regards MikeSolvedshong8 years agoAdept282Views0likes7CommentsGet last accepted solution
Is there a way (preferably using V2 API) to get the last accepted solution within the community? I can get all accepted solutions using: SELECT solution_data,is_solution FROM messages WHERE is_solution = true But ORDER BY is not allowed on any column that is returned so I cannot use the time column. Any ideas?SolveddarrenSP8 years agoMentor327Views0likes9CommentsRanks list V1 API call throwing error
Hi, I am trying to call the following API to get the list of ranks in the community /restapi/vc/ranks/list But API call is throwing following error <response status="error"> <error code="306"> <message> A required feature is not configured: user-node-rank. </message> </error> </response> I am confused, what is the feature that I need to configure. Thanks, Srujana Satya Datla.satya8 years agoExpert118Views0likes1CommentSDK li create-project command produces an error
Hi all, I recently learned about the SDK and am quite interested in getting it set up as purely working in Studio has broken me. I followed all the steps required to get node and the Lithium SDK installed and then moved on to creating my project directory using li create-project. After inputting the foldername, staging url (including the https) and SDK token, it goes through the motions and then shows this error (personal info removed): npm WARN lithiumsdk3@ license should be a valid SPDX license expression npm ERR! Darwin 15.6.0 npm ERR! argv "/usr/local/bin/node" "/Users/xxxx/.npm-packages/bin/npm" "install" npm ERR! node v4.4.2 npm ERR! npm v4.0.5 npm ERR! path /Volumes/Git/lithiumsdk3/node_modules/lithium-sdk/node_modules/abbrev npm ERR! code EXDEV npm ERR! errno -18 npm ERR! syscall rename npm ERR! EXDEV: cross-device link not permitted, rename '/Volumes/Git/lithiumsdk3/node_modules/lithium-sdk/node_modules/abbrev' -> '/Volumes/Git/lithiumsdk3/node_modules/abbrev' npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! <https://github.com/npm/npm/issues> npm ERR! Please include the following file with any support request: npm ERR! /Volumes/Git/lithiumsdk3/npm-debug.log [16:53:31] Error while creating lithiumsdk3 I have tried using node 6.x.x and tried downgrading it to 4.x.x to see if it would work but I always get the same result with this error. Has anyone else encountered this? Would really like to get this set up. I can provide the full debug if that is what you would need? Many thanks, Jackjaread838 years agoChampion198Views0likes7CommentsError code 511 - A required query string argument is missing
I am trying to update user custom fields using the community V1 REST API, and I am getting aserver error code -511 Network Authentication Required - when doing a POSt operation over the user. The objectthan contains the custom fields is "settings" so I'm trying thefollowing: ------------------------------------------------------------------------ POST /restapi/v1/users/id/6463/settings/name/custom.field.fiel_name/set?custom.field.fiel_name=SomeValue&restapi.response_format=json&restapi.session_key={sOmEsEsSiOn.} HTTP/1.1 Authorization: BasicsomeAuth Host: community.staging.company.com Content-Length: 0 ------------------------------------------------------------------------ and getting the response: { "response": { "status": "error", "error": { "code": 511, "message": "A required query string argument is missing." } } } After doing a self request, I get the full list ofavailable fields to update. /restapi/v1/users/self/settings { "response": { "status": "success", "settings": { "type": "settings", "href": "\/users\/id\/6463\/settings", "setting": [ ... ] ] Any ideas? Thanks, Ivan.Solved142Views0likes2CommentsUnable to see TKB's and Idea Boards in the Community Structure
Hi, We are unable to see TKB's and Idea Boards in the Community Structure in one of our Demo Instance. Is there any settings need to enable or we need to contact support team to activate it. Thanks, Abhishek Illindra120Views2likes3Comments