Show all Hide all


Creates or updates saved search.

As there is no public API for editing the parameters of a saved search this procedure is only useful for calling from ADMINEDITABLE_Search_InsertUpdate.

Type: Stored procedure
Area of use: General use

Return value: int

Returns a negative value on failure.


@id mandatory int
@MenuItemID mandatory int
@SaveAsNewSearch mandatory bit
If 1 a new search is created even if @id is not null.
@SearchGroupID mandatory int
@SearchName mandatory varchar(300)
@UserID mandatory int