Excel spreadsheet columns should be expanded to the correct width of the contents present in the each cells

Certified Associate Developer

I'm using "Copy document" and "Export  Data Store entity to Excel" smart services in a process model to generate a excel sheet. While the sheet is generated when the contents are displayed, the cells don't fit to the width of the contents within them. In excel we can generally expand according to the width of the contents by selecting all rows and columns and double clicking in the middle of any two columns. But that is after generating the file. So, I want this columns to be auto adjusted or expanded while generating itself. how do I make this happen?

Now,

How I need it to be,

Thanks,

Shravan

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to sanchitg0002

    You used "Export DSE to Excel" to get this?  If so, how did you feed it the template file?

    It's been a while since I've bothered to test it - but the last time I did, *every single thing* in the targeted sheet was overwritten, including column widths, etc.  I still consider it 100% unacceptable that they didn't provide a way to have it consume (and not overwrite) a base template file.

Children
  • 0
    Certified Lead Developer
    in reply to Mike Schmitt

    Yes.

    It's there, you can provide it in Document to Update input parameter. The only disgusting thing is that it creates new version of the same document and that's why Copy document SS come in handy.

  • 0
    Certified Lead Developer
    in reply to sanchitg0002
    you can provide it in Document to Update input parameter

    Yeah, which is of course 100% unacceptable (when it comes to being the *only* method of providing additional updates to an existing file). There is absolutely no excuse for forcing us to use Copy Document prior to running this node if we want to simulate the "base template" experience, which was provided OOB in "Export CDT to Excel" and "Export SQL to Excel" in the Excel Tools plug-in, etc.

    But yes, in all my previous tests, 100% of the contents of the target worksheet were overwritten (as far as i remember), so it looks as if they've at least improved upon that aspect.  It's probably been a few Appian Versions since I last tested it, so I assume they may have snuck in some improvements they didn't mention.

  • 0
    Certified Lead Developer
    in reply to Mike Schmitt
    There is absolutely no excuse for forcing us to use Copy Document prior to running this node

    Totally agree with that, they should provide the similar functionality for this node too.

    100% of the contents of the target worksheet were overwritten

    Yes I have heard this from you on some other thread alsoJoy but yeah seems like they did some fixes/improvements around that part.