Export Data Source Entity to Excel - Questions

We are using 'Export Data Store Entity to Excel' smart service to write data into Excel files.
We built a process model which copies an excel template and writes into the copy of the excel template to generate an excel file using this smart service.
This smart service is pretty much doing a good job other than few issues which we are trying to find resolution.

Here are couple of questions if you can help with.

1) We notice that formats maintained in the Excel template is getting lost if we write some values into that specific cell. Is there a known way to avoid this?
(Please see the screen shot attached)

2) Also - we notice, in the cells, if we write numeric values, the generated excel is comming up with this 'comment' icon in cell corner. We tried to write the value as numeric to the cell. But looks like still that is not fixing the issue.
Is there a known way to avoid this?
(Please see the screen shot attached)

3) Is there a way to delete a sheet from the excel in the process model?

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    Export DSE to Excel notoriously does not support base templates.  I have no idea why, as this was a critical feature to me in the predecessor, the "Export CDT to Excel" or "SQL to Excel" nodes, found in the Excel Tools plug-in (which, btw, still works even though it's "officially" deprecated for quite some time now).  I have been trying to get them to fix this for some years now, but since they're moving away from the DSE architecture in general, I'm not expecting much.

    There is now a relatively new plug-in called "JSON to Excel" which does provide the ability to use a Base Template again - I suggest you try this out and see if it works for you.

  •    - 'Export DSE to Excel' is what we using and it is doing the job quite well to fill in the templates other than the few issues what I mentioned above - Like loosing formatting, integer -string conflict and ability to delete sheets.
    We are trying to work around them as they are not deal breakers at this point of time.

    We are planning to promote this to PROD in a month.

    Technically we are not using the data in the DSE to export to excel.

    We are using a dummy  DSE with no records and A800 as the starting row. But we provide an excel template and send array of values for 'Custom Cell Positions' and an array of cell values to 'Custom Cell Values' parameters to match our templates. This does work and we are testing this for the past 4 months.

    Let me know if see any sooner you will see a risk of them stop working. (Hope it doesn't)

  • 0
    Certified Lead Developer
    in reply to padmanabant852500
    . But we provide an excel template and send array of values for 'Custom Cell Positions' and an array of cell values to 'Custom Cell Values' parameters to match our templates.

    Then in that case you might try experimenting with the SQL to Excel or the CDT to Excel nodes found in the Excel Tools plug-in, as they (iirc) have the same "custom cell values" functionality but WON'T overwrite base template files (plus the bonus that you don't need to make a spare copy of your template first, because they actually make their own new copy when fed a base template, which is how it should work anyway).

Reply
  • 0
    Certified Lead Developer
    in reply to padmanabant852500
    . But we provide an excel template and send array of values for 'Custom Cell Positions' and an array of cell values to 'Custom Cell Values' parameters to match our templates.

    Then in that case you might try experimenting with the SQL to Excel or the CDT to Excel nodes found in the Excel Tools plug-in, as they (iirc) have the same "custom cell values" functionality but WON'T overwrite base template files (plus the bonus that you don't need to make a spare copy of your template first, because they actually make their own new copy when fed a base template, which is how it should work anyway).

Children
No Data