Hi,
One possible workaround is to add a view with your custom message. OnLoad,
you test your WS and you point your users to your main View is the test is
passed, otherwise you default the form on the View just added where the
message is displayed.
Hope that it helps.
Regards,
Franck Dauché
> Hi,
>
[quoted text clipped - 10 lines]
> Regards,
> Chris
Christians Izquierdo - 16 Jan 2006 18:57 GMT
I tried to call thisXDocument.View.SwitchView in the OnLoad event and I got a
NullReferenceException. I also tried to do it by setting a field in the
document and adding a rule to the Open Behaviour but that doesn't seem to
work either.
What am I doing wrong?
Thanks and regards,
Chris
> Hi,
>
[quoted text clipped - 23 lines]
> > Regards,
> > Chris
Franck Dauché - 17 Jan 2006 02:40 GMT
Hi,
You need to set the default view:
thisXDocument.ViewInfos["YourViewName"].IsDefault = true;
Hope that it helps.
Regards,
Franck Dauché
> I tried to call thisXDocument.View.SwitchView in the OnLoad event and I got a
> NullReferenceException. I also tried to do it by setting a field in the
[quoted text clipped - 33 lines]
> > > Regards,
> > > Chris