You need to sign in to do that
Don't have an account?
cpina
Salesforce Perl module
Hello,
I'm trying to use SalesForce Perl module (documentation is available in . I get from one example:
Code:
But how I can get the result? Using query and select I can get the results executing:
Code:
And is working fine. But, using fine, how I can retrieve the results?
Thank you very much,
Carles
I'm trying to use SalesForce Perl module (documentation is available in . I get from one example:
Code:
#!/usr/bin/perl use Salesforce; my $service = new Salesforce::SforceService; my $port = $service->get_port_binding('Soap'); my $result = $port->login('username' => $user, 'password' => $pass); $result = $port->search('searchString' => 'find {1234} in phone fields returning contact(id, phone, firstname, lastname), lead(id, phone, firstname, lastname), account(id, phone, name)');
But how I can get the result? Using query and select I can get the results executing:
Code:
foreach my $elem ($result->valueof('//searchStringResponse/result/records')) { printf "%s, %s\n", $elem->{Id},$elem->{Name}; }
And is working fine. But, using fine, how I can retrieve the results?
Thank you very much,
Carles