cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
INNO-IT
Engaged Sweeper II
Hi,

we want to develop a widget which is generating a hostname. After this the widget should create an asset in the lansweeper database with the generated hostname.
After deploying the computer with this hostname, the remaining details should be scanned.

How can we create an asset manually in the lansweeper database without using the lansweeper GUI? Is it possible to create an asset by using SQL-Syntax. Which informations are neccessary to create an asset?

Thank you.
1 ACCEPTED SOLUTION
Susan_A
Lansweeper Alumni
If your Lansweeper database is hosted in SQL Server, it is fully open to external interfaces and you can insert data directly into the database. We can't really provide instructions or support for this, but this forum thread discusses the required asset fields. Database connection details can be found in Program Files (x86)\Lansweeper\Service\Lansweeperservice.exe.config.

If these assets will be scanned at some point, you'll need to ensure that you submit all of the information we use to uniquely identify assets. Otherwise, new assets will be generated. More info on how Lansweeper uniquely identifies assets can be found here.

View solution in original post

1 REPLY 1
Susan_A
Lansweeper Alumni
If your Lansweeper database is hosted in SQL Server, it is fully open to external interfaces and you can insert data directly into the database. We can't really provide instructions or support for this, but this forum thread discusses the required asset fields. Database connection details can be found in Program Files (x86)\Lansweeper\Service\Lansweeperservice.exe.config.

If these assets will be scanned at some point, you'll need to ensure that you submit all of the information we use to uniquely identify assets. Otherwise, new assets will be generated. More info on how Lansweeper uniquely identifies assets can be found here.