Microsoft Content Management Server - Console Action "Decline with Reason"

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > December 2004 > Console Action "Decline with Reason"





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Console Action "Decline with Reason"
laks

2004-12-27, 8:46 pm

This question is based on Stefans implementation of Decline with
Reason.

I am trying to implement it and receive a javascript error.
window.opener is null or not an object. Any quick fix?

Is there more notes or documetation on enhancing workflow actions like
this in addition to what CMS already does?

I would like to on submit action perform steps
1) Ask question, Do you want to send an email? If Yes
2) second screen select the person/editor who you want to send the
mail to with notes and send?

Similarly for decline action..


Other question : I have seen the implementation of email using the
Global.asax file in gotdotnet and msdn.
and "decline with Reason" from gotdotnet.

The "Decline with Reason" does not use Global.asax file at all. Why so.
When to use which method?

Any insight or direction to documentation would be helpful
Thanks
Prasad

Stefan [MSFT]

2004-12-28, 5:49 pm

Hi Laks,

this error does not occur on my test setup.
Please check with a script debugger where exactly the error occurs.

Cheers,
Stefan.

"laks" <alanlakman@yahoo.com> wrote in message
news:1104192472.447129.139170@f14g2000cwb.googlegroups.com...
> This question is based on Stefans implementation of Decline with
> Reason.
>
> I am trying to implement it and receive a javascript error.
> window.opener is null or not an object. Any quick fix?
>
> Is there more notes or documetation on enhancing workflow actions like
> this in addition to what CMS already does?
>
> I would like to on submit action perform steps
> 1) Ask question, Do you want to send an email? If Yes
> 2) second screen select the person/editor who you want to send the
> mail to with notes and send?
>
> Similarly for decline action..
>
>
> Other question : I have seen the implementation of email using the
> Global.asax file in gotdotnet and msdn.
> and "decline with Reason" from gotdotnet.
>
> The "Decline with Reason" does not use Global.asax file at all. Why so.
> When to use which method?
>
> Any insight or direction to documentation would be helpful
> Thanks
> Prasad
>



laks

2004-12-28, 5:49 pm

Hi
I had the error figured out. Any comments on the second portion of the
request?
thanks
-laks

Stefan [MSFT]

2004-12-28, 5:49 pm

Hi Laks,

you mean the dialog to select the person?
Check the whitepaper below and implement a similar dialog as for the save
new page dialog.
http://msdn.microsoft.com/library/d....asp?frame=true

Cheers,
Stefan.

"laks" <alanlakman@yahoo.com> wrote in message
news:1104246833.375595.187330@f14g2000cwb.googlegroups.com...
> Hi
> I had the error figured out. Any comments on the second portion of the
> request?
> thanks
> -laks
>



laks

2004-12-28, 5:49 pm

I see a brief descriptin under status and action controls. Is there a
code sample for it?
thx.

Stefan [MSFT]

2004-12-29, 7:49 am

Hi Laks,

the decline with reason is a code sample that does something similar:
present a dialog before issuing the action.
Implement the same for the approve action and add the drop down with the
editors to choose for it.

Cheers,
Stefan.


"laks" <alanlakman@yahoo.com> wrote in message
news:1104256217.392540.200820@z14g2000cwz.googlegroups.com...
> I see a brief descriptin under status and action controls. Is there a
> code sample for it?
> thx.
>



laks

2004-12-29, 8:46 pm

Done...

The drop down has ids from CMS. It does not contain the email address.
our email addresses are in Exchange server. I have seen a few posts
here and one of your post in ur blog where u have sample for retrieving
from AD. Any clues on how it can be done for Exchange?
Thanks
- laks..

laks

2004-12-29, 8:46 pm

Also why does your code not use Global.asax file? The microsoft sample
for email uses Global.asax. Which is better and when should we use
which method?
thx again
- laks..

Stefan [MSFT]

2004-12-29, 8:46 pm

Hi Laks,

no idea. You should post this question to an Exchange related newsgroup.

Cheers,
Stefan.

"laks" <alanlakman@yahoo.com> wrote in message
news:1104341007.349216.266130@f14g2000cwb.googlegroups.com...
> Done...
>
> The drop down has ids from CMS. It does not contain the email address.
> our email addresses are in Exchange server. I have seen a few posts
> here and one of your post in ur blog where u have sample for retrieving
> from AD. Any clues on how it can be done for Exchange?
> Thanks
> - laks..
>



Stefan [MSFT]

2004-12-29, 8:46 pm

Hi Laks,

which code do you mean?
The code retrieving the AD users?
Or the console action?
Please specify.

Cheers,
Stefan.

"laks" <alanlakman@yahoo.com> wrote in message
news:1104341070.323765.270380@f14g2000cwb.googlegroups.com...
> Also why does your code not use Global.asax file? The microsoft sample
> for email uses Global.asax. Which is better and when should we use
> which method?
> thx again
> - laks..
>



laks

2004-12-29, 8:46 pm

I mean the code for "Decline with reason" console action code block
does not use Global.asax.

Stefan [MSFT]

2004-12-30, 7:50 am

Sure!
you would not be able to raise a dialog from global.asax code.

Cheers,
Stefan.

"laks" <alanlakman@yahoo.com> wrote in message
news:1104356254.896072.124390@c13g2000cwb.googlegroups.com...
> I mean the code for "Decline with reason" console action code block
> does not use Global.asax.
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com