VideoWallApplyXmlCommand's viewItem id (How to set?)

Hi,

I wanted to send command to configure a Smart Wall Monitor using the VideoWallApplyXmlCommand as shown in the MIPSDK VideoWallController sample.

Let’s say the scenario is I have the GUIDs of four cameras I wanted to send to Smart Wall Monitor 1, how can I generate the required XML?

The following xml is the sample I get from the mentioned MIPSDK sample, I realized that for one ViewItem, most of the xml attributes are just like default value so I only need to update two of the following attributes in ItemInfo:

  1. lastknowncameradisplayname

  2. cameraid

Except for the id attribute of the viewitem.

May I know how can I get and set it?

<viewitems>
	<viewitem 
	id="db312f3a-cc99-4104-8ee4-e79e3d63588a" 
	displayname="Camera ViewItem" 
	shortcut=""
 type="VideoOS.RemoteClient.Application.Data.ContentTypes.CameraContentType.CameraViewItem, VideoOS.RemoteClient.Application"
	>
		<iteminfo 
		cameraid="0c5360d7-82b9-423a-8522-325da2cb1ed6" 
		lastknowncameradisplayname="FLEXIDOME IP starlight 6000 VR (128.133.229.72) - Camera 1" 
		imagequality="100" 
		framerate="0" 
		ipixsplitmode="0" 
		maintainimageaspectratio="True" 
		keepimagequalitywhenmaximized="False" 
		updateonmotiononly="False" 
		soundonmotion="0" 
		soundonevent="0" 
		smartsearchgridwidth="0" 
		smartsearchgridheight="0" 
		smartsearchgridmask="" 
		/>
		<properties />
	</viewitem>

Thanks.

In the VideoWallController sample application please use the listener functionality to see the XML you get when you do the same operation manually in the Smart Client, I believe this is the best way to get an understanding of the XML you can use.

If you tried this but now need a way to see the viewitems and their ids please try the ConfigDump tool plugin sample in the Smart Client. https://doc.developer.milestonesys.com/html/index.html?base=samples/configurationdump_sample.html&tree=tree_1.html