Question
I would like to have multiple pages referring to a set of values in a drop-down. So, if I edit the drop-down on the 'master' page, it's available on every page. Here's what I've got - This code appears on a separate page, named "WebIncludeList":
%STARTINCLUDE%
Result,CC,DO NOT CODE,IR,IR Review,Trash
%STOPINCLUDE%
This is the actual code in the web page:
%EDITTABLE{ format="| select,1,que1,%INCLUDE{Clients.WebIncludeList}%,que2 | text,25| text,25| text,25|" }%
| *Queue* | *Name* | *Usage* | *Routing* |
| | | | |
What is displayed is the actual EDITTABLE code!!! It doesn't "compile":
%EDITTABLE{ format="| select,1,que1,Result,CC,DO NOT CODE,IR,IR Review,Trash,que2 | text,25| text,25| text,25|" }%
So, the INCLUDE works, but the EDITTABLE does not!! What do I
not understand about simplifying a 'master' template for a drop-down list? ALL suggestions gratefully appreciated!
Environment
--
BruceMcLendon - 25 Oct 2004
Answer
Try this:
%STARTINCLUDE%Result,CC,DO NOT CODE,IR,IR Review,Trash%STOPINCLUDE%
In other words, put everything on the same line. I have found that this often makes a difference when using "INCLUDE" for other things as well (like tables).
I created an example implementation in
EditTableWithVarOptions. The OPTIONS topic is
EditTableColumn1Options
--
SteveRJones - 15 Nov 2004