Hello,

Ok, I found the syntax :

Something like the following seems to works .

Value    => [
 {
  ValueText => '123',           
 },
 , 


Regards

Le 2 août 2012 à 16:21, Bernard Chambon a écrit :

> Hello,
> 
> HAs anyone try to set a dynamic field, using SOAP protocol, with PERL 
> language ?
> 
> To me more concrete, I write a PERL code to create and update ticket, That's 
> ok.
> 
> I want to set a dynamic fiel with something like : 
> 
>   $rc = $RPC->Dispatch($SOAP_User, $SOAP_Pass, 'DynamicFieldValueObject', 
> 'ValueSet',
>                        FieldID  =>  '123',                    
>                        ObjectType => 'Ticket ,
>                        ObjectID => $ticketID,
>                        UserID   => $userID,
>                        Value    => ?, 
>                       );
> 
> 
> The question is : what to give to Value ?
> Looking at DynamicFieldValue.pm (Kernel/System/), It seems that it must be an 
> ARRAY of HASH
> 
> Thanks for helps
> 
> Regards
> 
> ---------------
> Bernard CHAMBON
> IN2P3 / CNRS
> 04 72 69 42 18
> 
> ---------------------------------------------------------------------
> OTRS mailing list: otrs - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs
> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

---------------
Bernard CHAMBON
IN2P3 / CNRS
04 72 69 42 18

---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Reply via email to