microsoft.public.exchange.development
[Top] [All Lists]

Re: Can I use the Exchange Default template in Exchange Web Form.

Subject: Re: Can I use the Exchange Default template in Exchange Web Form.
From: "Jeff Garman [MSFT]"
Date: Sat, 14 Oct 2006 11:04:27 -0400
Newsgroups: microsoft.public.exchange.development
Well it appears that you've overcome the majority of issues that you'll encounter with Exchange webforms. Congratulations...

If I understand what you are describing, you want to make modifications to the item based on message class, and then have OWA render that form using the default form. I think that you are going to encounter problems doing that. Since you register your form for a verb, then your form is going to be launched instead of the default form. You could make your form look like the default form, but from previous customer experiences, that is not an easy task. We also do not have any forms editor to be used with OWA that will allow you to make changes to the default forms either, although we've had many suggestions for a tool like this.

So in this case your probably better off using your form and using that to render the item and try to make it very similar to the default OWA form and educate your users that this form is slightly different then the rest of OWA forms.

-Jeff

<swzhengblog@xxxxxxxxx> wrote in message news:1160732054.728164.304480@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Is onyone help me?

swzhengblog@xxxxxxxxx wrote:
I create a new Exchange Web Form to handle the message's Open request.

oRec.Fields("DAV:contentclass") =
"urn:schemas-microsoft-com:office:forms#registration"
oRec.Fields("urn:schemas-microsoft-com:office:forms#contentclass") =
"urn:content-classes:message"
oRec.Fields("urn:schemas-microsoft-com:office:forms#cmd") = "open"
oRec.Fields("urn:schemas-microsoft-com:office:forms#executeurl") =
"CustomMessage.asp"

Exchange will use my form to render the email when user open it in owa.

I can write some script and some HTML in CustomMessage.asp, it works
well.

Now what I want to do is: In this Form, I want to use  the Exchange
default "Open" template, nor I write a new one.
Maybe my description is not very clear, I have a example to descript
it.
I have some emails, some MessageClass are IPM.Note.aaa, some are
IPM.Note.bbb.  when user visit them in owa, I want to do the logic:
if it's MessageClass is IPM.Note.aaa, I want to make this mail's
subject as "aaa", if is IPM.Note.bbb, make it's subject as "bbb".
modify their body via some logic. after that, let exchange render this
email use it's default template.  so that the user will no detect the
email has been modified

Thank you!.



<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy