Salve io dovrei da un documento tramite un bottone aprire una memo di Lotus Notes e impostargli tutti i campi, cioè (To,CC,Bcc,Subject,Body). Tutto ciò lo riesco a fare, il mio problema è introdurre il link al documento di partenza che ottengo tramite il comando @DocumentUniqueID, come posso fare af inserirlo; vi allego il codice che ho scritto in formula language: FIELD Mandatory := @Unique(@DbLookup("";"";"(List Mandatory Reviewers)";uniqueId;2)); @Command([Compose]; @MailDbName; "Memo"); @Command([EditGotoField]; "Subject"); @Command([EditInsertText]; "Start the review on: " + DocTitle + " controlled document " + @Text(@Today)); @For(n :=1; n<=@Elements(Mandatory); n:= n + 1; @Command([EditGotoField]; "EnterSendTo");@Command([EditInsertText]; Mandatory[n]);@Command([EditInsertText]; ",")); @Command([EditGotoField]; "EnterCopyTo"); @Command([EditInsertText]; ""); @Command([EditGotoField]; "EnterBlindCopyTo"); @Command([EditInsertText]; DocOwner); @Command([EditGotoField]; "Body"); @Command([EditInsertText]; "Congratulation! You are choosen as mandatory reviewer on controlled document: "+ DocTitle+". I recommand to add your comment(s) by "+ @Text(Review_Date) +" or sign your review"+@NewLine+ "Please follow the link below to view the Controlled Document" + @NewLine ) Grazie
|