Copy to\New Task

Hello,

Everybody knows the action above: SUBJECT and BODY of a new TASK are being filled with the data from the EMAIL.

Does anyone know, what should be changed in two actions below to get additionally in the bottom of the BODY a DocLink to this EMAIL?

Or an additional button with a similar functionallity?

Thanks!

Leo

'This is the Mail version of this action (non-C&S)

'Any changes made to this may also need to be made to the C&S version of the action.

Sub Click(Source As Button)

'Make sure we copy all the correct info

Dim IntoForm As Variant

IntoForm = “ToDoFS”

Call PrepareNoteToCopyDrag(note , IntoForm )

Call UICopyIntoNewDocument(CREATE_TASK, True)

End Sub

path :=@ReplaceSubstring(@ReplaceSubstring(@Subset(@DbName; -1); “\”; “/”);" “;”+") ;

@URLOpen(“/” + path + “/Task?OpenForm&UNID=” + @Replace(@Text(@DocumentUniqueID); “:”; “” )+“&CopyInto”)

Subject: Copy to\New Task

you don’t need to change the actions vut the form.enable the form option “inherit decument as link” on the second form properties tab and select the body field .

Subject: RE: Copy to\New Task

Thanks!I’ve just done it but cannot see the difference… :frowning:

The “Task” form has “Body” field - I’ve checked this…

Is anything else is necessary?