- Post Create Callout to show web page
- Posted by Joel Ch on October 22nd, 2007
Hi. I want to know if it's possible in a post create callout source code,
open a new web page where the user can choose aditional information for the
entity.
What I want to do is show to the user a custom web page, once a appointment
is created.
Thanks for your help.
--
MCP SBS 2003
- Posted by Mayank on October 23rd, 2007
Hi Joel
Showing a custom page would be client side behavior. It can be done using
client side JavaScript. A call out is not the place to go for such
functionality.
Try this:
1. Create a bit field, 'firstLoad' (or something that signifies that the
record is being viewed for the first time). Set its default value to 'true'.
2. Put this field on the form and hide it unconditionally using javascript
crmForm.all.<fieldName>.style.display = 'none';
3. Write a client side sript on form load event which
a) Checks if this is an update type form
b) If the value of the bit field is 'true', pop up the custom page in
another browser window. You can edit the value of the field in the crmForm
from the custom page when you think you dont need to show the custom page
again.
At this point of time, set the value of the custom field to 'false' so the
custom page won't show again.
I hope the explanation was clear..
--
Regards
- Mayank
"Joel Ch" wrote:
- Posted by manick on October 23rd, 2007
Hi Joel,
If you are interested in custom solution, please drop email to discuss.
Regards,
Manick
manick.m@hotmail.com
"Joel Ch" wrote: