Skip to main content
Participating Frequently
February 19, 2007
Question

Report - Email PROBLEM

  • February 19, 2007
  • 13 replies
  • 1019 views
Hello,

I have made a simulation in Captivate 2 with click boxes and I have activated in the quiz manager the report by email. But, when I launch the simulation after publishing it, my Outlook opens itself each time I click on a click box...

I remember that in Captivate 1, the report by email launches Outlook only at the end of the simulation.

What is the problem?

Thank you
Eliser
This topic has been closed for replies.

13 replies

Participating Frequently
June 19, 2007
We've found that the user's Adobe Flash Player Security Settings Manager must be set to "Always allow." The Flash Player Settings Manager is here:

http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html

(Security tab)

For a recent quiz I published for our Network Operations Center staff, I have seen conclusively that for users who do not first go to this settings manager and set it to "Always allow," NOTHING HAPPENS when they click the button that is supposed to submit the quiz results via email.

When they do go in and change the setting to "Always allow," it works. So clearly that's an element that needs to be included.

One CAVEAT: In an effort to simplify the process of trying to get my users to first go change their Flash Player Setting by navigating to an outside web site, I put a button on my quiz, linked to the Adobe URL. BUT THE BUTTON DOESN'T WORK if the setting is not already set to "Always allow" -- so of course the only people for whom the button works are those who don't need it.

So instead I put a link in our internal wiki, with instructions about how to change the settings. This seems to have worked.

Tim


Participant
May 27, 2007
Hi Brurich, thanks for the answer and for your kindness.
I will try the solution that you have pointed out me, still thanks!
Inspiring
May 27, 2007
OK.

Take a look at these two methods to send the quiz results to a database. I do wish Adobe would really consider a better method to incorporate say .asp codes to send results to databases that would really help developers.

The links are; http://www.adobe.com/devnet/captivate/articles/store_cpresults.html
and
http://iconlogic.blogs.com/weblog/2007/03/adobe_captivate_3.html

Try them and let us know your results.
Participant
June 13, 2007
Unfortunately, I do not have the time to create the db and execute the steps listed in the two possible solutions for the problem mentioned by Hunter-Killer.

All of my users are using office so why won't the e-mail work? I get the same results as Hunter-Killer. The e-mail opens in preview mode but not after the module has been published.

I have searched and searched but found no workaround for this. Is there one or should I just give up on gathering results until I have time to build a db?

Thanks for any help.
Inspiring
May 25, 2007
Hello Hunter-killer.

If your users are in office, then the e-mail option will work, otherwise, think about sending results to a database or text file. Check out some previous questions where questions like yours was asked. I posted some possible solutions to them.

Developers should probably send a wish list to Adobe asking for a better way to send results. Also the ability to create a pass/fail slides with the results on them.

Cheers!
Participant
May 25, 2007
quote:

Originally posted by: Brurich
Hello Hunter-killer.

If your users are in office, then the e-mail option will work, otherwise, think about sending results to a database or text file.


Hello Brurich!
That's what I intend in fact.

quote:

Check out some previous questions where questions like yours was asked. I posted some possible solutions to them.

Brurich, I have tried to find those answers, but I have not found it.
Would you be so kind to show me that? Thanks
Participant
May 23, 2007
Hi guys, I have a similar problem.
I have a tes, and I the "Enable reporting for this project" activated, and I want to send me an e-mail.
At the end of the quiz, I want to show the score so two buttons appears: "Send an e-mail" and "Continue"
The problem is that clicking on "Send an e-mail", after publishing the project, doesn't send nothing.
But in the Captivate internal viewer all seems working, because clicking on "Send an e-mail" open my email client and I have a similar email:
quote:

Core Data
"Status","Location","Raw Score","Max Score","Min Score","Time"
"failed","47","0","450","0","00:00:16"


Anyway by clicking "Continue" another email is open, but without data.
How to send the email with the results? Why it works only in Captivate internal viewer?
Participant
May 21, 2007
Thank you for the detailed response. I plan to try it. However, there is another workaround.

If the question slides are all at the end of the project, then the email function works. So what I did was put the question slides at the end and use the Navigation feature on slide properties to go to the question slide. I tried using the branching feature but this failed, but when I did navigation it all seemed to work.

I called Adobe and was told this was a bug and they offered me my money back.
Known Participant
May 23, 2007
My thanks to the last few posters for their help as I spent all day yesterday learning Captivate 2 from scratch and (to my own surprise) ended up with a simple 9-question quiz as a demo project for work.

