ExportGemstoneAdsTemplate.xml

Build 1501 on 14/Nov/2017  This topic last edited on: 24/Oct/2016, at 13:07

<?xml version="1.0" encoding="utf-8"?>

<objects>

 <dataSrcTemplate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 

 name="Export Gemstone Lineage to VirtualCMS" 

 modifiedDate="2016-01-20T11:48:38.043Z" 

 priority="0" 

 serialExecution="no" 

 xmlns="urn:schemas-teradp-com:gn4tera">

         <description>Exports the ads/jobs from Gemstone to VirtualCMS</description>

         <scopeRef>

                 <keyVal>Default</keyVal>

         </scopeRef>

         <parsDef>

                 <item name="VCWebsiteUrl" type="string" maxLength="0" min="0" max="0" values="" default="" instruction="VirtualCMS website. This is the URL of the public-facing website (root)" />

                 <item name="JobsSectionId" type="int" maxLength="0" min="1" max="2147483647" values="" default="" instruction="Id of the VirtualCMS section where to publish Job ads. If not set, no jobs will be published." />

                 <item name="DefaultClassId" type="int" maxLength="0" min="1" max="2147483647" values="" default="" instruction="Id of the default classified section (if the mapping is missing in the workflow, the ads will be published here)" />

                 <item name="VCAuthCodeKey" type="string" maxLength="0" min="0" max="0" values="" default="" instruction="VirtualCMS authorization code for website. Obtain it from VirtualCom" />

         </parsDef>

         <importWF>

                 <codeWorkflow xmlns="http://www.teradp.com/schemas/GN4/1/WFRes.xsd">

                         <References />

                         <Imports />

                         <Members />

                         <Sequential>

Dim callAct As ExecuteSequentialWorkflow = New ExecuteSequentialWorkflow(Context) _

  With {.Name = "export lineage", .Description = "Processing files..."}

callAct.WorkflowName = "createVCAds"

callAct.Data = Context.Data

Dim callRes As ExecuteSequentialWorkflowResult = callAct.Do()

                         </Sequential>

                 </codeWorkflow>

         </importWF>

         <pollWF />

         <onSuccess>

                 <in>DBLog</in>

                 <in>EventLog</in>

         </onSuccess>

         <onWarning>

                 <in>DBLog</in>

                 <in>EventLog</in>

         </onWarning>

         <onError>

                 <in>DBLog</in>

                 <in>EventLog</in>

         </onError>

 </dataSrcTemplate>

 <dataSrcFiles xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 

 name="Classified Ads to Web Site" 

 disabled="true" priority="0" 

 inputDir="C:\Back4\IMPORTS\ADS4WEB" subFolders="false" 

 outputDir="C:\Back4\IMPORTS\ADS4WEB\OK" 

 errorDir="C:\Back4\IMPORTS\ADS4WEB\ERR" filter="*.xml" 

 stableOpen="3" stableDelay="500" xmlns="urn:schemas-teradp-com:gn4tera">

         <description>Export classified and job ads to the website (VirtualCMS)</description>

         <scopeRef>

                 <keyVal>Default</keyVal>

         </scopeRef>

         <templateRef>

                 <keyVal>Export Gemstone Lineage to VirtualCMS</keyVal>

         </templateRef>

         <back4Ref>

                 <keyVal>*</keyVal>

         </back4Ref>

         <params>

                 <item name="VCWebsiteUrl" value="" />

                 <item name="VCAuthCodeKey" value="" />

                 <item name="JobsSectionId" value="" />

                 <item name="DefaultClassId" value="" />

         </params>

 </dataSrcFiles>

</objects>