Can any body let me know how can i get foremthreadid of a forumreply,
$core_v2_forumReply.Get(934885).ParentId
when running above code getting blank , then my question is how we can get forumthreaadid of a forumreply
Can any body let me know how can i get foremthreadid of a forumreply,
$core_v2_forumReply.Get(934885).ParentId
when running above code getting blank , then my question is how we can get forumthreaadid of a forumreply
Does this work?
#set($reply = $core_v2_forumReply.Get(934885))
$reply.ParentId
If you are expecting ParentId to be a thread, that is not a correct assumption. ParentId is a parent reply, if there is no parent it is null. All replies have the same Thread Id in the ThreadId property.
If you are expecting ParentId to be a thread, that is not a correct assumption. ParentId is a parent reply, if there is no parent it is null. All replies have the same Thread Id in the ThreadId property.
#set($reply = $core_v2_forumReply.Get(934885))
$reply.ThreadId
it reply the same id 934885 (forumreply)