
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-02-2020 10:10 AM
Hi,
Does anyone have any code examples to allow me to click a button in a custom widget and this updates a completely seperate SQL Database, I can write the SQL, it just not allowing me to run a OnButtonClick_ event in the code behind, I just receive either a 404 error or nothing happens?
It doesn't seem to be able to associate the Button and the click even?
Cheers
Andy
Does anyone have any code examples to allow me to click a button in a custom widget and this updates a completely seperate SQL Database, I can write the SQL, it just not allowing me to run a OnButtonClick_ event in the code behind, I just receive either a 404 error or nothing happens?
It doesn't seem to be able to associate the Button and the click even?
Cheers
Andy
Solved! Go to Solution.
Labels:
- Labels:
-
General Discussion
1 ACCEPTED SOLUTION

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-03-2021 04:52 PM
Thanks Don for the suggestion , I have got round the issue now by importing all the data into the Lansweeper Database
4 REPLIES 4

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-03-2021 04:52 PM
Thanks Don for the suggestion , I have got round the issue now by importing all the data into the Lansweeper Database

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-02-2021 09:29 PM
You could setup a custom asset/user action in lansweeper and have that action call a powershell script which can then run code to do the sql database updates you require

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2021 03:01 PM
Andy.S wrote:
Hi,
Does anyone have any code examples to allow me to click a button in a custom widget and this updates a completely seperate SQL Database, I can write the SQL, it just not allowing me to run a OnButtonClick_ event in the code behind, I just receive either a 404 error or nothing happens?
It doesn't seem to be able to associate the Button and the click even?
Cheers
Andy
Hi Andy,
Did you find a solution regarding this?
Kind regards,

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2021 04:13 PM
No unfortunately not ?
