Creating a table using a powershell script does not sort on confluence pages

XMLWordPrintable

    • 2
    • Minor

      Issue Summary

      Creating a table using a powershell script does not sort on confluence pages

      Steps to Reproduce

      1. Create a Page and add a table to it using a Powershell script
      2. Publish the page

      Sample PS:

      the table will be automatically generated via powershell script:
      Set-ConfluencePage -PageID $PageId -Body $body
      
      The mentioned variable $body is a text file with the following content.
      
      I.e.:
      
      <table data-layout="full-width" ac:local-id="afe24251-9874-4661-9080-66a3618fd994"><colgroup><col style="width: 170.0px;" /><col style="width: 170.0px;" /><col style="width: 170.0px;" /><col style="width: 170.0px;" /></colgroup><tbody>
      <tr>
      <th><p> Extension </p></th>
      <th><p> Display name </p></th>
      <th><p> Email address </p></th>
      <th><p> Time of Provisioning </p></th>
      </tr>
      <tr>
      <td><p> 12 </p></td>
      <td><p> Test,User </p></td>
      <td><p> test.user@testdomain.de<test.user@testdomain.de> </p></td>
      <td><p> 20.10.2022 10:00 </p></td>
      </tr>
      </tbody></table>
      

      Expected Results

      The table should be sortable.

      Actual Results

      It is not possible to sort the table.

      Workaround

      Currently, there is no workaround to sort a table created using PS

       

              Assignee:
              Unassigned
              Reporter:
              Vivin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: