Hello everyone, I’m currently stuck on a problem that I’d like to briefly describe.
I have created an app using PSU. From this app, I want to trigger a script and store the result in a variable for further processing.
The execution works, and I can display all values using Show-UDToast, for example $($data.path). However, I now want to create a table using these values along with additional details such as path, identity, and access.
Unfortunately, the data is not being processed correctly, and the result is 0.
@Marco Here’s an example of a card I have on an app that gets a list of apps, based on some criteria, and displays them in a table. It’s the closest I currently have to what you are attempting. I grab the data in a function, assign it to a variable, pass that variable to the table’s -Data parameter then use $EventData.xxx to create a clickable link (or you can do other things in the table with $EventData. Hope it helps.
@AMurphy-Leavitt After several attempts, I have now arrived at the result. I had to capture the $result from the invoke-psuscript with a $Session:data so that I could process it further. Sometimes it can be so simple when you use the right values