I’m not sure if I’m doing something wrong or if this is a bug. I’m attempting to create a dashboard with multiple pages using specific files located in C:\ProgramData\UniversalAutomation\Repository\TestDashboard\
Am I supposed to add anything to the files that will be used as the pages? Where do I write the CSS code that FIle1 and File 2 need? Does it still go in each individual file or can I add it to the Home file and add
. (Join-Path $UDScriptRoot "\Home.ps1")
I apologize if these are very basic questions, I’ve never built a dashboard with multiple pages before.
When Viewing Home and clicking on “File Three” I get redirected to http://localhost:5000/Home/File-Three. But if I View File3 directly from VS Code the url is http://localhost:5000/File3/Home
What’s the best way to create pages from multiple ps1 files? I cant do this because I need specific files.
You shouldn’t have to create multiple dashboards for multiple pages.
If you want to use File3.ps1 in your Home dashboard. Just put this in File3.ps1 to see if the output is what you expect. In that case, you can remove the File3 dashboard all together.