in my application i created 2 site properties and i am trying to use those in, default applicationTitle block but its not showing, any reasons ?
It depends a bit on your exact use case, but your best option would probably be to create a server action to retrieve the site property value, indeed.
Hi Priya,
Site properties are only available on the server side. It seems like you're trying to use them in some sort of client side logic here, which does not have access to server side information. You'll need to retrieve the data from the server first, before you can use it on the client side.
yes in client side only, based on if condition i need to redirect different urls, so now since i cant use site properties here
1)so either i need to hardcode urls
or
2) i need to create one server action and there i need to get siteproperty value
and as output ?
please suggest