Export Data Store Entity To Excel

HI All,

I am working on 19.3 and have a requirement where I need to filter data from from the view based on the condition that are provided by user and then have to export it to excel.

The total no of column are 59 hence single node of Write Datastore Entity to excel is getting failed.

I tried using the same smart node twice where first node have selection of first 50 fieldsand starting cell value as "A1" and 2nd node have selection for remaining fields and starting cell as "AY" i.e 51st column.

When I am debugging the process the document obtained has only last node column.

Is there anyway by which we can get all the 59 in columns in one sheet of the excel by using Write "Datastore Entity To Excel Smart Service"

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to gauravs0002

    This isn't too hard to get around.  For SQL to excel, in the node itself just pass in a unique expression rule which generates your SQL code.  The expression rule would also accept any parameters such as options and filters.  There inside the expression rule itself, it's pretty easy to use the different passed-in options to generate slight variations of the same SQL code depending on what you need to do.  This method is also really easy to test, since it just generates SELECT statements which you can just run directly in SQL to make sure they work.

Children
No Data