My question is how I can make reference to a document within the content of a wiki or work_package ???. (in chiliproject reference to a document was document#10)
you can reference documents in the wiki and work packages just as you mentioned by document#ID, where ID is the document id which you get when clicking on an entry in the documents plugin (e.g. document#5 if the document has the ID 5 (the URL to the document should end on /documents/5)).
It may be even easier however to simply link to a document via name, where name is name of the link to be displayed and location is the location of the document you want to link to.
I'm also looking for ways to do this rather than leave the editor to go manually find the URL to a document. How does this feature work? I tried entering 'document#' but I saw no pop up list.
the referencing of documents and other resources dates back to Redmine and does not have autocomplete functionality. You can either use document#<ID> or document:"Title of the document" to create a link in the backend. It does not provide any functionality within the WYSIWYG, unfortunately.
Replies (3)
Hi Ariel,
you can reference documents in the wiki and work packages just as you mentioned by document#ID, where ID is the document id which you get when clicking on an entry in the documents plugin (e.g. document#5 if the document has the ID 5 (the URL to the document should end on /documents/5)).
It may be even easier however to simply link to a document via name, where name is name of the link to be displayed and location is the location of the document you want to link to.
Best,
Robin
I'm also looking for ways to do this rather than leave the editor to go manually find the URL to a document. How does this feature work? I tried entering 'document#' but I saw no pop up list.
Hi Jason,
the referencing of documents and other resources dates back to Redmine and does not have autocomplete functionality. You can either use
document#<ID>
ordocument:"Title of the document"
to create a link in the backend. It does not provide any functionality within the WYSIWYG, unfortunately.I added this to https://docs.openproject.org/user-guide/wysiwyg/#links-to-openproject-resources
Best
Oliver