Inside the Read Excel Spreadsheet Utilities plug-in, there is a smart service (a

Inside the Read Excel Spreadsheet Utilities plug-in, there is a smart service (and an expression) that imply some control over the header list. Specifically the Parse Excel Spreadsheet to CDT with Header List Smart Service.

The documentation is not clear on how this works. I have a CDT that contains a definition for some data I care about and a spreadsheet that contains the data I want to put into that CDT. The data is, unfortunately contained in columns that are interspersed with other columns that I don't care about.

Is there a good way to use the Header List parameter to pull the data I want?
Do I need to manually manipulate the spreadsheet to conform to the plugin?
Is there a better way?

OriginalPostID-215679

OriginalPostID-215679

  Discussion posts and replies are publicly visible

Parents
  • @richard.nolan Have you had a thought over using 'Read Excel File' at https://forum.appian.com/suite/tempo/records/item/lMBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUhe-uLnOF-0Nns7GJH66UeF02OAU96rxFlg/view/summary? Here is an example of how to use it:

    fn!readexcelsheet(
    excelDocument: ,
    sheetNumber: 0,
    startRow: 2,
    numberOfColumns: 9
    )

    But you need to bear in mind that you need to type cast and map the result set to the target CDT. Good thing is that you don't need to worry about headers in Excel vs fields in CDT and downside is that you need to do some perform some homework (in terms of type-casting and mapping to target CDT) in the process.
Reply
  • @richard.nolan Have you had a thought over using 'Read Excel File' at https://forum.appian.com/suite/tempo/records/item/lMBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUhe-uLnOF-0Nns7GJH66UeF02OAU96rxFlg/view/summary? Here is an example of how to use it:

    fn!readexcelsheet(
    excelDocument: ,
    sheetNumber: 0,
    startRow: 2,
    numberOfColumns: 9
    )

    But you need to bear in mind that you need to type cast and map the result set to the target CDT. Good thing is that you don't need to worry about headers in Excel vs fields in CDT and downside is that you need to do some perform some homework (in terms of type-casting and mapping to target CDT) in the process.
Children
No Data