Pages

The different types of pages in IFS Aurena Native are grouped into categories:

Detail Page

Detail pages are used to allow the user to do CRUD operations on data and/or show a list of items.

Lists can be shown as either a list button which can be clicked to navigate to a page just showing the full list, or they can be shown as a full list in the lower part of the screen. (See the List element section later for more details.) When a full list is being displayed:

Marble

page CaseDetail using CcCaseSet {
   label = "Case";

   selector CcCaseSelector;

   group CcCaseDescriptionGroup;
   group CcCaseResolutionGroup;

   list CcCaseTaskList(CcCaseTaskArray) {
       details = TaskDetail(CaseId, TaskId);
   }

   commandgroup {
      command AcceptCommand;
      command TakeOwnershipCommand;
   }
   command CreateSolutionCaseCommand;
   command ConnectBusinessObjCommand;
}

Custom create command

By default, detail pages show a create button. This button allows the user to load the details page with a new record prepared. Sometimes it is instead desirable to send the user to an assistant. This can be done using a custom create command:

command CaseDetail_Create {
   mode = Global;
   execute {
      // Executions
   }
}

Before and after CRUD commands

before and after crud actions can be added. The before command is called before a create, update or delete. The after command is called after.

crudactions {
   before command ConfirmSave;
   after command AfterCrud;
}
command AfterCrud for WorkOrder {
   execute {
      if [CrudOperation = "delete"] {
         success("After Delete");
      }
   }
}

Supported Elements & Properties

Command Page

Command pages are used to allow the user to show one markdown text and command groups.

Marble

page CaseDetail {
   page MoreAssistantsPage {
   label = "More Assistants";

   markdowntext {
      text = "This page allows you to launch miscellaneous assistants.";
   }

   command CommandOpenActionedAssistant;

   commandgroup AutoRestart {
      command CommandOpenAutoRestartAssistant;
      command CommandOpenDynamicAutoRestartAssistant;
   }

   commandgroup StateTests {
      command CommandOpenStateTestAssistant;
      command CommandOpenDynamicStateTestAssistant;
   }
}

If a page has one markdown text and commands, it will be classed as a Command Page.

Supported Elements & Properties