You can add a Data query which will use the id URL parameter from the dynamic page route. The data query will use the Supabase integration to fetch data from the Supabase.
@muhammad_asim I am looking for a good example of how to use query params. I am aware of the documentation but on the documentation on how to go from 0 to hero on URL query is not quite clear to me.
The use case I am trying to achieve is that given a link e.g. xxx.xxx/page?param=value. If a user is not logged in, the login page shows and once logged in, the user is directed to the page in question.
Your help on how to achieve this in Plasmic would be appreciated!
If you want to create a redirect - first fill out the dynamic value for the condition. True - means the user is logged in. Most likely that would be something like $ctx.auth.email
Then, you need to handle the case when the condition is equal to false – meaning that the user is not logged in. In order to do that - create an interaction “On condition false” with a “Go to page” action.
Specify the path as the dynamic value which should look something like this.