GoAnywhere
  • Contact Us
  • Login
  • Live Chat
  • Free Trial
  • Support
  • Company
Request Demo
GoAnywhere
MENU
  • Solutions
    • Managed File Transfer
    • Cloud File Transfer
    • Secure FTP
    • AS2 Transfers
    • OpenPGP
    • Sharing & Collaboration
    • Agents
  • Industries
    • Banking & Finance
    • Healthcare
    • Higher Education
    • Insurance
    • IT & Telecom
    • Logistics
    • Manufacturing
    • Media & Entertainment
    • Public Sector
    • Retail
  • Platforms
    • Windows
    • VMware
    • Linux
    • Amazon EC2
    • Azure
    • IBM i (iSeries)
    • AIX and UNIX
    • Mac OS
  • Products
    • GoAnywhere MFT
    • GoAnywhere Gateway
    • Free FTP Client
    • Free FTP Server
    • Free Collaboration
    • Free OpenPGP Encryption
  • Resources
    • Brochures
    • Case Studies
    • Compliance
    • Testimonials
    • Video Library
    • Video Reviews
    • Webinars
    • White Paper Library
  • Blog
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Register
  • Login
  • Board index
  • GoAnywhere Director
  • Community Forum

XMLWrite task - adding two values

Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.
2 posts Page 1 of 1
  • Print view
 Post a reply  

XMLWrite task - adding two values

gaurav26
 
Posts: 1
Joined: Wed Apr 15, 2015 7:39 pm
by gaurav26 » Thu Apr 16, 2015 10:10 am
Reply with quote
Hello,

I am writing a project and in which I am reading an excel file and creating an xml using XMLWrite task as part of it.
For one of the elements, we need to add two values for the record in the RowSet and I am not able to achieve it using the + operator. Can you please let me know how it needs to be done. Also, either or both of the values can be blank in the source rowSet.

I am using the below code to do that.

<element name="SUISDITaxAmount" value="${transData['Local 1 Tax Paid']} + ${transData['Local 2 Tax Paid']}" skipIfEmpty="true" type="DECIMAL" trim="both" />

Re: XMLWrite task - adding two values

Support_Rick
Support Specialist
 
Posts: 591
Joined: Tue Jul 17, 2012 2:12 pm
Location: Phoenix, AZ
  • Website
by Support_Rick » Fri Apr 24, 2015 12:21 pm
Reply with quote
Gaurav26,

Try utilizing the "ModifyRowset" task.

There is a Tips and Tricks Article that I put out back in June, 2014 about how to use this Task.

Just read your Excel Spreadsheet to create your rowset variable.
Modify the Rowset variable to add the values together creating the finalize rowset you desire.
Then, write out the rowset vars to your XML.

This should get you to where you're needing.
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
 Post a reply  
2 posts Page 1 of 1
  • Print view
Return to “Community Forum”
  • GoAnywhere MFT
  •    ↳  Knowledge Center
  •    ↳  Community Forum
  • GoAnywhere Director
  •    ↳  Knowledge Center
  •       ↳  Example Projects
  •    ↳  Community Forum
  • GoAnywhere Services
  •    ↳  Knowledge Center
  •    ↳  Community Forum
  • GoAnywhere OpenPGP Studio

Who is online

Users browsing this forum: Bing [Bot] and 0 guests
  • Board index
  • All times are UTC-05:00
 

 


Login


Company

  • About Us
  • Blog
  • Certifications & Partnerships
  • Upcoming Events
  • News
  • Our Customers
  • Testimonials
  • Awards & Recognition

Products

  • GoAnywhere MFT
  • GoAnywhere Gateway

Resources

  • Brochures & Data Sheets
  • Case Studies
  • Compliance
  • Testimonials
  • Videos
  • Video Reviews
  • Webinars
  • White Papers

Compliance

  • PCI
  • HIPAA
  • GDPR
  • FISMA

Industries

  • Banking and Finance
  • Healthcare
  • Higher Education
  • Insurance
  • IT & Telecom
  • Media & Entertainment
  • Logistics
  • Manufacturing
  • Public Sector
  • Retail

Partners

  • Join Our Partner Program
  • Partner Login

Support

  • Overview
  • Contact Us
  • Customer Login
  • Downloads
  • FAQ
  • Live Chat
  • Release Notes
  • Support Forum
  • Register for Training

