I’ d like to submit question about “CreateView.zip” which is featured in the article below published in the days of VMS 2021R1.
[Article] Add a view using Configuration API strongly typed classes.
I am using VMS 2023R3.
Procedure:
Step1. I unzipped “CreateView.zip” and executed it in Visual Studio 2019.
(Following the note written in the article, the camera’s GUID has been changed to my camera’s GUID)
Step2. After execution, I opened the MIPSDK (for 2023R3) sample “ConfigApiClient” and checked the “View groups” tree.
Step3. Then, the view group (Main: CreateViewTestTopGroup and Sub: CreateViewTestSubGroup) defined in Step 1 has been added.
However, something strange is happening as shown below.
- When I open Smart Client, only the view group (Main: CreateViewTestTopGroup) is displayed, and the view group (Sub: CreateViewTestSubGroup) is not displayed.
- On the other hand, if I execute “CreateView.exe” while open and viewing Smart Client, the view group (Main: CreateViewTestTopGroup and Sub: CreateViewTestSubGroup) displaying at this time. But when I restart Smart Client, the view group (Sub: CreateViewTestSubGroup) is not visible.
How can I persist view groups in Smart Client through “CreateView.exe”?
CreateView.exe, Smart Client, and the MIPSDK sample “ConfigApiClient”, they were all logged in as the same user with admin privileges.
Of course, I’m understanding that I can use the MIPSDK sample “ConfigApiClient” to add views without using Smart Client.
However, I am very impressed with CreateView.exe, which allows to create view groups by simply clicking on the exe file.

