Free Page Logic

Introduction

Free Page Logic supports C#, and executes before rendering Page.

The customised code interface available in the Free Page logic can be found in the interface under FormRender.

Overall Variable

Variable name Type Remarks
RouteData Dictionary<string, object> Route information, including customized route variables such as {KEY}, and RouteData["KEY"] can be extracted from the modified object.
InputData Dictionary<string, object> Input information, which is consistent with RouteData during initialization. RouteData is used mostly in actual operation.
User CurrentUser User information of current login user
Service namespace Call available API by Service.MethodName()

Return Object

  • Introduction:Return object of Free Page Render Logic. You can modify the InputData through Free page logic, and the complete return value object can be obtained through the JS window object. window.CustomCodeResultData
  • Object Name:ReturnData
  • Detailed fields:
Attribute Type Remarks
RouteData Dictionary<string, object> Default route information
InputData Dictionary<string, object> Customized return value, exceptions: key is "metadata", value is Dictionary,and system can automatically override the default values according to this Dictionary.
CurrentUser CurrentUser User information of current login user
Json string No practical effect
© Digital Maker Product Team all right reserved,powered by Gitbook该文件修订时间: 2022-08-16 10:55:23

results matching ""

    No results matching ""