Hi Bernard, I'm try to use someting similar but does not work.
You can explain me how to make this works. my $TicketID = $RPC->Dispatch('user', 'password', 'DynamicFieldValueObject', 'ValueSet', FieldID => 16, #My dynamic Field to modified has this id ObjectID => $TicketData{TN}, UserID => 1, Value => [ { ValueText => $value, },], Regards 2012/8/3 Bernard Chambon <bernard.cham...@cc.in2p3.fr> > 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 >
--------------------------------------------------------------------- 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