Resolve ancestor path to names
Dear Community In my Bulk API response I get the field "node.ancestor_path" which looks for example like "/1/2/176/177/244/". I tried to use Community API to get the nodes for the path, however, I didn't succeed. I tried "SELECT * FROM node" and "SELECT * FROM boards" but I couldn't find any ID or field which seems to fit and resolves the path to a more meaningful name. What do I do wrong? How can I get the names?SolvedTroji7 years agoGuide259Views1like4CommentsInvalidReferenceException Error in the Studio's Custom component
Hi, I got custom authors component from the predesessors wich started to show followin error message in the Studio - Components - Preview interface: Freemarker template 'preview' processing failed: InvalidReferenceException:The following has evaluated to null or missing: ==> env.context.message [in template "preview" at line 1, column 6] What can I do fix the error? Code of the custom component: <#if env.context.message.uniqueId gt 0> <#assign messageAuthorId = rest("/messages/id/${env.context.message.uniqueId}/author").user.id /> <#assign messageAuthorLogin = rest("/messages/id/${env.context.message.uniqueId}/author").user.login /> <#assign badges = rest("/users/id/${messageAuthorId}/badges") /> <#assign badgesCount = badges.user_badges.user_badge?size /> <#assign avatarUrl = rest("/users/id/${messageAuthorId}/profiles/avatar/url").value /> <#assign kudosCount = rest("/users/id/${messageAuthorId}/kudos/received/count").value /> <#assign postCount = rest("/users/id/${messageAuthorId}/posts/count").value /> <#assign blogCount = rest("/users/id/${messageAuthorId}/posts/style/blog/count").value /> <#assign solutionCount = rest("/users/id/${messageAuthorId}/solutions/received/count").value /> <#assign rankingName = rest("users/id/${messageAuthorId}/ranking/name").value /> <#assign profileUrl = "/t5/user/viewprofilepage/user-id/${messageAuthorId}" /> <#assign profileLocation = restadmin("/users/id/${messageAuthorId}/profiles/name/location").value /> <#assign profileIP = restadmin("/users/id/${messageAuthorId}/settings/name/user.last_visit_ipaddress").value /> <#assign regDate = restadmin("/users/id/${messageAuthorId}/registration_time?restapi.response_style=view").value?datetime("yyyy-MM-dd'T'hh:mm:ss")?string("dd.MM.yyyy") /> <#assign loginBoldness = restadmin("/users/id/${messageAuthorId}/ranking/display/bold").value?boolean /> <#assign loginColor = restadmin("/users/id/${messageAuthorId}/ranking/display/color").value /> <#assign loginColorClass = "color: #"+loginColor /> <#attempt> <#assign checkLeftIcon = restadmin("/users/id/${messageAuthorId}/ranking/display/left_image/url")> <#assign leftIcon = restadmin("/users/id/${messageAuthorId}/ranking/display/left_image/url").value > <#recover><#assign leftIcon = ""></#attempt> <#attempt> <#assign checkLightIcon =restadmin("/users/id/${messageAuthorId}/ranking/display/right_image/url")> <#assign rightIcon = restadmin("/users/id/${messageAuthorId}/ranking/display/right_image/url").value > <#recover><#assign rightIcon = ""></#attempt> <style> ul.badges_mini li a img { height: 30px; float: left; } table.stat_width { width: 98%; } td.stat_align { text-align: right; } </style> <#if settings.name.get("profile.language") == "uk" > <div class="lia-message-author lia-component-author"> <div class="lia-message-author-username"> <span class="UserName lia-user-name lia-user-rank------"> <#if leftIcon?has_content> <img class="lia-user-rank-icon lia-user-rank-icon-left" title="${rankingName}" alt="${rankingName}" id="display_15" src="${leftIcon}"> <#else> </#if> <a class="lia-link-navigation lia-page-link lia-user-name-link" style="${loginColorClass}" target="_self" id="link_18" href="${profileUrl}"> <#if loginBoldness == true> <span><b>${messageAuthorLogin}</b></span> <#else> <span>${messageAuthorLogin}</span> </#if> </a> <#if rightIcon?has_content> <img class="lia-user-rank-icon lia-user-rank-icon-right" title="${rankingName}" alt="${rankingName}" id="display_10" src="${rightIcon}"> <#else> </#if> </span> </div> <div class="lia-message-author-rank"> ${rankingName} </div> <div class="lia-message-author-avatar"> <div class="UserAvatar lia-user-avatar lia-component-common-widget-user-avatar"> <a class="UserAvatar lia-link-navigation" tabindex="-1" target="_self" id="link_1_4" href="${profileUrl}"> <img class="lia-user-avatar-message" title="${rankingName}" alt="${rankingName}" id="display_5" src="${avatarUrl}"> </a> </div> </div> <div class="lia-message-author-post-count"> <table class="stat_width"><tr><td>Повідомлень:</td><td class="stat_align">${postCount}</td></tr></table> </div> <div class="lia-message-author-kudos-count"> <table class="stat_width"><tr><td>ДЯКів:</td><td class="stat_align">${kudosCount}</td></tr></table> </div> <div class="lia-message-author-solution-count"> <table class="stat_width"><tr><td>Рішень:</td><td class="stat_align">${solutionCount}</td></tr></table> </div> <div class="lia-message-author-kudos-count"> <table class="stat_width"><tr><td>Повідомлень у блогах:</td><td class="stat_align">${blogCount}</td></tr></table> </div> <div class="lia-message-author-badges"> <table class="stat_width"><tr><td>Бейджів:</td><td style="text-align:right;"><a href="/t5/badges/userbadgespage/user-id/${messageAuthorId}/page/1" style="font-size: 13px;" title="Переглянути всі">${badgesCount}</a></td></tr></table> <ul class="badges_mini"> <#attempt> <#if badges?has_content> <#attempt> <#attempt> <#list 0..5 as i> <#if (badges.user_badges.user_badge[i]??)> <li><a href="/t5/badges/userbadgespage/user-id/${messageAuthorId}/page/1" title="${badges.user_badges.user_badge[i].badge.title}"><img src="${badges.user_badges.user_badge[i].badge.icon_url}" title="${badges.user_badges.user_badge[i].badge.title}" /></a></li> </#if> </#list> <#recover> badge loops failed </#attempt> <#recover> badge logic failed </#attempt> <#else> <li class="noBadges">Не має бейджів :(</li> </#if> <#recover> badge query failed </#attempt> </ul> </div> <div style="clear: both;"></div> <div class="lia-message-author-location"> <#if profileLocation!?length != 0> <table class="stat_width"><tr><td>Місто:</td><td class="stat_align">${profileLocation}</td></tr></table> <#else> </#if> </div> <div class="lia-message-author-registered-date"> <table class="stat_width"><tr><td>В клубі з</td><td class="stat_align">${regDate}</td></tr></table> </div> <#if user.registered > <#list restadmin("/authentication/sessions/current/user/roles").roles.role as role> <#if role.name?? && ((role.name == "Administrator") || (role.name == "Analytics") || (role.name == "Moderator") || (role.name == "Lithium"))> <div class="lia-message-author-ipaddress"> <table class="stat_width"><tr><td>IP-адреса:</td><td class="stat_align">${profileIP}</td></tr></table> </div> </#if> </#list> <div> <span class="send-msg"></br> <img src="/html/assets/mail.png" style="top:2px;" /> <a href="/t5/notes/privatenotespage/tab/compose/note-to-user-id/${messageAuthorId}" style="font-size: 13px;" title="Надіслати приватне повідомлення">Надіслати ПП</a> </span> </div> </#if> </div> <#else> <div class="lia-message-author lia-component-author"> <div class="lia-message-author-username"> <span class="UserName lia-user-name lia-user-rank------"> <#if leftIcon?has_content> <img class="lia-user-rank-icon lia-user-rank-icon-left" title="${rankingName}" alt="${rankingName}" id="display_15" src="${leftIcon}"> <#else> </#if> <a class="lia-link-navigation lia-page-link lia-user-name-link" style="${loginColorClass}" target="_self" id="link_18" href="${profileUrl}"> <#if loginBoldness == true> <span><b>${messageAuthorLogin}</b></span> <#else> <span>${messageAuthorLogin}</span> </#if> </a> <#if rightIcon?has_content> <img class="lia-user-rank-icon lia-user-rank-icon-right" title="${rankingName}" alt="${rankingName}" id="display_10" src="${rightIcon}"> <#else> </#if> </span> </div> <div class="lia-message-author-rank"> ${rankingName} </div> <div class="lia-message-author-avatar"> <div class="UserAvatar lia-user-avatar lia-component-common-widget-user-avatar"> <a class="UserAvatar lia-link-navigation" tabindex="-1" target="_self" id="link_1_4" href="${profileUrl}"> <img class="lia-user-avatar-message" title="${rankingName}" alt="${rankingName}" id="display_5" src="${avatarUrl}"> </a> </div> </div> <div class="lia-message-author-post-count"> <table class="stat_width"><tr><td>Сообщений:</td><td class="stat_align">${postCount}</td></tr></table> </div> <div class="lia-message-author-kudos-count"> <table class="stat_width"><tr><td>ДЯКов:</td><td class="stat_align">${kudosCount}</td></tr></table> </div> <div class="lia-message-author-solution-count"> <table class="stat_width"><tr><td>Решений:</td><td class="stat_align">${solutionCount}</td></tr></table> </div> <div class="lia-message-author-kudos-count"> <table class="stat_width"><tr><td>Сообщений в блогах:</td><td class="stat_align">${blogCount}</td></tr></table> </div> <div class="lia-message-author-badges"> <table class="stat_width"><tr><td>Бейджей:</td><td class="stat_align"><a href="/t5/badges/userbadgespage/user-id/${messageAuthorId}/page/1" style="font-size: 13px;" title="Посмотреть все">${badgesCount}</a></td></tr></table> <ul class="badges_mini clearboth"> <#attempt> <#if badges?has_content> <#attempt> <#attempt> <#list 0..5 as i> <#if (badges.user_badges.user_badge[i]??)> <li><a href="/t5/badges/userbadgespage/user-id/${messageAuthorId}/page/1" title="${badges.user_badges.user_badge[i].badge.title}"><img src="${badges.user_badges.user_badge[i].badge.icon_url}" title="${badges.user_badges.user_badge[i].badge.title}" /></a></li> </#if> </#list> <#recover> badge loops failed </#attempt> <#recover> badge logic failed </#attempt> <#else> <li class="noBadges">Нет бейджей</li> </#if> <#recover> badge query failed </#attempt> </ul> </div> <div style="clear: both;"></div> <div class="lia-message-author-location"> <#if profileLocation!?length != 0><table class="stat_width"><tr><td>Город:</td><td class="stat_align">${profileLocation}</td></tr></table><#else></#if> </div> <div class="lia-message-author-registered-date"> <table class="stat_width"><tr><td>В Клубе с</td><td class="stat_align">${regDate}</td></tr></table> </div> <#if user.registered > <#list restadmin("/authentication/sessions/current/user/roles").roles.role as role> <#if role.name?? && ((role.name == "Administrator") || (role.name == "Analytics") || (role.name == "Moderator") || (role.name == "Lithium"))> <div class="lia-message-author-ipaddress"> <span class="UserIpAddress"> <table class="stat_width"><tr><td>IP-адрес:</td><td class="stat_align">${profileIP}</td></tr></table> </span> </div> </#if> </#list> <div> <span class="send-msg"></br> <img src="/html/assets/mail.png" style="top:2px;"/> <a href="/t5/notes/privatenotespage/tab/compose/note-to-user-id/${messageAuthorId}" style="font-size: 13px;" title="Отправить личное сообщение">Отправить ЛС</a> </span> </div> </#if> </div> </#if> <#else> </#if>SolvedMyko_P7 years agoExpert180Views0likes2CommentsRetrieve data from JSON
I am trying to retrieve the values from JSON coming from a third-party script. Below is the JSON sample { "isSuccess": true, "result": [ { "id": "3fd45eda-6bbd-e711-8124-e0071b710a01", "appName": "Select*IP \ufffd Reconcile", "isPublished": false, "categoryList": [ { "categoryTitle": "Admin/IT", "id": "ee5aa279-6bbd-e711-8124-e0071b710a01" }] } ] } I am playing around the ?eval but it throws an error. Syntax error in ?eval-ed string in line 6, column 36: Lexical error: encountered "u" (117), after "\"Select*IP \\". ---end-message--- Is there any way to escape such Unicode("\ufffd" it may change also)to get the value ofappName without replacing the keywords.72Views0likes0Comments'...view more' option on Idea Exchange Page, functionality understanding.
Hi All, [TariqHussain] I wanted know one thing about view more options, As of now what i understand as a default functionality of '...view more' is, when we click on it, it takes us to new page, the idea page of that particular idea. But we want the full body of that idea to be displayed on the idea exchange page it self inside the same idea only? As i have seen this functionality on other communities so whether it is OOTB functionality which can be configured through Community Admin or it's a custom functionality? How can we achieve this functionality? Thanks168Views0likes5Commentshow to obtain accepted solution views for a particular duraion(month)
Hi, I have tried using custom logic to get all viewsof message which are solution , but the problem is api dosn't accpet date range parameter. api's tried :vc/users/id/12/messages/posts then taking individual id's and checking if it is solution and if it is a solution adding the views. These views are message views (i.e from post time) and not between a duration range. please provide inputs for this. thanks.178Views0likes5CommentsCommunity API v1 vs v2: Performance comparison
Currently working on moving our components to responsive we founda lot of custom components in our inventory still using sprinkles of v1. There's a comparison on when to use community API v1 vs v2 here: https://community.lithium.com/t5/Developer-Documentation/bd-p/dev-doc-portal?section=communityconcepts#v1v2 But what about the performance (=processing time) aspect? Is it worth convertingcustom components with lines like <#assign dateRegistered = rest("/users/id/${page.context.user.id}/registration_time").value /> <#assign totalPosted = rest("/users/id/${page.context.user.id}/posts/count").value /> <#assign kudosReceived = rest("/users/id/${page.context.user.id}/kudos/received/count").value /> ...into v2 code?Would it reduce server load and in sum make the community experience inmilliseconds more responsive (as in "responding quicker"?226Views3likes4CommentsHow to display recent post page as component?
Hi, I want to create the recent post page (t5/forums/recentpostspage/post-type/thread) latest topic as page component, and thatcomponent planning to include in certain page. As i saw certain pages used likeforums.widget.unanswered-topics-taplet in component. So i tried the same way to use in the component forums.widget.message-list for this latest topic. But i got error like "Freemarker template 'custom-hero-content processing failed". So please guide me, how to get include the page into a component.jaikumar17 years agoMentor128Views0likes2Comments17.9 breaks many sites - ${coreNode.nodeType}
Hi Lithium, I think 17.9 changed the behaviour of the coreNode built-in object, the below API always returns "board" even if you are in blog, contest and other type of boards. ChhamaJSuzieH Any ideas? Sites with customisations are now broken. Peter nodeType Returns the type of the core node, such as community, category, board, blog, and so on. ${coreNode.nodeType}Solvedpeterlu7 years agoChampion208Views1like4CommentsREST API v2 Multiple Posts with the Same Depth Value
Hi Community, I am working with the REST API V2 messages tables and keep getting instances where a two posts (different post ids) on the same topic have the same depth. Example: TopicID = 000000 PostID = 111111 Depth = 1 TopicID = 000000 PostID= 222222 Depth = 1 Is this an actual possible scenario? My understanding was that Depth was a unique value for each topic, thus there could be no repeating values. Any ideas? Thanks, KateSolvedkhill7 years agoMentor211Views0likes4Comments'...View More' option shown for every Idea on Idea Exchange Page not working?
Hi all, We had some different layout requirements for 'Idea Message Item' quilt, shown on Idea Exchange Page therefore we had created the custom layout and arranged the OOTB components accordingly for'Idea Message Item' quilt. Now the problem is everything is working correctly but '... view more' shown for every idea is not a hyperlink, which it should be. So what can be the reason or how can we solve it? Is there any attribute option that has to be passed in XML file for the component inside the quilt of'Idea Message Item'? ThanksSolved151Views0likes3Commentscode snippet for social meta tags (open graph and twitter)
Hi All, I am thinking sharing these codes that I have been using for ages. I hope it can help someone. <#if page.name == "CommunityPage"> <meta property="og:title" content="${coreNode.title?html}"/> <meta property="og:description" content="Making it easier to join the conversation, get help, and share your thoughts."/> <#elseif page.name == "ForumTopicPage"> <meta property="og:title" content="${page.context.thread.topicMessage.subject?html} - ${community.title?html}"/> <meta property="og:description" content="I found this useful post on XXX Forum"/> </#if> <meta property="og:image" content="${asset.get("/html/assets/community-icon.png")}"/> <meta property="og:site_name" content="${community.title?html}"/> <meta property="og:type" content="website"/> <meta name="twitter:card" content="summary"/> <meta name="twitter:image" content="${asset.get("/html/assets/community-icon.png")}"/>Solvedpeterlu7 years agoChampion516Views4likes5Comments[Bug] REST API v1 /topics calls return wrong count
I recently ran into issues when trying to build a custom pagination component that was sometimes trying to get the total amount of topics/threads via /threads and other times via /topics, the results were inconsistent. After some digging it seems, that all /topics calls for REST API v1 return a wrong count for the total amount of threads/topics. In the example that follows, the correct count is 17, but /topics or /topics/count both return 18. this is a call to /topics on a tkb board node, obviously the total amount of messages/topics is 17 (as seen in the "messages": [] property of the response,nonetheless the "count" property of the response says 18, a call to /topics/count returns 18 as well. This is a call to /threads on the same node (any url params are exactly the same!): as can be seen there is a) no "count" returned, which is inconsistent BTW =) and b) the "thread": [] property holds again 17 items, a call to /threads/count also returns 17 When doing the same via API v2 the correct count/size of items is returned as well: 17 I'm not sure how long this is an issue, anybody had the same issue? Or maybeDougSknows about that or even has a good explanation why this is?luk7 years agoBoss169Views0likes5Comments- 296Views0likes6Comments
How to find REST api result sets
Hi, I need to display latest topic with number of views, kudos, replies and ratings in the custom component. I just checked and found an API rest("threads/recent?restapi.response_style=view&page_size=6"). So here i have a doubt, 1) How can i find the result set with respective of api return? 2) Where i can get to know the list of existing REST api?Solvedjaikumar17 years agoMentor157Views0likes2CommentsSearch API for meta data (not moderation custom tag)
Hi All, We know that there is a API v1 to get/set/reset the meta data /messages/id/${messageId}/metadata/key/${metakey}/(get/set/reset) reset = delete the metakey We try to do a search api query (/search/messages/...) that will match keywords from post subject title and also the posts need to have that metakey (or even better to match a certain value of the metakey) Is this possible? Any API example? I think meta database is set up differently, it may not be optimised for a search query? Or do we need to ask Lithium Support to help set it up? Anyone has done that before? Thanks PeterSolvedpeterlu7 years agoChampion251Views0likes5Commentsupgrade to 17.9 breaks many sites
Hi Lithium, We recently noticed that there are some API v2 changes that caused many sites to stop functioning. eg. where conversation.featured = false is not supported any more eg. some LIMIT and OFFSET changes? and more? Can we see some doc or change log somewhere to see what are actually changed? Peter Peterpeterlu7 years agoChampion132Views0likes2Comments[SDK] Error while creating a project
When running the command of 'li create-project' for creating a local repository and to connect to our development site (15.10), I'm getting this error: Invalid response from server. Check your server url and version. /usr/local/lib/node_modules/lithium-sdk/lib/version-check.js:77 throw error; ^ Error: Invalid response from server. Check your server url and version. at parseResponse (/usr/local/lib/node_modules/lithium-sdk/lib/version-check.js:94:13) at Request._callback (/usr/local/lib/node_modules/lithium-sdk/lib/version-check.js:31:17) at Request.self.callback (/usr/local/lib/node_modules/lithium-sdk/node_modules/request/request.js:199:22) at emitTwo (events.js:87:13) at Request.emit (events.js:172:7) at Request.<anonymous> (/usr/local/lib/node_modules/lithium-sdk/node_modules/request/request.js:1160:14) at emitOne (events.js:82:20) at Request.emit (events.js:169:7) at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/lithium-sdk/node_modules/request/request.js:1111:12) at emitNone (events.js:72:20) Interestingly enough, this happens on the same computers (Mac and Windows 10) from where I can connect and export pluginsfromour stage instance without problems now. I'm running the version 1.0.0 of the SDK, node v.4.2.1 and npm v.2.14.7 I have createdan upload token and am using that when running the create-project command.miikka7 years agoMaven815Views0likes26CommentsAPI call for getting the count of authored solutions per a specific board?
Looking to see if it's possible to look up one person's authored solutions within the context of one board, not the whole community. Something like: search?q=SELECT solutions_authored.count(*) FROM users WHERE id = 'XXXX' AND boards WHERE id = 'board-name' This is obviously throwing back an error. Thanks!Solved139Views0likes1CommentAdd Ratings Widget to TKB
We are interested in embedding the following ratings widget in a tkb article that we will use to post training videos we have created. The idea is to give members a quick and easy way to rate the videos they watch. http://rating-widget.com/get/rating/javascript/#editor Does anybody know whether this is possible? Thanks! Ericekorsgaard7 years agoAdvisor116Views1like2CommentsNeed clarity on implementation of footer in multiple languages
Hello, Below is the URL of our PROD community. https://forums.lenovo.com This community supports 4 languages other than English. It has footer implemented inside wrapper. When I select different language, my community/page content getting translated into selected language except footer. I want this footer to besupported bymultiple languages. can I get more clarity on implementation of the footer in multiple languages? Thanks, ShubhangiSolvedsmalvankar7 years agoContributor108Views0likes1CommentFeature Alert
Hi! I am a UXer and I'm creating new features which aren't very in your facevisible, but none the less important for navigation. Is there any way you can set up alerts for the users when new features are added? Ie a small popup or similar when they first log in post launch. THank you Marianne :)Marianne807 years agoMentor85Views0likes1CommentFirefox label columns not working
I'm trying to layout the list of labels on a given forum using the following CSS. Works fine in Chrome and IE (there are 3 columns in IE).. but a single column list in Firefox.... .any ideas about how to get it to work in FF? .lia-component-labels-widget-labels-list { .BlogLabelsTaplet { ul.lia-list-standard { -moz-column-count: 4; -webkit-column-count: 4; column-count: 4; .label { width: calc(25% - 10px); width: 100%; } } } }jjeremiah7 years agoExpert133Views0likes3CommentsFont asset url encode ?
We bought new font from some vendor. We uploaded into asset library. We use this ur html/asset/fontname.ttf . It’s easily downloaded from browser. Now we concern to encode this url and use in fontfamily css. Does lithium provide any script. ? Or any way to encode? Please help me?224Views0likes7Commentshow to insert screencast video?
while inserting screencast we are getting an 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 submit the message when you are satisfied." Which permissions or roles are required to add screencast video?? Thanks, bhaktiSolvedbhakti7 years agoGuide136Views0likes1CommentHow to get UID of categories/boards
When I hithttps://community.lithium.com/restapi/vc/categories/uid/200 it returns me category details in XML format. The response looks similar to the response ofhttps://community.lithium.com/restapi/vc/categories/id/<ID of the board>. Same case withhttps://community.lithium.com/restapi/vc/boards/uid/200 as well. So now my question is how can I get the UIDs of categories/boards?Solved328Views0likes3CommentsChange redirect parameter on SSO registration page
Hi guys, users use SSO (Telekom Login) to sign in to our community. On their first login the will be redirected to the SsoRegistrationPage and have to complete their profile. The SSO registration page URL uses an paramater ("dest_url") to redirect the user to a specific location after submitting the form: https://riokc95758.stage.lithium.com/t5/user/ssoregistrationpage?dest_url=https%3A%2F%2Friokc95758.stage.lithium.com%2F Some examples: - A user writes a new post before logging in the first time, I want the user to be redirected to "postmessageworkflowpage" after leaving SsoRegistrationPage. - A user gives a Kudo before logging in the first time, I want the user to be redirect to the "Give-Kudo-Workflow-Page" after leaving SsoRegistrationPage. Is it possible to set the parameter value via the page init scripts? I want the users to be redirected to different locations depending on cookie settings or actions they do before logging in. Thanks and kind regards, Christiancike7 years agoChampion243Views0likes5CommentsHow Do I Limit A "View All" Page to a Single Discussion Style
I would like to display a "View All" page, but limit the display to one discussion style. I used https://community.hpe.com/t5/forums/recentpostspage/post-type/message/user-id/22808, with a suffix of "?discussion-style=blog", which didn't work. What is the correct syntax for the URL suffix?Solved131Views0likes2CommentsCustom Forum Topic Page - where is it set?
I'm trying to create a specific custom forum topic page for a specific board. Where is this setting applied? Here's what I see in the admin console - I expect to see a "Forum Topic" option. Am I missing something? ThanksSolvedjjeremiah7 years agoExpert247Views1like5CommentsHow do find "post-list" and move to Category page instead of Recent post pages?
Hi! I am not developer but am trying to do some investigations what possible and not. I would like the element "post-list" in the CAtegory page instead of "recent post pages) or have Recent post pages as a interaction tab for overviewpage. Is that possible? Thank you MarianneSolvedMarianne807 years agoMentor167Views0likes5CommentsHow to alter Mobile header component
Hi, I am looking into alter the "Mobile Header" component ofmy mobile v1 community version. In the component, i need to add "Register" link, and also i need to add the Private Message link even if there is no new message received, and the component used in Mobile layout. So please guide me on this.Solvedjaikumar17 years agoMentor287Views0likes8CommentsWhat is the path to get to the SSO registration page
In the page type list, there are "Mobile User Sso Registration Page" and"User Sso Registration Page". What is the path to access to those pages? For a normal registration page, the path seems to be "https://<community>/t5/user/registrationpage"Solved110Views0likes1CommentSend PM from different user - problem
Hi everyone. I created a new non-sso user Using these instructions I generated a session key for that user Created a test endpoint with this code: <#assign session_key = rest("/authentication/sessions/login?user.login=<new user login>&user.password=<new user password>").value/> <#assign result_send = restadmin("/postoffice/notes/send?notes.recipient=/users/id/<my id>¬es.subject=test¬es.note=test&restapi.session_key=<freshly generated session key>")/> I then opened that endpoint in an incognito window The PM I received was from "anonymous", not from the new user. What am I doing wrong?330Views1like11Commentsmove out of SDK
We were using SDk in one of our site, butwe want to come out of SDK and go back to working only in studio. There were lot of changes in SDK, so i cant revert to the version before SDK. How can i disable SDK and retain what is there in the studio and remove the sdktsrisudh7 years agoAdvisor136Views0likes3Comments[SDK] Metrics text keys
Hi, I am trying to modify "Community Metrics" component but when I try to add text key in SDK it is not working. When I add same text key in Studio everything is working fine. I already tried to clear studio plugin and delete created text keys then submit SDK plugin but still changes are not reflected on community. In SDK I am adding something like this: li.community.metrics-display.net-accepted-solutions.text = <span class="lia-vitality-value">{metric}</span><span class="lia-vitality-key">rozwiązań</span>omygoodness7 years agoMentor90Views0likes1CommentCan we pass Multiple Callback urls in a single message event subscription call?
Hi, Is it possible to pass multiple callback URLs in a single hit for message event subscription? I was expecting that whenever a Blog or Post is deleted I get notified on both the endpoints mentioned in my callback URLs. Thanks in advance, VishalSolvedvishal_sharma7 years agoContributor146Views0likes1CommentTriggering a survey when a user accepts a solution
Hi, We're looking for a way to survey our customers once they accepted a solution on our community. The goal is to survey only the user that accepted the solution, right after clicking the button. I'm considering two options here: - Our survey service can trigger a survey when a certain keyword is on the URL. I noticed that when a user accepts a solution, the form is submitted and the page is refreshed. I'm looking for a way to add that extra parameter to the URL when the page is refreshed. Unfortunately, that's a part of the community I don't have access as a user. - Add a pop up with a button to launch the survey when the user clicks 'Accept as solution', but again, the page is refreshed and I'm not sure how the whole process work on the back end. Do you have any tips or ideas? Thanks!Solvedfuenteso7 years agoLeader180Views0likes4CommentsHow to HTTP POST / DELETE with Community v2 API?
Hi folks, The documentation is not very clear how to do HTTP POST or DELETE. The GET is the LIQL query from the studio editor whereas where would I do HTTP POST and DELETE from? From studio editor? from client side javascript? who would do the call - rest admin or on behalf of the user? For example:https://community.lithium.com/t5/Developer-Documentation/bd-p/dev-doc-portal?section=commv2&collection=albums#action-create POST /community/2.0/mytenantid/albums HTTP/1.1 Where should I make this POST request from?gstelang7 years agoMentor157Views0likes1CommentList of available parameters for common.widget.search-form component?
Hi, Anybody know if there is documentation or a list of the parameters available for passing to the default common.widget.search-form component? I was only able to locate these: hideGranularity showAdvancedSearchLink searchType My goal is to limit the scope of the standard search component to a specific category or coreNode. I've added the common.widget.search-form to custom pages and don't want those searches to happen at the community level. Fingers crossed that there is some parameter to specify the highest node the search should check. I'm hoping I don't have to manually pull in and format the search results using the REST search APIs. I saw a post about the "searchType" parameter but it doesn't appear to have many possible values:https://community.lithium.com/t5/Support-board/Standard-components-parameters/m-p/97136/highlight/true#M4768 I'm trying to customize the search to only show results for a specific blog. Thanks!SolvedFranzG7 years agoGenius738Views1like6CommentsRestAPI calls from 3rd party sites
Hi all, I have been trying to get my head around a solution but just cant seem to connect all the dots. We have a 3rd party site which we want to members of that site to connect to our site and get a badge from it. I see this working similar to the way LinkedIn and facebook authentication works. I have attached a high level diagram of what I am trying to do. I know the APIs very well but I just cant seem to get my head around getting the steps after Do you wish to connect your Profile? >> Yes. Limitations: We can not grant read access to the API for the default user If anyone in the community could point me in the right direction on how to get the userID for a user in an SSO enabled community when the 3rd party site doesn't use the same SSO implementation then I think I could figure the rest out myself156Views0likes2Comments