Hi,

I've created a rule for New Lead event.
In post URl action, I've specified the url
:http://localhost/WebApplication1/WebForm1.aspx

In the form load of the webform1.aspx , i wrote the following code.

FileInfo fi = new FileInfo(@"D:\CRMDB\CLEAD.txt");
StreamWriter s = fi.AppendText();

s.WriteLine("AccountID: " + Request.Form["accountid"]);

s.WriteLine();

s.Close();

But this is not working

Can anyone help me with this.

Thanks and Regards,

Raju

Re: Post URL Action by Stephen

Stephen
Tue Sep 14 02:42:10 CDT 2004

Does it work OK if you just load
http://localhost/WebApplication1/WebForm1.aspx in IE?


"Raju" <raju@netgalactic.com> wrote in message
news:%23OOSTvimEHA.3452@TK2MSFTNGP15.phx.gbl...
> Hi,
>
> I've created a rule for New Lead event.
> In post URl action, I've specified the url
> :http://localhost/WebApplication1/WebForm1.aspx
>
> In the form load of the webform1.aspx , i wrote the following code.
>
> FileInfo fi = new FileInfo(@"D:\CRMDB\CLEAD.txt");
> StreamWriter s = fi.AppendText();
>
> s.WriteLine("AccountID: " + Request.Form["accountid"]);
>
> s.WriteLine();
>
> s.Close();
>
> But this is not working
>
> Can anyone help me with this.
>
> Thanks and Regards,
>
> Raju
>
>
>
>



Re: Post URL Action by Raju

Raju
Tue Sep 14 03:01:54 CDT 2004

Its working in IE
Thanks for replying.

"Stephen Redmond" <noreply__stephen@crm.ie> wrote in message
news:%23bEkZ5imEHA.3464@tk2msftngp13.phx.gbl...
> Does it work OK if you just load
> http://localhost/WebApplication1/WebForm1.aspx in IE?
>
>
> "Raju" <raju@netgalactic.com> wrote in message
> news:%23OOSTvimEHA.3452@TK2MSFTNGP15.phx.gbl...
>> Hi,
>>
>> I've created a rule for New Lead event.
>> In post URl action, I've specified the url
>> :http://localhost/WebApplication1/WebForm1.aspx
>>
>> In the form load of the webform1.aspx , i wrote the following code.
>>
>> FileInfo fi = new FileInfo(@"D:\CRMDB\CLEAD.txt");
>> StreamWriter s = fi.AppendText();
>>
>> s.WriteLine("AccountID: " + Request.Form["accountid"]);
>>
>> s.WriteLine();
>>
>> s.Close();
>>
>> But this is not working
>>
>> Can anyone help me with this.
>>
>> Thanks and Regards,
>>
>> Raju
>>
>>
>>
>>
>
>



Re: Post URL Action by Stephen

Stephen
Tue Sep 14 05:38:37 CDT 2004

Raju,

Your code works perfectly for me - except only when used with an Account,
not a Lead. You are looking for the accountid value - this would not be
availabe on create of a lead.


Stephen

"Raju" <raju@netgalactic.com> wrote in message
news:%23IzCuEjmEHA.592@TK2MSFTNGP11.phx.gbl...
> Its working in IE
> Thanks for replying.
>
> "Stephen Redmond" <noreply__stephen@crm.ie> wrote in message
> news:%23bEkZ5imEHA.3464@tk2msftngp13.phx.gbl...
>> Does it work OK if you just load
>> http://localhost/WebApplication1/WebForm1.aspx in IE?
>>
>>
>> "Raju" <raju@netgalactic.com> wrote in message
>> news:%23OOSTvimEHA.3452@TK2MSFTNGP15.phx.gbl...
>>> Hi,
>>>
>>> I've created a rule for New Lead event.
>>> In post URl action, I've specified the url
>>> :http://localhost/WebApplication1/WebForm1.aspx
>>>
>>> In the form load of the webform1.aspx , i wrote the following code.
>>>
>>> FileInfo fi = new FileInfo(@"D:\CRMDB\CLEAD.txt");
>>> StreamWriter s = fi.AppendText();
>>>
>>> s.WriteLine("AccountID: " + Request.Form["accountid"]);
>>>
>>> s.WriteLine();
>>>
>>> s.Close();
>>>
>>> But this is not working
>>>
>>> Can anyone help me with this.
>>>
>>> Thanks and Regards,
>>>
>>> Raju
>>>
>>>
>>>
>>>
>>
>>
>
>