Mike,

There is logic to handle this on the front end, but there's one piece
missing from the SWP side of swa:ResultSetGrid in order to get it working
properly in this case.

To do this as it currently stands, you should be able to override
swa:ResultSetGrid and pass the 'data-only-export-visible-columns' value in
the Table Container div as well.  If this option is set to true - it should
do exactly what it sounds like - and only export the columns that are
visible to the user, hiding the extra URI column we use to ensure each row
has a unique key associated with it.

Attached is a simple file that should override swa:ResultSetGrid with the
proper parameter added and set to true - so the front end will pick it up
during the export process.  For 6.3 we'll be making sure this parameter is
built into the version of swa:ResultSetGrid that we ship so that the
override is not needed.

Hope it helps,
Pat

On Mon, Jul 1, 2019 at 5:59 PM Mike Glamm <[email protected]> wrote:

> Hello TopBraid Suite Users,
>
> I'm displaying a SPARQL result set in a SWP using swa:ResultSetGrid.  The
> data columns are graphUri, uri, parentLabel, and label.  It displays as
> expected on screen.  I'm also using the parameter arg:exports="true" to
> display the options for export (Excel, CSV, Print).  When I use any of the
> export options, an extra "uri" column is inserted before my four columns,
> and it contains the same data as my "uri" column.  Why is this happening,
> and do any parameters exist to prevent it from occurring?  This is on a
> 6.1.1 EDG server, if the version is relevant.
>
> Thanks,
> Mike
>
> --
> You received this message because you are subscribed to the Google Groups
> "TopBraid Suite Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/topbraid-users/902cd085-e9cd-402b-b9da-dddbd3e3415d%40googlegroups.com
> <https://groups.google.com/d/msgid/topbraid-users/902cd085-e9cd-402b-b9da-dddbd3e3415d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/CA%2B5SJmGvsX1Z%2B13x0gOEhh07tqRrh6vXnq-tqUiRvb%2BRftuRrQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: CustomResultSetGrid.ui.ttlx
Description: Binary data

Reply via email to