List Info

Thread: how to add views to a client




how to add views to a client
user name
2006-08-02 14:50:32
This only changes the client, you still need to tell the API which client is current with
 
$p4->SetClient($client);
 
Regards
Giles


From: p4perl-bouncesperforce.com [mailto:p4perl-bouncesperforce.com] On Behalf Of mehta suman
Sent: 02 August 2006 15:18
To: p4perlperforce.com
Subject: [p4perl] how to add views to a client

How can I add view to client dynamically. I am using following code to do this. But thi s isn't working.
 
 
$client = $p4->FetchClient("SumanWin");
$client->{'View'} = "//depot/automation//device/... //SumanWin/suman/...";
$p4->;SaveClient($client);

foreach my $e ( $p4->Errors() )
{
printf( "ERROR: %s\n", $e );
}
 
Thanks
Suman


Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )