In Service Studio you can use Web Blocks that are exposed by another eSpace, called, in this context, a Producer eSpace. Simply add these web blocks as eSpace references of your eSpace, called, in this context, a Consumer eSpace.

How to add a web block reference:

  • In a Consumer eSpace, launch Add/Remove References window, select the Producer eSpace in this window and then check the web block that you want.

A web block reference also adds a screen flow reference. See how in Add an eSpace Reference.

Also, web block arguments may cause reference dependencies.


Once a web block is added as an eSpace reference, you can use it like any other web block in your web screens.

How to use a web block reference:

  • Drag the Web Block reference from the Screen Flows folder (in the eSpace tree under the Interfaces layer), and drop it on the screen editor canvas, just like any other web block.

How Web Block References are Executed

A Web Block reference's preparation and screen actions are executed in the context of the Consumer eSpace, that is, within the same database transaction. However, the data content managed by these actions is relative to the Producer eSpace, namely Site properties, Timers, Session Variables, Roles, and Entities. There are exceptions, though: TenantId and TenantName site properties, which are always relative to the Consumer eSpace.

Links within the Producer eSpace are executed within its context, that is, their URLs are "expanded" in the Consumer eSpace so that they contain the complete path to the Producer screen.

In the following examples, eSpace1 is the Producer and eSpace2 the Consumer.

See Also

Add/Remove eSpace References | Expose a Web Block | About Site Properties | Overview of Timers | Use an Entity Reference | About Platform Server Session