Forum Discussion
Blog id is = ${coreNode.id}
this one should work if the url is http://community.digi.com.my/t5/Blog/bg-p/11112222
it should return 11112222
Hi,
It does not work.
Please look at screenshot below.
Thanks
- syafiq8 years agoAceplease try it in the page where you use this component. it should be working in the blog page.
https://xxxxxxxxx/t5/blogname/bg-p/blogname- kiettuongwork8 years agoContributor
Hi,
Actually I dun know how to pass that URL in the page that using the post component.
May you please show me how to do that?
Thanks,
Mickey
- SuzieH8 years agoKhoros Alumni (Retired)
Hi kiettuongwork,
What are you trying to do with your recent-blog-posts component? What is the component's purpose? Is there a reason why you are choosing to pass these blogs by parsing the URL instead of using a call to the Community API via the rest FreeMarker context object? I'm wondering if there is an easier way to accomplish your task.
Have you seen either of these TKB articles?
Building your first custom component - Note this article uses Community API v1