BushNik
Member
Hi, i need to update resource thread message on resource save event. When resource desc is saved i want to set discussion thread the same content. So, i just need to update message of discussion thread. I know that resource save function in library\XenResource\DataWriter\Resource.php with name protected function _postSave(). It also has the function protected function _insertDiscussionThread($nodeId, $prefixId = 0), but it's for creating new thread when resource is created. I am stuck, how to set discussion thread the same message as resource have when it's get saved? I don't need full code, may be just tip. Thanks.