How is one supposed to use the undocumented
RT::Interface::Web::ProcessObjectCustomFieldUpdates?

Based on instances of use in RT I've tried the following,
but it does not seem to work; though it reports no errors.

        my $ticket = new RT::Ticket($session{'CurrentUser'});
        $ticket->Load($refid);
        push @results, ProcessObjectCustomFieldUpdates( ARGSRef =>{
          'Object-RT::Ticket-'.$refid.'-CustomField-Landlord'=>
          '[https://rt.cambenergy.org/Admin/Users/Landlord.html?id='. $val
        }, Object => $ticket );

This is in a modified copy of Admin/Users/Modify.html after the call to create,
and is meant to replace the value of the CF in the referring ticket
(passed in as
$refid via the Wikitext patch for placeholders) with a link to
view/modify the newly
created user.

-- 
Cambridge Energy Alliance: Save money & the planet
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to