Now I think I've found the difference with the ITSMConfigItemLayoutCustomer.pm. Using it, the post after the button select pressed is that "xxx::1::Select=" is filled with a string that could be used correctly in the search instead of my agent.pm that use the user's key value... still stuck on this :D
On Tue, Mar 2, 2010 at 11:47 AM, Marco Vannini <[email protected]>wrote: > Hi all, > > I'm trying to assign a responsible to some kind of CI. Because of Agent > type is not present I'm trying to configure it, so... > > I defined a CI with a block that looks like: > > [...] > { > Key => 'Agent', > Name => 'Focal Point', > Searchable => 1, > Input => { > Type => 'Agent', > }, > }, > [...] > > Copied and modified ITSMConfigItemLayoutDummy.pm and Dummy.pm (in XML/Type) > as *Agent.pm. > > Now. I've the form correctly configured to have the 'Focal Point' displayed > and searchable, in fact it display me all the agent I have and the Select > button is displayed but, when I select the desired agent it is not then > refreshed on the page in the 'Focal Point' field... > > Sniffing network traffic I see the post containing: > > ChallengeToken=bd9a0892a0c9b616af56332b6439e194 > Action=AgentITSMConfigItemEdit > Subaction=VersionSave > ClassID=110 > ConfigItemID=NEW > Name=da > DeplStateID=120 > InciStateID=13 > Description::1=das > Agent::1=2 > Agent::1::Search=vannini > Agent::1::Select=2 > Agent::1::ButtonSelect=Select > > > What I'm missing ? > > > Thank in advance > > MV > >
--------------------------------------------------------------------- OTRS mailing list: itsm - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/itsm To unsubscribe: http://lists.otrs.org/mailman/listinfo/itsm NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
