ContributionsMost RecentMost LikesSolutionsRe: User who creates a question cannot post an answer to it using the REST API HiPaoloT It turns out this got solved and it wasn't expected behaviour. To sum up: If you post a question you are allowed to answer it using the "qanda.is_answer=true" parameter. Just wanted to add this in case anyone else runs into a similar problem. Moreno Lithium SDK - 401 HTTP error when submitting plugin Hi there I started using the new Lithium SDK today and got stuck when trying to upload my plugin to the staging environment. I get the following error: [18:17:36] Starting 'plugin-upload'... ? Would you like to upload plugin to server? Yes [18:17:39] Uploading plugin [18:17:39] server returned status code 401 We are using HTTP basic auth to protect our staging environment from unauthenticated users. I tried to set the corresponding username and password in the server.conf.json configuration file as follows: { "serverUrl": "http://<username>:<password>@<community-stage-url>" } Unfortunately I still get the same error as mentionedabove. Is there an option to set the HTTP basic auth credentials in the configuration file somehow? Thank you in advance. Moreno SolvedRe: Using system components in custom components (FreeMarker) So that's the only solution? This is exactely what I wanted to avoid.. Re: Using system components in custom components (FreeMarker) Thanks for the hint with the XML view! The custom REST endpoint is getting used outside of the Lithium application itself, so I guess this would mean it doesn't work? Re: Using system components in custom components (FreeMarker) VarunGrazittiThank you for your fast reply. First of all I wanted to ask, how I can find all available template names. The thing is, that we want to use this outside the context you described (for example inside a custom RESTendpoint). Is this somehow possible? Using system components in custom components (FreeMarker) Hi I'm looking for a way to integrate a system component into a FreeMarker template. I want to render a blog post into my template by using the system template Lithium is using (no REST call fetching the data), as well as its comments. Basically, I'm looking for something like this: <#-- Rendering blog post with ID "blog-post-id" --> <@component id="blog_post" param=<blog-post-id> /> <#-- Rendering blog post comments for blog post with ID "blog-post-id" --> <@component id="blog_post_comments" param=<blog-post-id> /> I wasn't able to find a system template for these, so I made up the template names ("blog_post" and "blog_post_comments"). Thanks for your help Moreno Re: REST API call to mark notification as read Yes this is what I want but I want to expose this information in another application, therefore I need to be able to access this information using Lithium's REST API. I hope Lithium will offer this functionality at some point, since it is already possible in the frontend. As cblownmentioned it would be a goodapproach regarding consistency toimplement new functionality in the API first and afterwards develop the frontend parts. Re: REST API call to mark notification as read Hi bhupen Thank you for your reply. Since we want to use the notification count in a third party software we cannot solve this by using Frontend technologies such as Javascript / jQuery. Thanks anyway for sharing your code Moreno Re: Real-time notification content types Sounds interesting. We are currently looking into real-time notifications and how to use them in a third-party application using the API or some websocket-like service we could subscribe to. Unfortunatelly, there is very little (or no) documentation about this stuff.. Re: Real-time notification content types cblownI don't think the same can be achieved by subscribing to community events, but it sure would be very nice if it did. Are you currently using real-time notifications via the API and could give me some information on how you implemented this? Moreno