Avatar of Scott Helmers
Scott HelmersFlag for United States of America asked on

Executing custom command from menu causes error

With ACT 2011: I created a custom command linked to an ACT WP tpl file. I added it to a menu. When I click the menu entry the error below appears. The template works correctly if I use Write>Email Message (from template) or Write>Mail Merge.

Is there something else I need to do?
act-error.jpg
ACT

Avatar of undefined
Last Comment
50cal

8/22/2022 - Mon
50cal

Can you show your custom command setup?
It will also merge to word rather than e-mail.

50cal.
SOLUTION
HighlanderX

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
Scott Helmers

When I created the custom command I just browsed to the tpl file as you can see in the attached image. I've just discovered that if I enclose the path/file name in quotes I don't receive the error shown above and the document opens in edit mode in ACT WP. Apparently what caused the error was that my path name had spaces in it and ACT parsed it incorrectly.

Now that I've enclosed the path/file name in quotes, I guess the real question is: how do I get ACT to use this template to create an email? Do I prefix the path name with a command of some sort?
act-custom-command-dialog.jpg
ASKER CERTIFIED SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Your help has saved me hundreds of hours of internet surfing.
fblack61