📤 Built a useful command? Submit it here — we'll review & add it to the library.

Copy Sys ID

Hint: Copy Sys ID of the current record

Trigger: \copysysid

(function() {
  var sysId = '';

  // Method 1: standard g_form API
  if (typeof g_form !== 'undefined' && g_form.getUniqueValue) {
    sysId = g_form.getUniqueValue();
  }

  if (sysId) {
    navigator.clipboard.writeText(sysId);
  }
})();