Not getting SSO ID using V2 API call
Hi, We are doing V2 API call as shown below using rest client but not getting sso id in results. I am passing client id in header and making get call. I get error if I try to pass client-secret. https://api.stage.lithium.com/community/2.0/tenatid/search?q=SELECT+sso_id,+href+FROM+users+limit 100&api.pretty_print=true Can some one help with the issue. Appreciatethe help. ThanksADS_PSI8 years agoMentor202Views0likes3CommentsGenerate session key from endpoint with SSO configured
Is there any way to generate a session key using login & password if we already have SSO configured for our community? We're hoping to condense a series of API requests from one of our applications using an endpoint, but we can't figure out the session_key logic, and I'm thinking it's not working because we have SSO configured for our community. Alternatively, is there any way to execute a Restrequest without a user being logged in?Solvedgamiller8 years agoAdept349Views1like5CommentsWhat is the timeout for Lithium API Calls
Hi, I wanted to know what is the default timeout for Lithium API calls. Meaning, if I make an API call, how long will the call will be tried before sending an timeout message. Can we configure this? If yes how can we achieve this customization. Thanks!Solved150Views0likes2CommentsIs there any possibility to get Number of discussion board subscriptions added in the previous month
Do we have any api call to get "Number of discussion board subscriptions added in the previous month" in the community? If not, Is there any logicto achievethis with multiple api calls? Thanks, Rahulrapalaku8 years agoGuide133Views3likes1CommentWhere to download LithiumSSOClient from?
As per documentation, you need to "create the SSO token for the Community API user using theLithiumSSOClientclass. Store the token in a variable." Where can I download this Java SDK containing the LithiumSSOClientclass? Is there a Python version for this?oanalihu8 years agoHelper85Views1like2Comments- oanalihu8 years agoHelper188Views0likes2Comments
Getting "IP Comparison Failed." error when trying to login to Lithium
Hello, weare usingLithium in our company, but I am getting an error during the login: IP Comparison Failed. The privileged action you're trying to take (or the privileged session you are trying to use) requires an IP address check, but the IP check failed. Please use the Back button to return to the previous page and try your action again. If you see this error message frequently, you may be using a service provider that sometimes assigns your computer a different IP address. This is true of some dial-up providers, AOL, and some anonymizing proxy services for example. Service providers that frequently change Internet-facing IP addresses do not support this and other privileged actions, and cannot be used for privileged sessions. How to solve this?VBike8 years agoContributor126Views0likes1CommentCan we have pre-defined /admin defined tags and community level pre-defined/admin defined labels?
Hi, In Community Admin, we can only define admin defined labels at Board level, but as per our requirement we want to have community level labels, so how can we do this?? In Community Admin, we cannot see any option for defining admin defined tags, which are not created from posts, so is there any such option or way we can have predefined tags which are not created from the posts creation/edit/replies??? ThanksSolved127Views0likes1CommentRank up PM variable issue
Hi folks. Recently ran into this issue. The last line of the rank up PM is as follows: '<p>Visit your <a href="${rankUser.webUi.url}">profile page</a> to see your rank and other personal stats.</p>' But, instead of showing the profile url, it gives this html. It's like the variable is being seen as pure text: '<a href="${rankUser.webUi.url}" target="_blank" rel="nofollow noopener noreferrer">profile page</a>' Any suggestions?Solved174Views0likes5CommentsCan we have unique identifier as an email-id for an user??
Hi, As per current situation for every user we have, username as an unique identifier that should always be uniqueand also same is used as login id &Email id is an optional field. As per our requirement, 1. Email Id should be unique for every user ( no repetition should be allowed) and should also be used as secondary unique identifier for every users. 2. Also want to use email-id as a login-id. How should it be implemented in community?? What are the optional proposed solutions?? Thanks66Views0likes0CommentsSet SSO ID on already created users.
Hello All, We are migrating users from one system to Lithium. Our Lithium system is SSO based client system. After successfully created users, we want to set their SSO ID. SSO ID's are provided from other SSO based server. Is there any API or way to set SSO ID. Thanks.168Views1like3CommentsCall Update (HTTP PUT) for inbox_note (API V2)
Hello, I would like to do an "call" update for the resource inbox_note (API V2) to update the is_read to true. https://community.lithium.com/t5/Developer-Documentation/bd-p/dev-doc-portal?section=commv2&collection=inbox_notes But how? Thanks & Regards, Anthonyjanin_anthony8 years agoContributor132Views0likes2CommentsIs there any method through which we can add multiple products at a time.
I am getting number of products from an api. I want to add them in products list for@mention functionality. Whenever the products list change which we get through api, those changes must be reflected in products list of Lithium. Thanks, shravanishravani8 years agoGuide116Views0likes3CommentsHow to set meta description tags for article listings, label listings, tag listings pages
Our SEO report shows many thousands of instances of missing meta description tags. Most of these are for pages that list articles in a tkb, by label, or by tag. I don't see any way of adding these to the page, especially meta description tags that are dynamic from the content rather than simply at the node level. For example, these pages have no meta description tags: https://community.jmp.com/t5/Discovery-Summit-Japan-2016/tkb-p/discovery-ja-2016-content https://community.jmp.com/t5/forums/tagdetailpage/tag-cloud-grouping/message/tag-cloud-style/frequent/message-scope/core-node/board-id/academic-tkb/user-scope/all/tag-scope/single/tag-id/1/timerange/all/tag-visibility-scope/public https://community.jmp.com/t5/Mastering-JMP/tkb-p/mastering-jmp/label-name/modeling?labels=scripting https://community.jmp.com/t5/forums/tagdetailpage/tag-cloud-grouping/user/tag-cloud-style/frequent/message-scope/core-node/board-id/us-gov-jug-tkb/user-scope/all/tag-scope/single/tag-id/334/timerange/all/tag-visibility-scope/public How can I fix this? Thanks,SuzieHand friends.Inactive User8 years ago142Views1like1CommentLoad Blog Article Within Page, Within Componenet
Hi everyone! 2 questions: Is this function below actually possible in a lithium component? (this works on a pure HTML custom category page on lithium) Is there a better way to load articles within the same page? (so users don't need to click back, and read a board of articles) Context: I'm trying to load blog articles within a page, within a component. The article nav bar (vertical) would be on the left, and article page on the right. Trying to create an FAQ list (left Nav bar), that loads FAQ articles (right, page content) My Nav bar is this, where I do a REST api call for article titles,<#assign blog = rest("boards/id/videos/topics").node_message_context /> <ul> <#list blog.message as article> <li class="articlelinks"> <button id="${article.@view_href}">${article.subject}</button></li> </#list> </ul> The script that I have in the component is this, when I click a button, it loads the blog content to "div1". Using ".load" <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> $(document).ready(function(){ $('button').click(function(){ var blogurl = $(this).attr('id') $("#div1").load(blogurl +" .lia-component-body"); }); }); But it doesn't load the blog content. You can see the ".load(blogurl +" .lia-component-body", I am trying to grab only the article content part (not the title, or the Kudos, or comment section) To recap: Is this function actually possible in a lithium component? (this works on a pure HTML custom category page on lithium) Is there a better way to load articles within the same page? (so users don't need to click back, and read a board of articles) Really appreciate any input!89Views0likes1CommentImport RSS Feed
I've created a component and I would like to retrieve the data (example: blogs content) from my company website and display it in the component. How would I do this with API? How can I import RSS feed from another website to our community in Lithium?Solvedskylinegtr8 years agoMentor414Views0likes6CommentsIs it possible to keep "Override Skin CSS URL" enabled after running 'li submit-plugin'?
When I run 'li submit plugin', the option to "Override Skin CSS URL" within Studio becomes deselected. Is there a flag or configuration to allow this option to stay enabled when submitting the plugin via the SDK? ThanksSolved120Views0likes1CommentLiQL question about selecting from ancestor category
Hello I'm trying to select the top 5 TKB articles with a specific label, but only within our Japan Category not our English category. I'm not sure how to include the ancestor_categories.id field when pulling from the messages table, and I don't believe the way I'm doing it below is correct. SELECT subject, view_href FROM messages WHERE labels.text='example' AND conversation.style='tkb' AND conversation.featured = false AND ancestor_categories.id = 'Japan' ORDER BY metrics.views DESC LIMIT 5" /> Can anyone help out? Appreciate any quick responses our suggestions!Solvedhlio8 years agoMentor230Views0likes2CommentsTKB Article Navigator: is there such a component? I can't find it.
There's a<component id="message-pager"/> and a <component id="article-navigator"/> but I'm unable to find something similar for the tkb. Is there a ootb component for that? if not, why not? Seems like a pretty basic thing... Probably I'm just looking in the wrong place. Here's one from the forums(article-navigator). Anyone?Inactive User8 years ago107Views0likes1CommentUpload Image to Album on behalf of user through API
Hi, We are trying to upload an image into user album on behalf of the user through API call.Following is the API call we have used: "/restapi/vc/users/login/[login] /media/albums/default/public/images/upload" But it is throwing following error: {"response":{"status":"error","error":{"code":303,"message":"User *ID* does not have the following permission(s) at *Domain* [ ]"}}} We called this API with admin user session key. Appreciate your help on this. Thanks Srujana Satya Datla.satya8 years agoExpert212Views1like4Commentswhat is the format of badge.activation_date in lithium bulk data API
Hi, As per lithium bulk data API docshttps://community.lithium.com/t5/Developer-Documentation/bd-p/dev-doc-portal?section=bulkdata#exportReferencethe event.time.ms is Unix timestamp so it must be in UTC. I am not sure about the badge.activation_date the sample suggests this as UNIX timestamp. Can anyone/expertsplease confirm that badge.activation_date is UNIX timestamp? Thanks, Vaishnavivaishnavi8 years agoExpert82Views0likes1CommentUser authentication failed when using API session key authentication
Hey folks, trying to use the API Session Keys, providing username and password and getting the authentication failed message. I have validated the username and password by copying and pasting the text into the login on the community site. I have also validated the user I'm trying to log in from hasMake REST API calls with read access andMake REST API calls with modify accessgranted. Any thing else I am missing?npiette8 years agoHelper151Views0likes1Commentposts count of last 7 days
Hello everybody! I'm trying to write a custom component to get the count of threads posted within the last 7 days or so using APIv2. Here's what i did! <#assign today = .now?long /> <#assign minus7days= today - (1000 * 24 * 60 * 60 * 7) /> <#assignsince7days= aWeekBack?string["yyyy-MM-dd"] + "T00:00:00-00:01" /> <#local query = "SELECT count(*) FROM messages WHERE depth = 0 AND post_time > " + since7days/> This doesn't return the right count. Can someone pls help me with the right approach? BestSolvedInactive User8 years ago267Views0likes3CommentsAngular question
Hi, I've created an Angular component on Lithium Blog Article pages and when I do this, other Lithium Angular features such as the photo gallery and the Profile Menu are not working. Please advise. <div id="smartlingArticle" ng-app="smartlingArticleApp" ng-controller="SmartlingArticleController as SmartlingArticleController"> </div> var smartlingArticleApp = angular.module('smartlingArticleApp', ['li.community']);Solved241Views0likes2CommentsUsing API V1 to get the most popular topics in the last 6 months
Hi, I use the following code to retrieve the most viewed Threads in our community: <#assign popularPostResult = rest("/categories/id/${categoryId}/search/messages?q=is_root:true&sort_by=-views&restapi.response_style=view&page_size=1000&page=1").messages.message /> The results are sorted by most viewed. How do I get the most viewed threads for only the last 6 Months? If you have any links to documentation it would be great as well. Regards KallieKallie8 years agoGuide122Views1like1CommentGet most viewed messages in last two weeks from a board
Is there a way to get messages ordered by most viewed in a specific time period? I would like to get most viewed messages in the last two weeks from a board. I am using API v2. edit: To be clear I want to limit message view countto a certain time period.Solved387Views1like9CommentsCreate user in Lithium without username
Hi, We are using a SSO system where in we do not have username. So few things needs to be cleared which are as follow. We found documentation in Lithium regarding SSO: https://community.lithium.com/t5/Single-Sign-On-SSO/How-does-auto-signin-work/ta-p/41030 In this link, it says it needsuniqueIDparameter,login(display name) parameter,emailparameter for user creation. We also have a point as below: If your system is not currently capturing a display name or profile name for the community user, Lithium can configure your community to direct users to a profile set-up page where the user will create a login (display name). However, you still need to pass any character (for example, a single space) in theloginparameter. Lithium will then ignore this value since the user will be asked to choose a login. Ask yourLaunch success Customer Management to set this up for you. We need to know more about the above point. We also need to understand the exact flow of this and update the username once user is auto-logged in without username in Lithium Thanks!106Views0likes1CommentAny workaround for Custom Content 50,000 Character Limit
I've made a purely HTML menu for the moment, However the entire code (plus CSS plus scripts) is over 50,000 characters, is there any other component, or custom html box I can input my code into without having this restriction?Solved174Views0likes2Comments@mention like Feature to be used
Hi, As we have@mention feature in our RTE to mention the user in Lithium, similarly we have a list of products that are coming from an external API. Now the client needs a feature where in the list of products should pop-up in the RTE, same as it comes for the users.. Is this possible, if yes, is it a custom feature for which Lithium can do the changes? Could you please provide some details about the same? ThanksSolved102Views0likes1CommentDynamic navigation menu and next steps
I'm trying to create a dynamic menu based on categories. The categories will serve as main topics, which you can then click into to show the blog articles. First step, I know I need to use a REST api to call out the categories. I'm using the one below: <assign# topics= rest("/categories/id/blog_topics/boards").messages /> Can someone explain to me what the .messages does? Or if I change to .title? - After this, I'm trying to get the categories title to display as links. Doing something like the below <a href=“${category.message.@href}”> ${category.message.subject}</a> This was an example I grabbed from here This is the one I'm trying to semi-follow but can't seem to make it possible for my community. https://community.lithium.com/t5/Developer-Discussion/How-To-Create-a-Category-Based-Navigation-Like-Lithosphere/m-p/34261 And direction/tips would be great !Solved278Views0likes5CommentsCreate RECENT, most POPULAR Discussion Component Based on landing page category board
Hi everyone! I'm still a bit new to creating components on Lithium and would really appreciate some pointers. I'm trying to create a "Most popular Topics" component that depend on these factors: How recent each topic was (was it posted within this wee?) Total number of discussions taking place during specified time frame (the number of comments received during the one week period) Incoming the board that the current post is in (eg, if I googled, how to create landing pages, and it took me to an article in Lithium, I'd like to know what parent board is. So I an create this component... Since dont' we have to call articles based on which board they are in?) The board "ID" would need to be dynamic then right? Since I would not know which article board the landing page article is hosted on. Would anyone happen to know how to create something like this? and if so, perhaps leave a few line of code as practical examples. Thank you!181Views1like3CommentsCreate a message with an attachment using the Community API
I have HTML content in the message body. When I sent a message over API, I'm getting below error. Your post has been changed because invalid HTML was found in the message body. The invalid HTML has been removed. Please review the message and send the message when you are satisfied. How to use HTML content in themessage body. Is there any specific header required to use HTML body?Solved252Views0likes3CommentsRecreation of same user after deleting/removing it?
Hi, We are working on the stage instance, as per our requirement we have some migrated users but we want to completely delete/remove those users and want to remigrate the users which have same usernames as well as same user details, so how can we accomplish this?? Is there a way we can do this? Can we do something like this, after deleting an user, create a new user with the same previously deleted user details(username, name, email id, etc..)? Please respond as early as possible.319Views0likes10CommentsDeveloper IDE Simulator Not Working?
I am trying to start writing my own SmartApps and started just using the basic example tutorial but I cannot get the IDE Simulator working in order to test the apps. For example; I'll click to set a switch active and neither the log generation or state of the test light will change. I notice that the API is specific to EU/UK so I'm wondering if this is something else that is broken in the UK or is it just me? - have tried in IE and Chromethomas90598 years agoContributor159Views0likes2CommentsAPI for unanswered topics
Hello, Is there an API call that can provide all unanswered topics in a community? Thanks, ThomasSolvedtkearsley8 years agoMaven281Views0likes3CommentsParam to get more results in RSS feed
I just stumbled on a way to get an RSS feed of a tag but am unable to get more than 20 results. Is there some useful RSS feed documentation lurking somewhere in these forums? Here's an exampleURL: >> https://community.lithium.com/lithosphere/rss/search?q=tags:tag I've tried adding: &page_size=100 &limit=100 etc... Nothing seems to have an effect.f Separately, this RSS URL only seems to work for tags without spaces.. if anyone has ideas on that it would be greatly appreciated.Solvedttadej8 years agoAdvisor170Views0likes4CommentsAPI to fetch all the images which are uploaded by the users including users that are not having...
Do we have any API to fetch all the images which are uploaded by the users including users that are not having upload image permission through Admin? Such users (not having upload permission) are able to provide image URL and these images are visible in OOTB components.We have a custom component in which we need to show all the images uploaded including the ones that he/she can upload using URL too. Hence we need such API which retrieves all the images uploaded by the user. Regards, shravanishravani8 years agoGuide271Views0likes8CommentsFew clarifications needed in responsive
Hi, When lithium enables responsive in stage current OOB quilts and components will be upgraded to fit responsive. will this responsive upgrade blocks the self-studio publish? What is the best option to push some kind of p1 fix to production (non-responsive) during the responsive development/validationin a stage without disturbing the current production quilts and components? Any help is greatly appreciated. Thanks!phani8 years agoAdvisor115Views0likes1CommentWay to subscribe/syndicate content based on tags?
Hi all -- Wondering if there's an easy way to produce an RSS feed based on a specific tag (or set of tags) and/or if there is an ActiveCast option that is based on tags? (Or is this something that's planned in the future?) Thanks!caryn8 years agoExpert175Views0likes2CommentsContext object for name of 'mover' in immediate_general email template
In the 'immediate_general' email template, I'm looking for the context object for the user who moves a post. So if$notification.moved then I need to get the username of the user who moved the message. I've tried the following without luck: $actorLogin $notification.message.actor.login $notification.actor.login $notification.message.lastEditUser.login The reason_box template simply uses $actorLogin. This current documentation for the Velocity email templates does not cover this topic (among many others):https://community.lithium.com/t5/Developer-Knowledge-Base/Email-template-context-objects/ta-p/75924ttadej8 years agoAdvisor172Views1like4CommentsList of users awarded a specific badge via API
Hi, Is there a way to obtain a list of users who have been awarded a specific badge via API. I see an API that fetches all the badges a user has earned but not vice-versa. Any help is greatly appreciated. Thanks!srujanayeruvaka8 years agoChampion158Views0likes2CommentsQueries related to session key
Hi, I would like to know the following things regarding Lithium session key. What is standard timeout for a session key? Is it configurable? What is defaultconfigured value for any community? What is recommended way to use session key inLithium community? Do I need to generate it per API call or can I reuse it? Can I keep session key in cache? Is there any API for validation of the session key? Thanks!Solved198Views1like1CommentHow to reply to a message via Community Api V2
Hi I need to post a reply on existing message usingCommunity Api V2. I am using below service - https://api.lithium.com/community/2.0/<tenant_id>/messages/<message_id>/ Headers - client-id: <clientID> Authorization:Bearer<valid Token> Body - { "data": { "type": "message", "subject": "hello world", "body": "this is a message post.", "parent" : <message_id> } } Getting success as aresponse but its not showing in the Message trail. Can you please suggestthe valid parameters for the same.UpakulB8 years agoContributor304Views0likes8Comments