The CreateDefaultViewRecord() function defined in the syListViewObj form is used to create the default view information for a list.
CreateDefaultViewRecord(list_dict_ID, list_ID)
• list_dict_ID – An integer specifying the ID of the product that defines the list.
• list_ID – An integer specifying the unique ID assigned to the list.
An integer indicating whether the default view information was created. The constant OKAY indicates the information was created. Any other value indicates an error occurred.