API CreateCustomMenuCategory: Porovnání verzí
Z Podpora.nextis.cz
(Založena nová stránka s textem „==== Description ==== Method allows You to create new custom menu category in system. ==== Exact name ==== <code>API_CreateCustomMenuCategory</code> ====…“) |
|||
Řádka 16: | Řádka 16: | ||
!Relation | !Relation | ||
|- | |- | ||
− | |@ | + | |@ParentID |
|int | |int | ||
| | | | ||
− | |ID of | + | |ParentID |
− | | | + | | |
+ | |- | ||
+ | |@PageID | ||
+ | |int | ||
+ | | | ||
+ | |ID of article from articles list (see relation) | ||
+ | |API_GetArticles.ID | ||
+ | |- | ||
+ | |@Title | ||
+ | |nvarchar(250) | ||
+ | | | ||
+ | |Title | ||
+ | | | ||
+ | |- | ||
+ | |@Tooltip | ||
+ | |nvarchar(250) | ||
+ | | | ||
+ | |Tooltip | ||
+ | | | ||
+ | |- | ||
+ | |@Language | ||
+ | |int | ||
+ | | | ||
+ | |Language | ||
+ | cs=0; pl=1; en=2; de=3; sk=4; hu=5; nl=6; ru=7; et=8; lv=9; | ||
+ | |||
+ | lt=10; ar=11; fr=12; it=13; pt=14; ro=15; es=16; tr=17; bg=17 | ||
+ | | | ||
+ | |- | ||
+ | |@URL | ||
+ | |nvarchar(350) | ||
+ | | | ||
+ | |URL | ||
+ | | | ||
+ | |- | ||
+ | |@OrderIndex | ||
+ | |int | ||
+ | | | ||
+ | |Order index | ||
+ | | | ||
+ | |- | ||
+ | |@BranchID | ||
+ | |int | ||
+ | | | ||
+ | |ID of branch from branch list (see relation) | ||
+ | |API_GetBranches.ID | ||
|} | |} | ||
==== Example ==== | ==== Example ==== | ||
<syntaxhighlight lang="sql"> | <syntaxhighlight lang="sql"> | ||
− | EXEC [API_CreateCustomMenuCategory] @ | + | EXEC [API_CreateCustomMenuCategory] @ParentID= -1 ,@PageID= 1 ,@Title= 'Title' ,@Tooltip= 'Tooltip' ,@Language= 0 ,@URL= 'https://nextis.cz' ,@OrderIndex= 0, @BranchID= -1 |
</syntaxhighlight> | </syntaxhighlight> | ||
==== Notices ==== | ==== Notices ==== | ||
None. | None. |
Verze z 31. 7. 2017, 11:40
Description
Method allows You to create new custom menu category in system.
Exact name
API_CreateCustomMenuCategory
Type
Standard executable stored procedure.
Specification
Parameter | Data type | Value range | Description | Relation |
---|---|---|---|---|
@ParentID | int | ParentID | ||
@PageID | int | ID of article from articles list (see relation) | API_GetArticles.ID | |
@Title | nvarchar(250) | Title | ||
@Tooltip | nvarchar(250) | Tooltip | ||
@Language | int | Language
cs=0; pl=1; en=2; de=3; sk=4; hu=5; nl=6; ru=7; et=8; lv=9; lt=10; ar=11; fr=12; it=13; pt=14; ro=15; es=16; tr=17; bg=17 |
||
@URL | nvarchar(350) | URL | ||
@OrderIndex | int | Order index | ||
@BranchID | int | ID of branch from branch list (see relation) | API_GetBranches.ID |
Example
EXEC [API_CreateCustomMenuCategory] @ParentID= -1 ,@PageID= 1 ,@Title= 'Title' ,@Tooltip= 'Tooltip' ,@Language= 0 ,@URL= 'https://nextis.cz' ,@OrderIndex= 0, @BranchID= -1
Notices
None.