UI Interface System Error

I am getting an error for this where it says:

The System Has Encountered an Error

The system has encountered an error. Please try again later.

I have no error logs that tell me what is going on or anything

This is the code that I am dealing with:

a!localVariables(
  local!selection:0,
  local!search,
  local!date,
  {
    a!billboardLayout(
      backgroundMedia: a!documentImage(
        document: cons!MAP_DOC_HEADER_IMAGE[2]
      ),
      backgroundColor: "#f0f0f0",
      height: "SHORT",
      overlay: a!barOverlay(
        contents: {
          a!richTextDisplayField(
            label: "Rich Text",
            labelPosition: "COLLAPSED",
            value: {
              a!richTextItem(
                text: {
                  "Source Foundation Geomatics Production Management Tool "
                },
                size: "LARGE"
              )
            }
          )
        }
      )
    ),
    choose(
      local!selection+1,
      {
        a!richTextDisplayField(
          labelPosition: "COLLAPSED",
          value: {
            a!richTextItem(
              text: "What do you need to do?",
              color: "ACCENT",
              size: "LARGE"
            )
          },
          align: "CENTER"
        ),
        a!columnsLayout(
          columns:{
            a!columnLayout(),
            a!columnLayout(
              contents: {
                a!cardLayout(
                  contents: {
                    a!richTextDisplayField(
                      labelPosition: "COLLAPSED",
                      value: {
                        a!richTextIcon(
                          icon: "pencil-square-o",
                          color: "#8CA1D0",
                          size: "LARGE"
                        ),
                        a!richTextItem(
                          text: {
                            "Create Order"
                          },
                          color: "ACCENT",
                          size: "LARGE",
                          style: {
                            "STRONG"
                          }
                        ),
                        a!richTextItem(
                          text: {
                            "Enter a new order into the system"
                          },
                          size: "SMALL"
                        )
                      },
                      align: "CENTER"
                    )
                  },
                  link: a!dynamicLink(
                    value:1,
                    saveInto: local!selection
                  ),
                  height: "MEDIUM"
                )
              },
              width: "MEDIUM"
            ),
            a!columnLayout(
              contents: {
                a!cardLayout(
                  contents: {
                    a!richTextDisplayField(
                      labelPosition: "COLLAPSED",
                      value: {
                        a!richTextIcon(
                          icon: "list-ul",
                          color: "#8CA1D0",
                          size: "LARGE"
                        ),
                        a!richTextItem(
                          text: {
                            "View Orders"
                          },
                          color: "ACCENT",
                          size: "LARGE",
                          style: {
                            "STRONG"
                          }
                        ),
                        a!richTextItem(
                          text: {
                            "Track and update existing orders"
                          },
                          size: "SMALL"
                        )
                      },
                      align: "CENTER"
                    )
                  },
                  link: a!dynamicLink(
                    value:2,
                    saveInto: local!selection
                  ),
                  height: "MEDIUM"
                )
              },
              width: "MEDIUM"
            ),
            a!columnLayout(
              contents: {
                a!cardLayout(
                  contents: {
                    a!richTextDisplayField(
                      labelPosition: "COLLAPSED",
                      value: {
                        a!richTextIcon(
                          icon: "check-square-o",
                          color: "#8CA1D0",
                          size: "LARGE"
                        ),
                        a!richTextItem(
                          text: {
                            "Process Orders"
                          },
                          color: "ACCENT",
                          size: "LARGE",
                          style: {
                            "STRONG"
                          }
                        ),
                        a!richTextItem(
                          text: {
                            "View and complete tasks assigned to you"
                          },
                          size: "SMALL"
                        )
                      },
                      align: "CENTER"
                    )
                  },
                  link: a!dynamicLink(
                    value:3,
                    saveInto: local!selection
                  ),
                  height: "MEDIUM"
                )
              },
              width: "MEDIUM"
            ),
            a!columnLayout()

          }
        )
      },
      {
        a!richTextDisplayField(
          value:a!richTextItem(
            text:{
              a!richTextIcon(icon:"arrow-left"),
              " Go Back"
            },
            link:a!dynamicLink(value:0,saveInto: local!selection)
          )
        ),
        rule!PMT_orderButtons(
          search: local!search,
          date: local!date
        )
      },
      {
        a!richTextDisplayField(
          value:a!richTextItem(
            text:{
              a!richTextIcon(icon:"arrow-left"),
              " Go Back"
            },
            link:a!dynamicLink(value:0,saveInto: local!selection)
          )
        ),
        rule!MAP_ordersGrid(
          search: local!search,
          date: local!date
        )
      },

      {
        a!richTextDisplayField(
          value:a!richTextItem(
            text:{
              a!richTextIcon(icon:"arrow-left"),
              " Go Back"
            },
            link:a!dynamicLink(value:0,saveInto: local!selection)
          )
        ),
        rule!TKV_MyTasks(batchSize: 10)
      }
    )
  }
)

Parents Reply Children

 Discussion posts and replies are publicly visible