xorrkaz
12 years agoGenius
[QUESTION] How can we map attachment to message?
We are indexing attachments in an external search engine, and we're curious to know if this mapping rule holds true for all attachments on discussions and TKB articles. Say we have an attachment like:
https://community/company/attachments/company/our_tkb@tkb/1/1/attach.pptx
This appears to match the message with the URL:
https://community/company/board/crawl_message?board.id=our_tkb@tkb&message.id=1
Meaning:
https://community/company/attachments/company/ [board.id] / [message.id] / [Attachment order Number] / [Attachment name]
Will that always hold true? Thanks.
Hey xorrkaz,
Here is a knowledge base article explaining how to find an attachment:
Finding a message based on an attachment URL
Your assumption is correct.
Hope this helps,
Yuri