Import Wizard: XML screen file

Hello,

I am looking for an example XML screen file to use the Import Wizard tool (Studio XML Screen). I have read that there is a sample file "Objects.xml" which can serve as an example, but I do not find it in the IWS folder. In the Bin folder I just have the Schemas folder (I am trying to create an XML file calling the file "screen.xsd"), but I am not able to find any sample .XML.

I am using IWS 8.1 SP5. Thank you in advance.
  • Good News / Bad News...

    Good News:
    If you have the white thumb drive that comes with an InduSoft license, you already have the Objects.xml file. It is located in the \AddOns\Toolkits\Screen XML API\ScreenXMLAPI.zip\ScreenXMLAPI\Samples folder.

    Bad News:
    The .zip file is password protected.

    This is an add on that InduSoft sells separately. I assume if you purchase this they will give you the password to unlock the file.
    Do not expect any support from InduSoft if you did not purchase the add on.

    If you have a basic understanding of how Schemas (.xsd files) work, you can figure out what the .xml file should look like based on the contents of screen.xsd.

    Below is a file that I created that demonstrates the closed polygon object.

    Three notes: 1. Make sure you save the file with Unicode encoding. 2. Comments in the VBScript section will not import. (As of 8.1SP5) 3. VBScript will not import on versions prior to 8.1SP5.


    <?xml version="1.0" encoding="utf-16"?>
    <Screen xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
    <VBScript>
    'Variables available on this screen can be declared and initialized here.

    'Procedures available on this screen can be implemented here

    'This procedure is executed just once when this screen is open.
    Sub Screen_OnOpen()

    End Sub

    'This procedure is executed continuously while this screen is open.
    Sub Screen_WhileOpen()

    End Sub

    'This procedure is executed just once when this screen is closed.
    Sub Screen_OnClose()

    End Sub
    </VBScript>
    <Attributes>
    <Description>My Screen</Description>
    <EnableBackGround>false</EnableBackGround>
    <BackGround>BMP</BackGround>
    <EnableSharedImage>false</EnableSharedImage>
    <LocationTop>0</LocationTop>
    <LocationLeft>0</LocationLeft>
    <Security>0</Security>
    <HideScreenInsteadOfClosingIt>false</HideScreenInsteadOfClosingIt>
    <KeepScreenFileInMemory>false</KeepScreenFileInMemory>
    <EnableTitleBar>false</EnableTitleBar>
    <SystemMenu>true</SystemMenu>
    <MaximizeBox>false</MaximizeBox>
    <MinimizeBox>false</MinimizeBox>
    <BorderScreen>None</BorderScreen>
    <Style>ReplacePartial</Style>
    <LogicOnOpen>
    <Enable>false</Enable>
    </LogicOnOpen>
    <LogicWhileOpen>
    <Enable>false</Enable>
    </LogicWhileOpen>
    <LogicOnClose>
    <Enable>false</Enable>
    </LogicOnClose>
    <RecieveFocusOnOpen>true</RecieveFocusOnOpen>
    <ShareTabOrder>true</ShareTabOrder>
    <TabOrder>0</TabOrder>
    <Background>
    <Style>HorizontalTopToBottom</Style>
    <Color>
    <r>255</r><g>255</g><b>255</b>
    </Color>
    <End>
    <r>200</r><g>200</g><b>200</b>
    </End>
    </Background>
    <BackgroundScreen>false</BackgroundScreen>
    <SizeWidth>1920</SizeWidth>
    <SizeHeight>1080</SizeHeight>
    </Attributes>
    <ObjectsList>
    <Object i:type="ClosedPolygonType">
    <Pen>
    <Style>SolidLine</Style>
    <Width>2</Width>
    <Color><r>49</r><g>97</g><b>132</b></Color>
    </Pen>
    <TabOrder>2</TabOrder>
    <AnimationsList>
    <Animation i:type="RotationType">
    <TagExpression>-60</TagExpression>
    <RangeMinimum>-3600</RangeMinimum>
    <RangeMaximum>3600</RangeMaximum>
    <Start>-360</Start>
    <End>360</End>
    <Reference>RightBottom</Reference>
    <OffSetXAxis>0</OffSetXAxis>
    <OffSetYAxis>0</OffSetYAxis>
    </Animation>
    </AnimationsList>
    <Points>
    <Point><X>990</X><Y>553</Y></Point>
    <Point><X>950</X><Y>553</Y></Point>
    <Point><X>950</X><Y>588</Y></Point>
    <Point><X>990</X><Y>588</Y></Point>
    </Points>
    </Object>
    </ObjectsList>
    </Screen>