0 votes

Dear Support,
I have a PS script, which as result has a DataTable of assets assigned to user in external system.
I would like to show this data in Web interface - so a script based report was my first thought.
Can you please advise how to properly show the DataTable in script based report?

Thank you!

by (850 points)

1 Answer

0 votes
by (223k points)
selected by
Best answer

Hello Dmytro,

You can connect to the external system in your script, get information from the DataTable and then add the information to corresponding report custom columns. For information on how to work with DataTables, you can check the following Microsoft article: https://docs.microsoft.com/en-us/dotnet ... mework-4.8. For details on creating reports, have a look at the following tutorial: https://www.adaxes.com/tutorials_Active ... Report.htm. The following part of the tutorial shows different approaches for adding items to reports: https://www.adaxes.com/tutorials_Active ... #collapse5.

Related questions

0 votes
1 answer

We would like to use the "Rule Based Groups" functionality that Adaxes has to create distribution groups where we have one group per manager and the members are the user ... so that the link doesn't break when changes happend to the managers AD object?

asked Oct 27, 2021 by odsven (1.8k points)
0 votes
1 answer

Hi smart people! I'm using this script: http://www.adaxes.com/script-repository ... t-s423.htm Which works great for sending an email to someone, listing their direct ... body of the email at once would be greatly appreciated! Thanks for any and all replies!

asked Mar 24, 2017 by 3Jake (150 points)
0 votes
1 answer

Receive "Index operation failed; the array index evaluated to null. Stack trace: at <ScriptBlock>, <No file>: line 104>" and "Index operation failed; the ... $GroupName, $GroupDN." } } #foreach write-output "" Write-Output "" Stop-Transcript

asked Apr 14 by jbahou (20 points)
0 votes
1 answer

Good Evening I don't know if this is possible, but can we use the API and get a report from adaxes. The report is Reports\All Reports\Groups\Membership "Users' membership ... the groups and it will generate an API to adaxes and return a PDF report. Thank you

asked May 23 by Sandberg94 (270 points)
0 votes
1 answer

Hi there, I am trying creating a report in Adaxes a set of users and looking to add a few group names as column with value 'Yes' or 'No' based on if user is member of ... Value = "Yes" } else{ $Context.Value = "No" } Would appreciate any help in this aspect.

asked May 6 by Vish539 (120 points)
2,761 questions
2,495 answers
6,538 comments
1,483,312 users