How to export link to each object in excel?

0
I have a data grid with a list of objects, and I export its content as excel. Is there any way to export a link to each data grid object? So that in excel I would have a link for each list item, and when I click on the link I open the details page and pass this particular object there.  
asked
1 answers
1

Maxim,

You could use the Deeplink module.  Create a deeplink to display details of each object.  In your domain model, add a text field to this entity to contain the deeplink.  Before exporting the grid, you will need to populate the deeplink with the link name and an object id of some kind (maybe add an autonumber attribute to your entity, or create an attribute to contain a hash value.  Your deeplink should look like this:  

https://yourapp.mendixcloud.com/link/viewobject?ObjectID=YourValue

Once you’ve populated this attribute, you can place the attribute on the grid and give it a width of zero.  This way, it won’t display in the web page but it will export to Excel.

Hope that helps,

Mike

answered