This is a draft of a pontential new profile to demostrate the use of:
  • Email sending when using Plugin Tracker to save a record in one tracker (like "Store Alarm code" in this example), but use as recipient or destination a specific email stored in another tracker ("Stores Database").

General Preferences

YAML
preferences: browsertitle: A demo of email notification via linked trackers error_reporting_adminonly: n error_reporting_level: -1 feature_categories: y feature_jquery_tablesorter: y feature_trackers: y feature_userPreferences: y feature_wiki_argvariable: y log_mail: y tracker_change_field_type: y trackerfield_autoincrement: y trackerfield_computed: y trackerfield_dropdownother: y trackerfield_dynamiclist: y trackerfield_file: y trackerfield_groupselector: y trackerfield_ingroup: y trackerfield_ipaddress: y trackerfield_itemslist: y trackerfield_usergroups: y trackerfield_userpreference: y user_selector_realnames_messu: y user_selector_realnames_tracker: y user_show_realnames: y users_prefs_show_mouseover_user_info: y users_prefs_user_information: public wiki_edit_icons_toggle: y


1.2. Tracker 'Store Database'

YAML
--- preferences: objects: - type: tracker ref: store_database data: name: Store database description: > This is the master store database restrict_end: 0 section_format: flat restrict_start: 0 show: - modification_date - type: tracker_field ref: store_database_f_162 data: name: Store number permname: f_162 tracker: $profileobject:store_database$ options: samerow: 1 dec_point: . thousands: , type: numeric order: 0 flags: - link - list - searchable - public - mandatory - type: tracker_field ref: store_database_f_164 data: name: City permname: f_164 tracker: $profileobject:store_database$ options: samerow: 1 type: text_field order: 20 flags: - list - searchable - public - type: tracker_field ref: store_database_stateProvince data: name: State / Province permname: stateProvince tracker: $profileobject:store_database$ options: samerow: 1 type: text_field order: 30 flags: - searchable - public - type: tracker_field ref: store_database_f_165 data: name: Phone number permname: f_165 tracker: $profileobject:store_database$ options: samerow: 1 type: text_field order: 40 description: Store phone number (main) flags: - list - searchable - public - type: tracker_field ref: store_database_alarmInformation data: name: Alarm information permname: alarmInformation tracker: $profileobject:store_database$ options: level: 1 toggle: o type: header order: 50 flags: - searchable - public - type: tracker_field ref: store_database_alarmCompany data: name: Alarm Company permname: alarmCompany tracker: $profileobject:store_database$ options: options: - CompanyFoo - CompanyBar type: dropdown order: 60 flags: - list - searchable - public - type: tracker_field ref: > store_database_userToBeNotifiedOfChangesToAlarmCodes data: name: > User to be notified of changes to Alarm Codes permname: userToBeNotifiedOfChangesToAlarmCodes tracker: $profileobject:store_database$ options: type: email order: 70 description: This is the Alarm company's email flags: - list - public - type: tracker_field ref: store_database_alarmCompanyAccountNumber data: name: Alarm Company Account number permname: alarmCompanyAccountNumber tracker: $profileobject:store_database$ options: samerow: 1 type: text_field order: 80 flags: - list - searchable - public - type: tracker_field ref: store_database_director data: name: Director permname: director tracker: $profileobject:store_database$ options: groupIds: - 0 showRealname: 1 type: user order: 90 flags: - list - searchable - public - type: tracker_field ref: store_database_supervisor data: name: Supervisor permname: supervisor tracker: $profileobject:store_database$ options: groupIds: - 0 showRealname: 1 type: user order: 100 flags: - list - searchable - public - type: tracker_field ref: store_database_otherInformation data: name: Other information permname: otherInformation tracker: $profileobject:store_database$ options: level: 1 toggle: o type: header order: 110 flags: - searchable - public - type: tracker_field ref: store_database_f_200 data: name: General Comments permname: f_200 tracker: $profileobject:store_database$ options: distinct: n wysiwyg: n samerow: 1 type: text_area order: 120 flags: - searchable - public - type: tracker_option ref: store_database_sort_default_field data: tracker: $profileobject:store_database$ name: sort_default_field value: $profileobject:store_database_f_162$


1.3. Tracker 'Store Alarm Codes'

