## 5 Work with documents of the internal page and its external pages

> - 5.1 Uploading documents to an internal page
> - 5.2 Creating external pages inside page
> - 5.3 Changing external pages inside page
> - 5.4 Deleting documents and external pages
> - 5.5 Change of name documents and external pages
> - 5.6 Creating and maintaining the archive
> - 5.7 Creating a template My templates
> - 5.8 Conversion pages in a card file back and forth
> - 5.9 Creating databases
> - 5.10 Creating pages and tables copy
> - 5.11 Creating page templates and tables
> - 5.12 Creating pages from a template
> - 5.13 Creating tables based on a template

### 5.1 Uploading documents to an internal page

Figure 14. The form is opened from the form, Figure 7, by clicking on the link in the “Page Name” column.

> Each of the inner pages can have many documents, external pages and database tables.
> To load a document in the form, Figure 14, fill in the fields "Data of the object... ":
> - Click "K" and click on the date of the document.
> - Enter the number and name of the document.
> - Click the Browse button and select a document file on your computer or local network which needs to be downloaded.
> - The volume of the document should not exceed 2 Mb.
> - Click the Download button.
>   If you need to reload the document, check the "repeat" box before clicking the "Download" button.
>   To display the list of documents in the form of a table in the designer on the internal page:
> - Click the & nbsp; Links button.
> - Select the object "This place is the table of links of documents of the page links ...".
> - Paste the object in the right place on the page.
>   To display a separate link to a separate document in the designer:
> - Click the Links button.
> - In the section "3 - links to documents belonging only to the edited page"; select the desired document.
> - Paste the link in the right place on the page.

Sort table.
1. A table can be sorted by any column.
2. To sort in ascending order, check the “Ascending” box.
3. To sort in descending order, clear the “Ascending” checkbox.
4. Click the header, in 1 row, the column by which you want to sort.
5. To cancel sorting, click the selected column in the header (second click).

Transition in the table.
1. To go to the end of the table, click the down arrow button.
2. To go to the beginning of the table, click the up arrow button.

Selection in the table.
1. Click the header, in line 2, the column by which you want to select.
2. In the "filter" field, enter a list of selection contexts.
3. A list of contexts, these are contexts separated by a "/" character.
4. Rows are selected by matching contexts from the list with any part of the text of the selected column.
5. Rows are selected for the number in order, according to the complete coincidence of the number values and the list of values.
6. To select, click “Select”.
7. To deselect, click Cancel.

Print the table.
1. To print the table, click the P button.
2. Print with selection and sorting.

### 5.2 Creating external pages of the internal page

> Each of the internal pages can have many documents, external pages and database tables.
> To create an external page, in the form of Figure 14:
> - Click “k” and click on the calendar to choose the date the page was created.
> - Enter the page number and title.
> - Click the Create button.
>   To fill in the content and / or change the page, click the corresponding link with the name of the created page in the "Title" column.
>   The form constructor of the external page opens.
>   Using the capabilities of the designer, create or modify an external page.

### 5.3 Change external pages of the internal page

> To change the page, in the form of Figure 14, click on the corresponding link with the name of the external page in the "Name" column. The form constructor of the external page will open, Figure 15-2.
> Using the capabilities of the designer, change the external page.

### 5.4 Delete documents and external pages

> To delete an external page or document, in the form of figure 14:
> - click the row to be deleted. It will be highlighted in yellow.
> - Click the X button.
>   Warning! Removal is irrevocable. We strongly recommend that you regularly save the gidra folder.

### 5.5 Change the name of documents and external pages

> To change the name of the external page or document, in the form of Figure 14:
> - click the line to be modified. it will be highlighted in yellow.
> - In the “Data of the created or modified object” fields of the execution Change and click the "Edit" button.
>   Warning! Changing the name changes the links. In this version, only links to page documents are automatically adjusted and only in the link table.
>   If single links were inserted on the internal page, then after changing the name documents and / or external pages, on the internal page, it is necessary Correct the relevant links.

### 5.6 Creating and maintaining an archive

> To create an empty archive, in the form of Figure 14:
> - click the "Archive" button.
> - Each inner page can have an unlimited number of archives.
> - Moving objects from the page to the archive is performed from the constructor of the internal page by selecting the object and by clicking on the “Archive” button.
> - To copy an object from the archive, use the archive as templates in the constructor of the internal page Click the Archive button.
> - When the archive collects a sufficient number of objects, you must rename it by changing the date and / or number. After such a change, the archive becomes a regular external page.
> - After renaming the archive, create a new empty archive by clicking on the “Archive” button.
> - This sequence (renaming the archive and creating a new one) can be performed many times.
> - To view archives put links to archives on the page.
> - An archive is one of the external pages with a specific name.

