Adding URL Action Example to docs

This commit is contained in:
silversword411 2021-05-19 02:46:51 -04:00
parent a6f7e446de
commit c6b7f23884
5 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,31 @@
# Examples
## Create Run URL Action to Computer support page
This will create a URL link that will take you to the support page for a computer based on the computers Serial Number
1. Goto `Settings | Global Settings | Custom Fields`
Under Agents tab Add Custom Field (CaSe SeNsItIve)
![Custom Field](../images/example1_customfield.png)
2. Create Task (best to use `Settings | Automation Manager` if you want to apply it to all computers). Add script that has an output of the data you want.
![Collector Script](../images/example1_taskcollectorscript.png)
3. Create URL Action (under `Settings | Global Settings | URL ACTIONS`) for Manufacturer websites
![URL Actions](../images/example1_urlaction.png)
Dell Support Page
```
https://www.dell.com/support/home/en-us/product-support/servicetag/{{agent.SerialNumber}}/overview
```
Lenovo Support Page
```
https://www.dell.com/support/home/en-us/product-support/servicetag/{{agent.SerialNumber}}/overview
```

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -23,6 +23,7 @@ nav:
- "User Interface Preferences": functions/user_ui.md
- "Django Admin": functions/django_admin.md
- "Settings Override": functions/settings_override.md
- "Examples": functions/examples.md
- Backup: backup.md
- Restore: restore.md
- Troubleshooting: troubleshooting.md