Question
Is it possible to Set Web level variables from an include file? I tried placing a %INCLUDE... in the
WebPreferences page and it displayed correctly on the page. However the variables were no longer visible to other pages. When the Set VARNAME = was coded directly in the page, the variables were included.
Environment
--
BradTaylor - 18 Jan 2005
Answer
Preferences do not follow INCLUDEs. However, you can use a
SpreadSheetPlugin formula in an INCLUDEd file that sets a variable, e.g.
%CALC{$SET(dinner, Sushi)}%, then use the variable in your topic.
--
PeterThoeny - 19 Jan 2005
Bug report filed:
Bugs:Item4546
--
VickiBrown - 04 Sep 2007
Feature proposal:
Codev.INCLUDEdSetvariablesshouldwork
--
VickiBrown - 07 May 2008