On 3/23/06, Irfan J Sayed <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I have written simple script in perl to get the user login name
>
> Following is the script
>
> $sessionobj = $entity->GetSession();
> $username = $session->GetUserLoginName();
> $entity->SetFieldValue("submitter_id", $username);
>
> But when i am running my cq application this hook is not executing and i
> am not getting proper value in field.
>
> Can anybody plz help in this regard.
>
> Regards
> Irfan Sayed

Well, this can't be the entire program because $entity is never
assigned to.  It would also help if you told us what you were
expecting (the proper value doesn't mean anything to us).   Is cq
ClearQuest?  Basically, there is a lot of missing information in your
question that makes it impossible to give you an answer.

You might want to read this article:
http://www.catb.org/~esr/faqs/smart-questions.html

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to