We have a requirement where we have written vb script macros to generate meta tags on our objects during website generation. We invoke these macros via head descriptors using the [External Call] tag
Is there a way for us to store some information between generation of different objects (say like a global variable) ?
Can we add a variable to the website generation context that is passed to the function GenerateStream( oMegaObject, oGenerationContext, sIn, oStream )? If we do it, should we ensure that we clear the added variable after the website has been completely generated , and will doing so cause any sort of problem?
Thanks a lot for your answers!
Solved! Go to Solution.
After check with R&D, there is no API or functionnality to manage such global variables during static web site generation.
Is it not possible to generate the expected content with HTML header descriptors and 'external calls' to macros?
Thanks a lot for your reply !
It is, but we have certain scenarios for example where a process can be connected to many org units, and these ids are being generated as meta data information via descriptors.
The same org unit could be connected to multiple processes in this case, so we thought caching information as a key value pair for example could be useful. Hence the question