Pass values back

If I use @Command([Compose]) to create a document in another database, and assuming the user saves that new document, if there anyway to pass values back to the document that was open in the originating database? I need to paste a link to the newly created document in the originating document. If I could pass some values back, then I could use those values to locate the document and then generate the link. Thanks.

Subject: Pass values back

Rather than try to “pass the values back,” another option would be inheriting the “originating” document’s UNID into the new document. Then you’ve got a connection you can search for. Since you don’t provide more details as to when you want this link added, it’s hard to say more or give other suggestions, but it’s an idea, anyway.