YAML
--- preferences: objects: - type: tracker ref: store_alarm_codes data: name: Store Alarm codes description: | See also: {button href="tracker11" _text="Manage Store Database"} restrict_end: 0 email: email1@example.com section_format: flat restrict_start: 0 - type: tracker_field ref: store_alarm_codes_storeNumber data: name: Store number permname: storeNumber tracker: $profileobject:store_alarm_codes$ options: trackerId: $unknownobject:5735b3b78f237$ fieldId: $unknownobject:5735b3b78f2bf$ displayFieldsList: - $unknownobject:5735b3b78f34d$ - $unknownobject:5735b3b78f2bf$ status: opc addItems: Add item... preSelectFieldMethod: crossSelect displayOneItem: multi indexRemote: - 0 type: item_link order: 0 flags: - list - searchable - public - type: tracker_field ref: store_alarm_codes_name data: name: Employee Name permname: name tracker: $profileobject:store_alarm_codes$ options: autoassign: 2 groupIds: - 0 showRealname: 1 type: user order: 10 flags: - link - list - searchable - public - mandatory - type: tracker_field ref: store_alarm_codes_position data: name: Position permname: position tracker: $profileobject:store_alarm_codes$ options: samerow: 1 type: text_field order: 20 flags: - list - searchable - public - type: tracker_field ref: store_alarm_codes_code data: name: Alarm Code permname: code tracker: $profileobject:store_alarm_codes$ options: samerow: 1 type: text_field order: 30 flags: - list - searchable - public - type: tracker_field ref: store_alarm_codes_homePhone data: name: Home phone permname: homePhone tracker: $profileobject:store_alarm_codes$ options: samerow: 1 type: text_field order: 40 flags: - list - searchable - public - type: tracker_field ref: store_alarm_codes_cellPhone data: name: Cell phone permname: cellPhone tracker: $profileobject:store_alarm_codes$ options: samerow: 1 type: text_field order: 50 flags: - list - searchable - public - type: tracker_field ref: > store_alarm_codes_directorFromStoreDatabase data: name: Director permname: directorFromStoreDatabase tracker: $profileobject:store_alarm_codes$ options: trackerId: $unknownobject:5735b3b78f237$ fieldIdThere: $unknownobject:5735b3b78f2bf$ fieldIdHere: > $profileobject:store_alarm_codes_storeNumber$ displayFieldIdThere: - $unknownobject:5735b3b78f6fc$ status: opc type: item_list order: 60 description: This comes from Store Database flags: - list - searchable - public - type: tracker_field ref: store_alarm_codes_supervisor data: name: Supervisor permname: supervisor tracker: $profileobject:store_alarm_codes$ options: trackerId: $unknownobject:5735b3b78f237$ fieldIdThere: $unknownobject:5735b3b78f2bf$ fieldIdHere: > $profileobject:store_alarm_codes_storeNumber$ displayFieldIdThere: - $unknownobject:5735b3b78f842$ status: opc type: item_list order: 70 description: This comes from Store Database flags: - list - searchable - public - type: tracker_field ref: store_alarm_codes_alarmCompany data: name: Alarm Company permname: alarmCompany tracker: $profileobject:store_alarm_codes$ options: trackerId: $unknownobject:5735b3b78f237$ fieldIdThere: $unknownobject:5735b3b78f2bf$ fieldIdHere: > $profileobject:store_alarm_codes_storeNumber$ displayFieldIdThere: - $unknownobject:5735b3b78f97c$ status: opc type: item_list order: 80 description: This comes from Store Database flags: - list - searchable - public - type: tracker_field ref: store_alarm_codes_alarm data: name: Alarm Company Account number permname: alarm tracker: $profileobject:store_alarm_codes$ options: trackerId: $unknownobject:5735b3b78f237$ fieldIdThere: $unknownobject:5735b3b78f2bf$ fieldIdHere: > $profileobject:store_alarm_codes_storeNumber$ displayFieldIdThere: - $unknownobject:5735b3b78fab8$ status: opc type: item_list order: 90 description: This comes from Store Database flags: - list - searchable - public - type: tracker_field ref: store_alarm_codes_emailToBeNotified data: name: Email to be notified of changes permname: emailToBeNotified tracker: $profileobject:store_alarm_codes$ options: trackerId: $unknownobject:5735b3b78f237$ fieldIdThere: $unknownobject:5735b3b78f2bf$ fieldIdHere: > $profileobject:store_alarm_codes_storeNumber$ displayFieldIdThere: - $unknownobject:5735b3b78fbe6$ status: opc type: item_list order: 100 flags: - list - public - type: tracker_field ref: store_alarm_codes_statusOfTheCode data: name: Status of the code permname: statusOfTheCode tracker: $profileobject:store_alarm_codes$ options: options: - Valid - Cancelled type: dropdown order: 110 flags: - list - public - type: tracker_option ref: store_alarm_codes_sort_default_field data: tracker: $profileobject:store_alarm_codes$ name: sort_default_field value: modification