Create own App in WEB APP Version 2.1
In this chapter it's described how you can create own App in Application Group WEB APP Version 2.1
1.Open Beas manage server
2.Click "Development"
3.Select and Edit "terminal20"
4.Change to tab "Apps"
5.Click "New"

Defining the basic settings:
1.All not standard apps should start with the prefix "mod_"
Set the long "Description" and the title "Menu Text" for this app
Set the "ID" as (1) the "App Name"
2.Set the icon for this app (we should create the folder and put the icon there)
3.Uncheck the "None Update" option to save this app to file
4.Check that the folder is writable
Finally add this code, and save it.

In Source Code you can insert your Beas Script
Here the object shtml is active and you can define with ? which is sending back to server.
For Standard WEB APP insert follow script:
_header()
gui()
_footer()
return success
           
// -----------------------------------------------------------------------------------------
function gui
    [html]
        <script src="assets21/apps/mod_sample01/i18n/@currentlanguage@.js"></script>
        <script src="assets21/apps/mod_sample01/app.js"></script>
    [/html]
end function
// -----------------------------------------------------------------------------------------
![]()
#jbs
let h=httpsession;
h._header();
h.library("class_extendedSearch","class_attachments",
   '/AppPath/[appId]/i18n/'+h.language+'.js',
   '/AppPath/[appId]/app.js');
h._footer() ;
The _header() and _footer() will load the standard header with appInfo object and footer for our application.
The first script, should contain the translations for the @currentlanguage@.
And the second script is the apps itself.
The next step should be create the folder assets21/apps/mod_sample01 and inside of this folder the files "app.png" (the app icon) and "app.js", and optionally "i18n/XX.js" where XX is the language to translate the app to (EX. ES=Spanish, FR=French, E=English).