### 5.7 Create Template

> To create an empty template, in the form of Figure 14:
> - click the "Template" button.
> - Each inner page can have one template, which is filled with objects of the internal page, which become templates and can be used as such in the designer by clicking on the "My" button.
> - Copying an object into a template is carried out by selecting the object and clicking on the “To mine” button.
> - Template, this is one of the external pages with a specific name.

### 5.8 Convert pages in the card files and back

> Any external page can be converted into a card file.
> Card file is a set of cards.
> All card files are on one page.
> The card is objects located from heading (subheading) to the next heading (subheading).
> View file cabinets by viewing cards.
> To convert a page to a file cabinet:
> - highlight it with a click.
> - and click on the “Card File” button.
> To reverse the conversion:
> - highlight the file cabinet with a click.
> - and click on the “Card File” button.
> NOTE:
> - Card index pages are marked with *.
> - For reasons unknown to me, gadgets lose their functionality in a file cabinet: notebook and diary.

>   ### 5.9 Database Creation

>   > A database is a lot of tables.
>   > To create a database table:

> - If you want to create tables according to a previously saved template (by clicking on the "Save" button) check the "template" box.
> - Click one of the buttons: “St1” (table), “St2” (2 related tables), “St3” (3 related tables).
> - A data table will be created.
> - If the table contains a column of type link:
>   1. Create a lot of external link pages, select the table row for this and click the “show” button.
>   2. The form will open
>   3. Click the + button;
>   4. One link page will be added.
>   5. Change the name and click "Change."
>   6. Repeat the steps for creating link pages as many times as there are links in the database table.
> - To open the database tables, click the link in the "Name".
> - The database page in administrator mode opens
> - Using the administrator's commands from the template table, make the table you need.
> NOTE:
> For more details, the procedure for working with databases on the table form, click the "Hel" button.

### 5.10 Creating pages and tables by copying

> To create by copy method:
> - Click on the line you will copy.
> - Click the Copy button

### 5.11 Creating page and table templates

> To create (replace) templates:
> - Click on the line that you will remember as a template.
> - Click the "Save" button.
> - Separately saved: external page template; table template; template of 2 tables; 3 tables template.
> - Templates are used to create new pages and tables.
> - When creating new pages and tables from the template, both the structure and the content are taken.

### 5.12 Creating pages based on a template

> To create a page:
> - Mark the checkmark “Template”.
> - Click the Create button or the + button.

### 5.13 Creating tables based on a template

> To create a table based on a template:
> - Mark the checkmark “Template”.
> - Click one of the buttons: "st1", "st2", "st3".

### 5.14 Global value tables

> Global value tables are intended for entering data into any table, except for lists of substitution fields.
> You can create many global value tables.
> Form for creating value tables.
> To create a global value table:
> - In administrator mode, in the PAGE WOBJECTS table, in the "Page Name" column (2 columns), click 100.
> - Click the "st1" button ("st2", "st3").
> - A template data table will be created.
> - Rename the created table.
> - Click the "Name" of the renamed table, and in exclusive administrator mode, Using the admin commands, create the desired table.
> - Fill the table with the data that you will enter into the tables.
> - In administrator mode, in the "OBJECTS" table, in the "Page Name" column (2 columns), click the page in which the table.
> - Click the "Name" click the button "A",
> - Establish a monopoly,
> - click the column into which you want to enter data from the data table,
> - click the “A” button,
> - click the "Change" column,
> - click the "Values" button,
> - click the row where the table of values is
> - click the button ,
> - click "To save, click me."
>   The form of the table of values.
> - If a table of values is assigned to a table column, then click again to enter values from the table, values entry field:
>   1. The table of values opens.
>   2. To enter or replace a single value, click the corresponding cell in the input table and click the "Replace" button or click the cell again.
>   3. To add one value, click the corresponding cell in the input table and Add button (only for the type of the Text column).
>   4. To add or replace a table cell with a row from a table of values, click again. any cell of the input table and the Add or Replace button (only for the Text column type).
>   5. To add or replace a table cell with values from the table, check the box Add and click the cells of the input table and the Add or Replace button (only for the Text column type).
>   Entering only from the value table
>   The above input procedure allows input not only from the table of values. To enter only 2 values from the table of values (usually this is a code and a value) in the input column, the header must end with the = character.
>   and the heading in the value table must match the heading in the input table.