Mattersphere Developers Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Go down
avatar
Lynne Harding
Posts : 335
Join date : 2018-12-20

How do I determine what precedent is running? Empty How do I determine what precedent is running?

Tue 31 Mar 2020 - 8:42
I've got some custom VBA code in MCIManExtensions.dot (in JobProcessed) that needs to know which precedent is being generated.
The code gets the value of the DocumentVariables BASEPRECID and BASEPRECTYPE, which are added to the document as it is assembled. This is all fine, unless you generate the Precedent from Outlook - it appears these variables do not get added to the document if MC is launched from Outlook.
Fistly, are you aware of the above issue?
Secondly, what should I do instead (I'd like to avoid adding our own document variables on every precedent if possible...)
Back to top
Permissions in this forum:
You cannot reply to topics in this forum