Translating shared action "Reply with History" to LS

In a shared folder of a mail-db I’ll need a customized “Reply with History” - action. Looking at the -standard- shared action I see the formula REM {Notes Style Reply with Full History};

@Command([Compose];“”:“”;“Reply with history”)

I need to translate this into LS, because the customized action has a lot more of LS to process. I wonder if I can use the db.CreateDocument method like described in Designer Help, because I can’t understand how a @Command([Compose]) can build a reference to the selected document and how it could be done in LS without messing up with mail.

Note: I don’t have rights to change the mail-template.

Can anybody give me a hint.

THX a lot in advance!

Axel

Subject: Translating shared action “Reply with History” to LS

The compose doesn’t do it, really – the Reply with history form uses “inherit entire document into rich text field”, and that’s what gives the reference/history. You can get the same sort of effect using doc.RenderToRTItem() in LS.

Subject: RE: Translating shared action “Reply with History” to LS

Stan,

thanks a lot, too.

… this was the missing link … now I’m having a much better understanding of “Reply with history”.

Regards

Axel

Subject: Translating shared action “Reply with History” to LS

Try something like this:

http://www-10.lotus.com/ldd/46dom.nsf/55c38d716d632d9b8525689b005ba1c0/10cda574694b257785256ebb0046acfe?OpenDocument&Highlight=0,reply,session,attachment

JYR

Subject: Solved: translating shared action “Reply with History” to LS

JY, thanks a lot.

Your code sample was very helpful to help me back onto the right way…

Looking at @Command([Compose]) the Designer Help should have talked about ws.ComposeDocument rather than db.CreateDocument … (I confess I’m a little rusty with coding LS)

Regards

Axel