﻿<?xml version="1.0" encoding="utf-8"?>
<EXOconfigData format="Rwav" version="2023.1.100.35">
  <Object type="View">
    <Attribute name="Name">HelloFromService</Attribute>
    <Attribute name="Width">640</Attribute>
    <Attribute name="Height">480</Attribute>
    <Attribute name="Zoom">100%</Attribute>
    <Attribute name="ScaleValue">1</Attribute>
    <Attribute name="OnOpen">const view = this;
this.call('.hello').then(result=&gt;{
    view.CallResult.value(result);
});</Attribute>
    <Attribute name="ServerSideFunctionRPC">accounts.%account%.services.ssf.execute</Attribute>
    <Attribute name="ServerSideJS">return {
    hello: async function (args, callInfo){
        const serviceResult = await callInfo.context.call('accounts.%account%.services.arrigo-custom-service-template.hello');
        return 'Hello from SSF and ' + serviceResult;
    }
}</Attribute>
    <Object type="ArgumentsFolder">
      <Attribute name="Name">Arguments</Attribute>
      <Attribute name="Comment">This folder contains all arguments for the view. The arguments can be sent to the view when it is used in run-time.</Attribute>
    </Object>
    <Object type="ElementsFolder">
      <Attribute name="Name">Elements</Attribute>
      <Attribute name="Comment">This folder contains all visual elements for the view.</Attribute>
      <Object type="Text">
        <Attribute name="Name">CallResult</Attribute>
        <Attribute name="ShowTitle">No</Attribute>
        <Attribute name="Left">55</Attribute>
        <Attribute name="Top">150</Attribute>
        <Attribute name="Width">333</Attribute>
        <Attribute name="Height">20</Attribute>
      </Object>
    </Object>
  </Object>
</EXOconfigData>