cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
aslam2510
Engaged Sweeper
We have created a custom table with data and we want to use created table in report using joining multiple (Custom and LanSweeper) tables.

I have checked the Lansweeper portal to create report, the custom table is not visible. Please advise how to proceed with my requirement.
4 REPLIES 4
Anonymous
Not applicable
I guess my "lansweeperuser" doesn't have access yet to that database.
Anonymous
Not applicable
Dennis Gewillig wrote:
I guess my "lansweeperuser" doesn't have access yet to that database.



It was indeed that
FrankSc
Lansweeper Tech Support
Lansweeper Tech Support
Hello,

If you wish to use custom tables in the report builder, you can add the table in the XML file that you can find in C:\Program Files (x86)\Lansweeper\Website\App_Data on your Lansweeper.
Only the objects listed in that XML can be used in reports.

Do note that this XML could be overwritten/modified with an update of the application.
Anonymous
Not applicable
FrankSc wrote:
Hello,

If you wish to use custom tables in the report builder, you can add the table in the XML file that you can find in C:\Program Files (x86)\Lansweeper\Website\App_Data on your Lansweeper.
Only the objects listed in that XML can be used in reports.

Do note that this XML could be overwritten/modified with an update of the application.




Hello,
I had a similar question and came to this post.
I tried modifying the xml file by adding the following code above the <\metadata>, but after adding it, I'm receiving an error when I want to create or modify a report.


<database name="AccessManagement">
<schema name="dbo" default="True">
<table name="ACL_Folder">
<field name="id" type_name="nvarchar" type="String" size="max" />
<field name="Path" type_name="nvarchar" type="String" size="max" />
<field name="DataOwner" type_name="nvarchar" type="String" size="max" />
<field name="Groupname" type_name="nvarchar" type="String" size="max" />
<field name="Inheritance" type_name="nvarchar" type="String" size="max" />
<field name="IsInherited" type_name="nvarchar" type="String" size="max" />
<field name="AccessControlType" type_name="nvarchar" type="String" size="max" />
<field name="FileSystemRights" type_name="nvarchar" type="String" size="max" />
<field name="PropagationRights" type_name="nvarchar" type="String" size="max" />
<field name="timestamp" type_name="nvarchar" type="String" size="max" />
</table>
</schema>

</database>



The error that I receive is : "startIndex cannot be larger than length of string. Parameter name: startIndex"