I'd switched on the email facility to find it asking me after every question where to send the email - now I know how to either fix this (with the .HTM hack or move all the question slides next to each other in the project). So my thanks and now for Day 2 with Captivate 2 :)
Participating Frequently
March 23, 2007
Actually, that was detailed wasn't it??
Participating Frequently
March 23, 2007
I HAVE FOUND A FIX FOR THIS.

I will post a detailed description soon, but here's a summary:

A JavaScript guy here where I work helped me understand that the Submit button on each quiz slide is erroneously calling the sendMail() function that is created by Captivate in the .htm file when the user turns on "Enable reporting for this project" (and selects the Email option) in the Quiz manager.

Captivate won't let the user change the functionalty of Quiz buttons, but anyone can edit the .htm file. So here's what you do:

1) Publish your project with the "Enable reporting for this project" option turned on (and select the Email option) in the Quiz manager. Call this "project_email".

2) Back in the project, turn OFF the "Enable reporting for this project" option in the Quiz manager.

3) Add a blank slide at the end of the project.

4) Add a text button to the new last slide, with "Send email" as its text.

5) Change the "Send email" button's "On success:" option to Execute JavaScript.

6) Click the ellipsis button and, in the JavaScript text box, type the following:

mySendEmail();

7) Click OK to get all the way out.

8) Publish the project with the new slide, button, and settings, calling it "project_NOemail".

9) Do not view the output yet. Instead, open project_NOemail.htm and project_email.htm to edit them (in Wordpad, Notepad, whatever).

10) Copy the entire contents of project_email.htm, then close it without changing it.

11) Delete ALL of the content of project_NOemail.htm, then paste the full contents copied from project_email.htm into project_NOemail.

12) In project_NOemail.htm, locate the function called sendMail. It looks like this:

function sendMail()
{
document.emailForm.action = 'mailto:' + gstrEmailTo + '?subject=' + gstrEmailSubject
document.emailForm.elements["Results"].value = "\r" + gstrEmailBody;
document.emailForm.submit();
}

13) Copy this function, place your carriage return after the close brace "}", and hit a couple of carriage returns.

14) Paste the function where the cursor is. You now have the sendMail() function exactly twice.

15) Change the name of the second instance of sendMail to mySendEmail (the function name you typed into the JavaScript text dialog in Captivate). Now, when the user clicks the new button at the very end of your demo, it will call this function.

16) Comment out the third line of the sendMail() function, the line that causes an email to actually get sent. Do this by placing two forward slashes at the beginning of the line. It should look like this:

function sendMail()
{
document.emailForm.action = 'mailto:' + gstrEmailTo + '?subject=' + gstrEmailSubject
document.emailForm.elements["Results"].value = "\r" + gstrEmailBody;
// document.emailForm.submit();
}

This disables the function's ability to actually send the email.

That's it! What you've effectively done is disable the Submit button's ability to send an email, and instead created a button that takes over that job so that it only happens at the end of the project.

I have not tested this rigorously over several larger projects, but based on the nature of the change, there should be no variation in the way it works based on such variables.

NOTE: I'm not sure why, but you can't skip the step where you first generate the project with the email function enabled. You'll notice that the .htm file looks significantly different with the email function disabled, and it's not enough to just copy and paste the sendMail function into it.

Tim

March 11, 2007
I'm having a similar problem with a quiz originally created in v2. I've discovered that as long as I go from one question slide to the next, my email client is NOT launched until the very end. But if I embed a non-question slide within the quiz (e.g. "In the next part of the quiz we're going to look at some scenarios. Click 'Next' when you're ready.") the SWF seems to think the quiz is over, and it sends the responses to any previous questions to email. In other words, if I have 1 question slide, & then a non-question slide, an email is generated with the one response. If I have 20 question slides, & then a non-question slide, an email is generated with the 20 responses.

What I'm trying now to circumvent the problem is use question slides as my non-question slides, but enable the user to "skip" the question (I relabel "skip", "next"). This is not a clean work-around, as Captivate won't let me remove or restack the question elements, but I think I can make it work reasonably well.
Participant
March 9, 2007
I encountered this problem back in November when I upgraded my files from Captivate 1 to Captivate 2. I was told to copy my "regular" slides to a new project in Captivate 2 then re-create any slide with a click box or quiz question. Pretty labor intensive but I played along. It did NOT work. I still continue to get continuous email boxes opening after a slide with a click box. I've been on hold with customer service forever trying to get this resolved to no avail. Any other ideas?