In Service Studio you can use actions that are exposed by another eSpace or extension, called, in this context, a Producer. Simply add these actions as eSpace reference of your eSpace, called, in this context, a Consumer eSpace.

How to Add an Action Reference:

  • In the Consumer eSpace, launch the Add/Remove References window, select the Producer eSpace or extension in this window and then check the action that you want.

Once actions are added as references, you can use them in your eSpace:

How action references are executed

The action that you added as a reference is executed in the context of the Consumer eSpace, that is, within the same database transaction. However, the data contents managed by this action are relative to the Producer eSpace, namely Site properties, Timers, Session Variables, Roles, and Entities. There is one exception, though, for TenantId and TenantName site properties, which are always relative to the Consumer eSpace. The execution context is exactly the same whether or not the action is set as a function.

Note that in a Single Sign-On scenario there is only one session and there some relevant differences, namely in the session variables behavior.

Extension action references execute, exclusively, in the context of the Consumer eSpace.

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

See Also

Add/Remove eSpace References | Expose an Action | About Platform Server Session