Add custom translators to Dispatcher > Translation menu integration
Create a dispatcher request using a new menu item
To create a new dispatcher request from a newly created menu item, use the createDispatcherRequest method as an exported function from the DispatcherRequestFactory class. This method allows you to create a dispatcher request easily from within your own plug-in by just referencing the main Dispatcher plug-in from Eclipse. Copy
/** * Creates the DispatcherRequest. * * This function allows customers who wish to create a DispatcherRequest * through a menu or other plug-in within Teamcenter. * * [R] = required, [O] = optional * * @param [R] provider - string representing the name of the translator * provider * @param [R] service - string representing the name of the translator * to use * @param [R] priority - integer representing the priority used in * processing the request * @param [O] primaryObjects - array of components selected within * Teamcenter * @param [O] secondaryObjects - array of parent components for the * primary components * @param [O] startTime - time to start the request * @param [O] interval - number of times to repeat request * @param [O] endTime - time at which to stop repeating tasks * @param [O] type - string for user to define user specific type of request * @param [O] requestArgs - name/value arguments to pass to service * * @return true, if create DispatcherRequest * * @throws TCException the TC exception * * @published */
boolean createDispatcherRequest(String provider, String service,
int priority,
TCComponent[] primaryObjects,
TCComponent[] secondaryObjects,
String startTime, int interval, String endTime,
String type, Map<String, String> requestArgs) throws Exception
Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/plm00565/eco1737253046255/uqr1737253048328/new_translate_menu_create_dispatcher_request.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)