I was trying to add this conditional MEL expression to my Chart Document Header :
{If print_title == "Chart Document", "IMPORTED BY ", "IMPORTED BY "}{LOC.NAME}
I do not get an error but it does not work. Yet, when I try it within the body of a letter, it does work.
Are there rules where we can not use certain things in that header I am not aware of?
For an If statement you need an If..then...else...endif
{if print_title == "Chart Document" then
"IMPORTED BY "
else
"IMPORTED BY"
endif}
might need a FMT statement around the "IMPORTED BY" but I'm not sure. You can run a MEL trace and see what is happening when you try to print a chart document.
Thanks, as always!
Do you know if it is possible to pull the information that is stored in the L3tables into a letter or handout?
It looks like there are objects available in the l3defs.txt and MLdefs.txt files for you to access the LinkLogic information, though I have never used them myself. You will just have to go through those files and see if there is an object that references the table you are looking for and then write a function to pull that data.
Good luck!
Thanks. Sounds like a CHUG post to see if anyone has done that! LOL