Hello everyone,
I am currently facing the challenge of integrating existing apps into pages. Unfortunately, I couldn’t find any way to integrate them in the documentation. We are using PSU with IIS. I would be grateful for any help.
I am basically trying to integrate an app, but I don’t know how to proceed in terms of code. For example: I have a separate app that creates a reporting of AD group members. I am currently trying, unsuccessfully due to a lack of knowledge, to integrate this app.
However, if I place the entire code on the aforementioned page, it works. Nevertheless, I would prefer to keep it separate.
heya, Im not 100% sure on the integration bit, but Ill give you one example we use for some things that might be in the right area
Using the example of having a report of AD members, If I wanted to have that show on two pages in one or more apps then the way I have been doing this is:
Place the AD code in a module with a function - something like Get-ADGroupMemberData and it returns a list of the members and any data you want about them
Create a function in a module that creates the UD-Table. like
On any page that I want to display this table i can then put a single call to New-UDTableOfADGroupMembers
In reality of you did it this way you’d probs add some params to the call so you could specify the group, or use a search to add to it,
Im sure theres other ways too - eg the Get-ADMemberData method could be a script so it can be used from the portal directly or scheduled for some purpose, etc.
Thank you, Trigger, this is exactly what I was looking for. I also found another solution, which I will post at the end, but it does not adopt the design of the dashboard. Therefore, I took the liberty of incorporating and adapting your code. It works wonderfully, thank you very much for that. Here is another alternative I used: