Display public IP Address in Excel

0
Hello, I have an entity with an attribute “IpAddress”. I have exported the datagrid to an excel file, How to display or export the IP address to the excel as well?
asked
2 answers
0

you can get the Ip Address using java action, you can check this link for more information https://forum.mendix.com/link/questions/110965
then you can set it while creating the object (you can hide the data grid col by CSS if you don’t want to expose it to the public) then use default data grid export to excel it will work.

answered
0

Christy,

If you add IpAddress as a column in your datagrid, it will export to Excel.  If you don’t want to display this column on your page, but only want to export it, add the column to the datagrid and set the column width to 0.

Hope that helps,

Mike

answered