Client Action/Server Action Function set Yes

95 阅读1分钟

Action

Action that runs logic on the client side.

Exposed Client Action

An Action cannot be exposed when:

  • It has a parameter that is defined using an Entity/Structure that is not exposed.
  • It has a parameter that is defined using an Entity/Structure that is reused from another module.

In case the execution of the Producer and Consumer modules are under different User Providers, the modules have different sessions. In this case, variables associated to the session can hold different values between modules.

Client Action

NameDescriptionMandatoryDefault valueObservations
FunctionSet to Yes to define the action as a function. Functions must return a value and can be used in expressions.YesNo此属性仅在全局作用域操作中可用。客户端操作设置为函数只能在客户端操作表达式中使用.

Server Action

NameDescriptionMandatoryDefault valueObservations
FunctionSet to Yes to define the action as a function. Functions must return a value and can be used in expressions.YesNo此属性仅在全局作用域操作中可用。设置为函数的服务器操作只能在服务器操作表达式中使用.