Export of typical searches from SOD site to json file
The typical search data that will be stored in customer’s databases will be created on a SOD site. Each selection will be marked as a typical search by setting a search category to Typical Search. The exported typical search criteria data will be exported as ArchiveRestrictionGroups. These ArchiveRestrictionGroups will be mapped to theNtypicalsearch_id. The various id’s stored in the json file are only meant to show the relations between the tables. The id’s that will be generated in the customer’s database will not copy the id’s in the exported json file.
How are the typical searches numbered
For each new or changed typical searches, the version number is increased to the highest pre-existing version number (out of all typical searches) + 1. Note that changes to the criteria will also update the version number of the related typical search. Example of how version numbers are increased: The initial, first week, SuperOffice adds 4 typical searches with the version number 1.
The next week SuperOffice decides to update the sales typical search and add a typical search for appointments. In this case the typical search version number for the sales and appointments version number is to the highest existing version number in the database (1) plus 1.
The third week SuperOffice decides to update the companies and projects. Now the typical search version number for both companies and projects version number is increased to the highest existing version number in the database (2) plus 1.