How can I generate dynamic excel from certain table

There is a database table where user can write into. I need to generate a dynamic template using the data from the table. Meaning I have a button or a link, whenever user click it, the latest template should be generated and downloaded.

2. And I want one of the column to be populated with a dropdown and user can only choose value from the dropdown, which also means the excel should be protected. Can we generate protected excel with only specified cells that can be edited

How can I implement this?

  Discussion posts and replies are publicly visible

Parents
  • Try creating another similar table which will serve as a reference for the template. On the button or link use Export DSE to excel to create a empty document with headers. Since both the tables have similar structure, the created excel file can be used as a template to import to the main table

    primaryTabe: Id | Col 1 | Col 2 | ... |Col n

    primaryTabTemplate: Id | Col 1 | Col 2 | ... |Col n

Reply
  • Try creating another similar table which will serve as a reference for the template. On the button or link use Export DSE to excel to create a empty document with headers. Since both the tables have similar structure, the created excel file can be used as a template to import to the main table

    primaryTabe: Id | Col 1 | Col 2 | ... |Col n

    primaryTabTemplate: Id | Col 1 | Col 2 | ... |Col n

Children