Discussion:
Displaying a random set of questions
(too old to reply)
Marco Shaw [MVP]
2009-08-19 18:55:42 UTC
Permalink
I need to create an email message in Outlook that, once viewed basically,
will display 10 of 50 possible questions randomly to different recipients.

Is this possible with Outlook scripting?

Any online references on how I might get started?

Marco
Ken Slovak - [MVP - Outlook]
2009-08-20 14:01:03 UTC
Permalink
Outlook version?

Viewed where? Forms with custom code in them won't display at all in the
reading/preview pane, they'd have to be opened.

If it's a custom form then all recipients would need to have that custom
form published in their Outlook or in an Organizational Forms Library if
they're using Exchange server. Otherwise the recipients wouldn't see
anything but a normal email form. If you include the form definition in the
item when you send it that one-offs the forms and code won't run on
one-offed forms.

A better approach that could be done using a COM addin would be to send
different emails to recipients with your random questions supplied at
sending time. That way no custom form or code in the form are required and
it would be compatible with recipients not using Outlook.

For Outlook forms development information see the forms section at
www.outlookcode.com.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
Post by Marco Shaw [MVP]
I need to create an email message in Outlook that, once viewed basically,
will display 10 of 50 possible questions randomly to different recipients.
Is this possible with Outlook scripting?
Any online references on how I might get started?
Marco
Marco Shaw [MVP]
2009-08-21 00:22:55 UTC
Permalink
Post by Ken Slovak - [MVP - Outlook]
Outlook version?
Currently a mix of 2003 and 2007, but they should all be 2007 by the end of
September I'm told.
Post by Ken Slovak - [MVP - Outlook]
A better approach that could be done using a COM addin would be to send
different emails to recipients with your random questions supplied at
sending time. That way no custom form or code in the form are required and
it would be compatible with recipients not using Outlook.
Yes, KISS! My problem here is that this method doesn't provide a common
method to answer the question. I'd have to be very specific like:
Q. The question is this.
A. A The answers
B The other answers.
Your answer here: A

I guess it isn't all that bad. If I can't mark 10 scores, I'll move the
email to a folder to be manually reviewed.

Thanks for trying to help out!

Marco
Ken Slovak - [MVP - Outlook]
2009-08-21 13:21:34 UTC
Permalink
Either something like that, or possibly even a Web form rather than an
Outlook based email?
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
Post by Marco Shaw [MVP]
Post by Ken Slovak - [MVP - Outlook]
Outlook version?
Currently a mix of 2003 and 2007, but they should all be 2007 by the end
of September I'm told.
Post by Ken Slovak - [MVP - Outlook]
A better approach that could be done using a COM addin would be to send
different emails to recipients with your random questions supplied at
sending time. That way no custom form or code in the form are required
and it would be compatible with recipients not using Outlook.
Yes, KISS! My problem here is that this method doesn't provide a common
Q. The question is this.
A. A The answers
B The other answers.
Your answer here: A
I guess it isn't all that bad. If I can't mark 10 scores, I'll move the
email to a folder to be manually reviewed.
Thanks for trying to help out!
Marco
Loading...