The discussion revolves around opening the composer for an existing private message (PM) topic via a URL, a feature currently not supported. jerry0 seeks a way to post content to an existing PM topic from an external site, ideally through a URL or SSO link. pfaffman suggests reverse-engineering the Discourse API, while Falco clarifies that this isn’t possible out of the box and recommends organizing projects via categories or tags instead. jerry0 explains their use case: using PMs for project communication, with each project having its own topic. They note that categories and tags are impractical due to performance limits and lack of privacy, respectively. Falco suggests a custom theme component to enable the functionality, which jerry0 confirms they would need to develop.
Hi, this feature (opening composer to compose a new personal message/topic via URL is very useful:
However we would like to open the composer in an existing personal message topic/discussion, via URL (or at least somehow from an external site (linked via SSO) . Is this is this possible?
We are using PMs for projects on a site, and each project gets its own message topic. The head-scratcher is how a person can post a message to the topic with content from the project.
So really would like a button on the site to post content to message topic, essentially. But then continue composing. Does that make sense?
Discourse design is mostly around each project of yours existing as a category, subcategory or tag. That way you don’t end with lots of The MEGATOPIC: public good, or public menace?, and information is better organized.
If you are locked into this long PM design, you will probably need a theme-component to allow to pop-up the reply composer from a URL param.
Good reply, thanks. By theme component, do you mean a plugin type development project?
We investigated using categories/subcategories using an auto-create routine, however found that the number of projects we tested meant categories got beyond what Discourse could handle (think it started to cause problems above 500 or so.)
Tags have no privacy, so can’t use those.
So, instead using groups…and PMs, which is working well.