How to Buy

  • Request a Quote
  • Find a Local Reseller
  • Referral Program

Notices

  • Copyright Notice
  • Privacy Notice
HelpSystems

1-800-949-4696 | goanywhere.sales@helpsystems.com | Privacy Policy
Copyright © 2008 - 2018 HelpSystems. GoAnywhere® is a registered trademark of HelpSystems.

Blog LinkedIn Twitter Facebook YouTube
  • Solutions
    • Managed File Transfer
    • Cloud File Transfer
    • Secure FTP
    • AS2 Transfers
    • OpenPGP
    • Sharing & Collaboration
    • Agents
  • Industries
    • Banking & Finance
    • Healthcare
    • Higher Education
    • Insurance
    • IT & Telecom
    • Logistics
    • Manufacturing
    • Media & Entertainment
    • Public Sector
    • Retail
  • Platforms
    • Windows
    • VMware
    • Linux
    • Amazon EC2
    • Azure
    • IBM i (iSeries)
    • AIX and UNIX
    • Mac OS
  • Products
    • GoAnywhere MFT
      • Administration
      • Connectivity
        • Amazon S3 Bucket
        • AS2
        • Database
        • FTP
        • FTPS
        • GoFast
        • HTTP(S)
        • ICAP
        • Mail Servers
        • Message Queue (MQ)
        • Native Calls
        • Network Shares
        • SCP
        • SFTP
        • SMS
        • SNMP
        • WebDAV
      • File Servers
        • AS2
        • FTP
        • FTPS
        • HTTPS
        • SFTP
        • GoFast
      • Encryption
        • FIPS 140-2
        • Encrypted Folders
        • Open PGP
        • Open PGP for IBM i
        • GnuPG (GPG)
        • SSH
        • SSL/TLS
        • Zip with AES
        • Key Management
      • Agents
      • Translation
        • Delimited Text
        • Excel
        • Fixed Width Text
        • XML
      • Workflows
        • Resources
        • Tasks
      • Automation
        • Scheduler
        • File Monitoring
        • Commands and APIs
        • Triggers
      • Collaboration
        • GoDrive
        • Mobile Apps
        • Secure Mail
        • Secure Forms
        • Secure Folders
      • Auditing and Reporting
        • Auditing
        • Reporting
      • Clustering
      • Learn More
        • Detailed Features
        • Security
        • FAQs
        • Installation Requirements
        • Tutorials
          • Getting Started with GoAnywhere MFT
          • Getting Started with File Transfer Services
          • Getting Started with Projects
          • Automating Project Workflows
          • How to Encrypt Files with Open PGP
          • How to Import a CSV File into a Database
          • Getting Started with Domains
          • Converting Scripts to Projects
          • How to Read JSON Data and Insert it into a Database
          • How to Query a Database and Write the Data to JSON
          • Using the SQL Wizard to Join Data from Two Database Tables
          • How to Enable SSL for HTTPS/AS2 Server Connections
          • Configuring the AS2 Client to Send AS2 Messages
          • How to Configure the AS2 Service to Receive AS2 Transfers
          • Configuring Web User Accounts to Receive AS2 Messages
        • Pricing
        • Release Notes
    • GoAnywhere Gateway
      • How it Works
      • Load Balancing
      • PCI DSS Compliance
      • Installation Requirements
      • Release Notes
      • FAQs
      • Pricing
    • Free FTP Client
    • Free FTP Server
    • Free Collaboration
    • Free OpenPGP Encryption
      • Download
      • Documentation
        • Installation
          • Microsoft Windows
          • Linux and Unix
          • Mac OS X
        • Key Manager
        • Key Preferences
        • Encrypt
        • Sign
        • Encrypt and Sign
        • Decrypt and Verify
        • Verify
      • Automation
      • Support
  • Resources
    • Brochures
    • Case Studies
    • Compliance
    • Testimonials
    • Video Library
    • Video Reviews
    • Webinars
    • White Paper Library
  • Company
    • About Us
    • Blog
    • Certifications
    • Upcoming Events
    • News
    • Our Customers
    • Testimonials
  • Support
  • Request a Demo
  • Live Chat
  • Customer Login
  • Blog