Skip to content

Is there a way for a Lobby element's data source query to know which specific lobby page it's currently being executed from (its page ID), so the same data source can behave differently depending on the page displaying it?

Answer

There's no built-in function that returns the current lobby page ID directly to the data source query. The practical workaround is to add your own custom parameter to the data source, and explicitly set that parameter's value on each lobby page that uses it — the pages then distinguish themselves to the shared data source through that parameter's value rather than through an automatically available page identifier.

← Browse Platform, Aurena, and customization questions