Editing custom file layer types

Integration Architects may identify revisions needed for the custom file layer types, and request the System Administrator make the changes.

About this task

This procedure is for advanced users with a knowledge of XAPIs and APIs.

To edit a custom file layer type:

Procedure

  1. Open a text or XML editor.
  2. Enter text to edit the custom file layer type by specifying the original primary key for the custom file layer type along with the new values for whatever he wants to change, as in the following example:
    <?xml version="1.0" encoding="UTF-8"?>
    <MultiApi>
     <API Name="manageFgConsumerFileLayerType">
      <Input>
       <FgConsumerFileLayerType 
        ConsumerFileLayerTypeKey="DR13E_GUID"
        Description="NEW Double Rot13 Encryption Description" 
        DisplayLabel="NEW Double Rot13 Encryption">
       <FgConsumerFileLayerParameterTypeList 
        TotalNumberOfRecords="2">
       <FgConsumerFileLayerParameterType 
        ConsumerFileLayerParameterTypeKey="DR13E_CH_GUID" 
        Description="NEW Encryption Charm Description" 
        DisplayLabel="NEW Encryption Charm"  
        ParameterName="NewEncryptionCharm"/>
       <FgConsumerFileLayerParameterType 
        ConsumerFileLayerParameterTypeKey="DR13E_FF_GUID" 
        Description="NEW File name format" 
        DisplayLabel="NEW File name format"/>
       </FgConsumerFileLayerParameterTypeList>
      </FgConsumerFileLayerType>
     </Input>
    </API>
    </MultiApi>
    
  3. Save the XML file to a local directory.
  4. Select Tools > B2B Console > Business Processes > Manager.
  5. Search for the FileGatewayCustomLayerXAPI business process.
  6. Select Execution Manager to execute the FileGatewayCustomLayerXAPI business process, specifying the XML file from step 3 as the document.
  7. The B2B Console executes the business process and updates the custom file layer type in the database.
  8. Stop and Restart Sterling File Gateway to use the revised custom file layer types.