Notification

Icon
Error

Create a custom asset within a widget

Posted: Thursday, December 10, 2015 11:31:22 AM(UTC)
INNO-IT

INNO-IT

Member Alpha Tester Original PosterPosts: 9
0
Like
This issue has been solved! Click here to view the solution
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.
Susan.A
#1Susan.A Member Administration Posts: 1,536  
posted: 12/10/2015 9:54:37 PM(UTC)
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.

Active Discussions

Lansweeper End of Life Asset Report
by  DJ Bradley   Go to last post Go to first unread
Last post: Today at 1:46:14 PM(UTC)
Lansweeper Translation settings not saved
by  Brandon  
Go to last post Go to first unread
Last post: Yesterday at 2:10:22 PM(UTC)
Lansweeper Combobox translation
by  sneagele   Go to last post Go to first unread
Last post: Yesterday at 2:03:45 PM(UTC)
Lansweeper Freelance for Lansweeper Deploy?
by  Brandon  
Go to last post Go to first unread
Last post: 5/7/2021 6:32:21 PM(UTC)
Lansweeper Installation issues
by  Richie_Rich   Go to last post Go to first unread
Last post: 5/6/2021 11:29:09 PM(UTC)
Lansweeper Cloud relay data stored time
by  Richie_Rich  
Go to last post Go to first unread
Last post: 5/6/2021 11:14:42 PM(UTC)
Lansweeper Custom attributes from AD
by  dhoward   Go to last post Go to first unread
Last post: 5/6/2021 11:10:45 PM(UTC)
Lansweeper User View Customization
by  DarkOne77  
Go to last post Go to first unread
Last post: 5/6/2021 10:50:30 PM(UTC)