Excel Tools

Overview

Provides several smart services and functions for handling data in Excel and CSV formats.

Key Features & Functionality

Smart Services included are:

  • Import CSV to Database
  • Import Excel to Database
  • Merge Excel Documents
  • Load CSV to Database
  • Convert HTML to CSV
  • Convert Excel to CSV
  • Encrypt Excel with Password

Functions included are:

  • Read Excel File Paged
  • Read Excel Cell by Name
  • Read Excel Cell by Number
  • Read Excel By Headers
  • Query Appian Logs
  • Export Datasubset to Base64
  • Validate Document Headers
  • Get Workbook and Sheet Metadata

Anonymous
  • Hello,

    I have updated Excel Tools plug-in to latest version (v2.2.6) and noticed below error in stdout logs:

    2019-09-23 09:38:22,104 [Timer-5] INFO com.appiancorp.cache.sail.StatefulSailCacheImpl - Stateful SAIL current memory cache entries=8 size=201744 bytes
    ERROR: Bundle com.appiancorp.ps.exceltools [49] Unable to get module class path. (java.lang.NullPointerException)
    java.lang.NullPointerException
    at org.apache.felix.framework.BundleRevisionImpl.calculateContentPath(BundleRevisionImpl.java:431)
    at org.apache.felix.framework.BundleRevisionImpl.initializeContentPath(BundleRevisionImpl.java:368)
    at org.apache.felix.framework.BundleRevisionImpl.getContentPath(BundleRevisionImpl.java:354)
    at org.apache.felix.framework.BundleRevisionImpl.getResourceLocal(BundleRevisionImpl.java:493)
    at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1511)
    at org.apache.felix.framework.BundleWiringImpl.getResourceByDelegation(BundleWiringImpl.java:1420)
    at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.getResource(BundleWiringImpl.java:2430)
    at com.ibm.db2.jcc.am.wd.run(wd.java:49)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.ibm.db2.jcc.am.GlobalProperties.a(GlobalProperties.java:146)
    at com.ibm.db2.jcc.am.GlobalProperties.d(GlobalProperties.java:100)
    at com.ibm.db2.jcc.am.dr.run(dr.java:124)
    at java.util.TimerThread.mainLoop(Timer.java:555)
    at java.util.TimerThread.run(Timer.java:505)
    java.lang.NullPointerException

    We are running on Appian v19.3. Can you please help me understand and find a fix for the above error?

    Thanks in advance.

  • Hello,

    I have an issue with exporting data to excel. I need to export links in the excel file. I am currently using the ExportableDataSubset CDT and defining the columns where I need the links with an Excel function hyperlink ( “=HYPERLINK(“LINK”;”NAME”)” ). The problem with this method is that Excel does not recognize automatically the function I’m giving, I need to click on the function for them to calculate and show the link. This is not practical at all when I have to export over 50 links…

    I would like to use the smart service “Export SQL data to Excel” included in this plug-in to use an Excel template and so that it could recognize instantly the links. The problem is that I can’t delete the former version of the ExportableDataSubset CDT to install the plug-in (the application I’m working on already use this CDT and I can’t modify this part of the app). If I install the plug-in nonetheless, the smart service “Export SQL data to Excel“ is deprecated.

    So how is it possible to use an Excel template without suppressing the “ExportableDataSubset” CDT ? Or do you know another way to export links in Excel?

    Thank you in advance,

    My best regards,

  • Import CSV to Database V3, is this smart service functional ?  I get the below error message : Unknown column 'NAME,ADDRESS' in 'field list' though my CSV file column names are exact same and aligned with DB column names as well.

  • This error seems to indicate that your input for the "Data Source Name" parameter is incorrect.  Typically for a cloud site this will be the string "jdbc/Appian"

  • Unfortunately, this isn't currently an option.  Typically this handled by having a staging table that takes in all of the columns and then running a stored procedure to transfer from the staging table to the actual table.

  • Hi All,

    Can't we import only a specific columns from csv to database.

    Requirement:

    I have a csv with 10 Columns, out of which I want to import only 5 column into the database.

    ColumnNames property in the import csv to DB plugin is not working it seems.

    Any inputs?

    Thanks in advance.

  • Hi, is there any guide on how to configure the Import Excel to Database element? Actually I got this error: "org.apache.naming.NamingContext cannot be cast to javax.sql.DataSource"

  • We've just upgraded Excel Tools to the latest version (2.2.5) from 2.2.4 and shortly thereafter the STDOUT logs have been filling up with the following message:- 

    ERROR: Bundle com.appiancorp.ps.exceltools [56] Unable to get module class path. (java.lang.NullPointerException)
    java.lang.NullPointerException

    Has anyone seen this before, know what it means and how to resolve? 

    Running 19.2 on AppianCloud.  

  • Hi - check the comments above as the lack of the functionality has proven an issue for other practitioners for a while now. No ideal direct replacement exists unless you can use some of the out of the box functionality to achieve your use case. 

  • is "Parse Excel to CDT" service not available in v19.1? if not what is it's alternative?