How to set page title based on data from a server connect? (NodeJS)

This is what I want to achieve:

So the page title in the browser should be: watch - [Course Title Here] image Note: 3 is taken from the URL right now and is NOT the course title.

But I can’t get the course title yet because that Server Connect action hasn’t run:

I tried following this https://docs.wappler.io/t/sever-side-rendering-with-nodejs/21650 but I can’t set the meta server action there as I’m already using a server action to check if the user is logged in and has permission.image

How do I set the course title in the page title?

Thanks!

Community Page
Last updated: