Configuring the Application Init String

You can host Citrix-published applications in Agent Desktop by creating DDAs for the application, and configuring the DDA in Admin Console. You must configure the DDAs Init string before you can host the Citrix-published application in Agent Desktop.

To configure the Init String for a Citrix-published application:

  1. Open the application Init file.

  2. Add the <CitrixIntegration> tag with the <ICAFileName> tag. The <ICAFileName> specifies the full path to the Citrix .ica file required to launch the Citrix-published application. A sample of the tag is given below:

  3. <CitrixIntegration>
       <ICAFileName>X:\CCFCITRIX\CalcProxy.ica</ICAFileName>
       <ProcessAcquisition attempts="50" delay="100" filename= "%windir%\system32\calc.exe"/>
       <optimumSize x="800" y="600"/>
    </CitrixIntegration>
    
  4. Add the DDA binding information to the relevant tags such as <assemblyInfo>, <interopAssembly>, <adapter>, and <DataDrivenAdapterBindings>. You can generate the DDA bindings information using HAT.

Given below is sample Init String file:

<initstring>
   <assemblyInfo>
      <type>Microsoft.Samples.Citrix.CalcProxy, CalcProxy</type>
   </assemblyInfo>

   <CitrixIntegration>
      <ICAFileName>X:\CCFCITRIX\CalcProxy.ica</ICAFileName>
      <ProcessAcquisition attempts="50" delay="100" filename= "%windir%\system32\calc.exe"/>
   </CitrixIntegration>

   <interopAssembly>
      <URL>%windir%\system32\calc.exe</URL>
      <WorkingDirectory>%windir%\system32</WorkingDirectory>
      <hostInside/>
      <ShowMenu/>
   </interopAssembly>

   <adapter>
      <type>Microsoft.Ccf.Csr.CitrixIntegration.DataAdapterAdapter, Microsoft.Ccf.HostedApplicationToolkit.DdaDrivenAdapter.DdaAutomationAdapter </type>
   </adapter>

   <DataDrivenAdapterBindings>
   <Type>Microsoft.Ccf.HostedApplicationToolkit.DataDrivenAdapter.WinDataDrivenAdapter, Microsoft.Ccf.HostedApplicationToolkit.DataDrivenAdapter</Type>
   </Controls>
   </DataDrivenAdapterBindings>
   <optimumSize x="800" y="600"/>
   <minimumSize x="640" y="480"/>
</initstring>

You must copy the bindings and paste them in the DataDrivenAdapterBindings section to ensure the application displays properly.