How To Create Netigma Mobile Application?
The App Menu
The app menu is managed witihn the Meta/MenuEditIframe.aspx?Scope=Mobile adress. The first thing to do is, filling MAINMENU and TOPMENU sections. The menu elements that is attached to MAINMENU will be displayed in the application's main menu and similarly the menu items that are attached to TOPMENU, will be placed on the top drop-down menu.
In the following figures, BELNET SSL and Netigma Mobile expressions are obtained from, Netigma's parameter server settings.
Main Menu and Top Menu
The menu items that are added under MAINMENU will be displayed in the application's main menu. Menus can be grouped(optional). In order to do this, the group name must be written in the Menu Group Text property. One of the innovations that comes within Netigma 4.1 is that menu items can be grouped. As shown below, menu items are shown in groups called Tapu, Belnet and Sample Group. Transition between groups can done by scrolling left and right. If grouping is not done, all items will be grouped under "Main Menu". How to add group information for the menus will be explained below. Simple Web Link must be selected and the appropriate Url value must be entered. Bootstrap Glypicons are available for the image features. Simply write the appropriate icon name in the link to the Image feature. The icons in the icons.html page under the Netigma app can also be used.
The query to be used in the mobile application should be prepared and the menu should be created as described above. For the geofenis_is object, the created query, MobilFenisSorgu query, must have URL as mgenelsorgu.aspx?Query =geofenis_is.MobilFenis. Here, the mgenelsorgu.aspx page is a simplified custom query page for Netcad Online applications.
The things should be considred for queries:
How to add Query Page to the Main Menu?(E.g.The Fen Is Query)
The columns added to the query result are displayed in the query result screen in the order in which they are added to the list. The first column in the row is dark. Each row is displayed with 3 column display editors in a row. It is not recommended to use editors other than Default and Unified Field Display editors.When touch to one record, all columns with the next third row of columns will be displayed as name - value. Up to 250 entries can be displayed. .
The Action Links
Info card, reporting and mapping actions can be added to the query result. If you scroll from right to left in the corresponding row, the actions links menu appears. It is advised, not to add more than 3 type of actions. Instead of giving actions to the data columns (instead of performing a simple web connection action on the object), non-SQL virtual column must be added and simple web link action type should be selected.
Pages that can be linked.
sorgu sonucu ve işlem linkleri
Adding Info Card as a Query Result
In order to be able to open the information card of a record from the query result, a web link action type must be added to the query result collection. The URL property of the web link must be written in Mgenelbilgiformu.aspx. The KODU and BFORM keys must be added to the parameters of the web link. (As in the Netigma web application). A suitable form must be selected as a value for the BFORM parameter. It should be ensured that there is not much fields in the selected form.
Viewing The Info Card
If the query result has information card type of action, the user can see the info card link with swipe operation. When the link is clicked, the netigma form will be opened as the parameter (BFORM) for the web operation. The form is no different from Netigma web applications forms. In mobile forms, Simple form editors may be suitable to be used. (e.g. text box, drop-down lists etc.). Also it should be ensured that there is not too much fields in the form.
Adding and Viewing Files
A file attachment type of editor can be added to the information form and a file can be added to the corresponding entry. Files previously added, can be accessed by clicking on the file icon at the top of the Info form screen.
Going to Map from Query Result
In order to go to the map from the query result, a link with the Mobile Map Link must be added to the query result. In the text property, a short phrase such as Map should be used and a suitable bootstrap icon should be selected. The layer property must also be shown in the Netcad Layer manager.
When the user clicks the Map link -in user action menu- opens the Map and highlightes the record in the corresponding layer.
After the map is opened, the user:
Query witihin the Map
Map link can be added to the main menu as well as accessing the map from the query result.The mobilemap2.aspx? QueryID = geofenis_is.MobilFenis value must be entered for the URL property of the Map Link that is added to the main menu, The query name parameter is important. It specifies which layer to query when the map is first opened, and in which netigma query (which will be opened in the query when clicking the show link in the list) the records found as a result of the query.
For example if the geofenis_is layer will be queried on the map and it is aimed to show the records with geofenis_is table for the selected range on the map:
Map Page Operations
Example Map Query with Video Tutorial
When the map is first opened with the query name as a parameter, there will be a mark at the center of the screen. It is necessary to move the map by moving left and right to change the location of this mark. The position of the mark changes when the map is moved. (The yellow marker icon indicates the mark's previous position.) With the top distance selection control, the circular area to be queried can be collapsed and expanded. (Excluding the deed module. Distance selection control is disabled in the deed module).After selecting the appropriate search distance, click the menu button that is in the bottom center of the screen, then click the query button. After this process, the respective layer geometries are marked with the selected circular area. If desired, location and buffer can be changed and new query can be made or by clicking show button in list, results can be displayed as mobile query result