I am trying to use a text component in several letters.
I have the following code. It does not give any errors and it does not display anything in the letter.
{INSERT_TEXT_COMP("Enterprise\in testing","Handout Header")}
Handout Header currently just contains "This is a test"
Any ideas?
Based on your command:
{INSERT_TEXT_COMP(“Enterprise\in testing”,”Handout Header”)}
I would rename the directory to maybe "in_testing"
Perhaps not the issue, but after years of dealing with so many operating systems, space characters can sometimes be problematic. I still try to avoid still in directory naming.
Although, now as I type my response, and sometimes this is a copy/paste issue, but when I pasted above the quote-open character is a bit different from the other three double-quotes. Thus, you may want to type your command in again.
You would need to run a MEL trace to see if it was executing. It may not. The help says that it is for quick text so it might not execute in a letter.
Looks like it evaluates it as ULL.
Except from MEL trace:
02/06/2017 16:34:55.344 INFO Process Id #13268 ML Thread [MelTrace] >{INSERT_TEXT_COMP("Enterprise\\in_testing","Handout_Header")}
02/06/2017 16:34:55.344 INFO Process Id #13268 ML Thread [MelTrace] execute>call INSERT_TEXT_COMP("Enterprise\\in_testing", "Handout_Header")
02/06/2017 16:34:55.344 INFO Process Id #13268 ML Thread [MelTrace] results>""
02/06/2017 16:34:55.344 INFO Process Id #13268 ML Thread [MelTrace] execute>end