Skip to content

Conversation

@ultimatejedi
Copy link

Adds a new button to the agent summary tab that is conditionally displayed if a URL Action named 'RustDesk_Connect' exists.

The button's URL is built dynamically by:

  • Finding the URL Action 'pattern' from the Vuex store
  • Looking up the agent's 'RustDesk_ID' custom field
  • Replacing the {{agent.RustDesk_ID}} placeholder
  • Leaving the {{global.*}} placeholder intact for the backend to process

NOTE: This requires a new Agent Custom Field labelled 'RustDesk_ID'
There is also a modified version of the GetRustDeskID script that will populate the custom field.

Adds a new button to the agent summary tab that is conditionally
displayed if a URL Action named 'RustDesk_Connect' exists.

The button's URL is built dynamically by:
- Finding the URL Action 'pattern' from the Vuex store
- Looking up the agent's 'RustDesk_ID' custom field
- Replacing the {{agent.RustDesk_ID}} placeholder
- Leaving the {{global.*}} placeholder intact for the backend to process

NOTE: This requires a new Agent Custom Field labelled 'RustDesk_ID'
      There is also a modified version of the GetRustDeskID script that will populate the custom field.
@CLAassistant
Copy link

CLAassistant commented Nov 10, 2025

CLA assistant check
All committers have signed the CLA.

@ultimatejedi
Copy link
Author

I forgot to add to the notes that this also requires the URL Action to be set up per the documentation in the format of:
rustdesk://connection/new/{{agent.RustDesk_ID}}

This assumes that you have the Agent level Custom Field named "RustDesk_ID".

@TeamInfoGit
Copy link

Hello !
I might be dumb (Surely), but i cannot seem to find a way to enable this feature even if my custom fields are correctly named and url action as well ?

Do you maybe have the modified version of GetRustDeskID ? Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants