Skip to main content
Nintex Community Menu Bar
Solved

Export to Excel on List View

  • February 25, 2020
  • 3 replies
  • 190 views
  • Translate

Forum|alt.badge.img+7
  • Novice
  • 16 replies

I have list view with some column hide and some column with images. When i used export to excel it export image column with blank values and Hidden column not displaying in excel.

 

I want to export hidden column except image column?

 

Is there out of box functionality available to execute SMO method and pass data to export to excel?

Best answer by BB33

Show hidden column before exceute "export to excel" and Hide column after executing method.  

View original
Did this topic help you find an answer to your question?

3 replies

Forum|alt.badge.img+7

Forum|alt.badge.img+7
  • Author
  • Novice
  • 16 replies
  • Answer
  • February 27, 2020

Show hidden column before exceute "export to excel" and Hide column after executing method.  

Translate

  • 14 replies
  • February 27, 2020

Hi  @BB33 ,


 


I see there has been a solution to your problem by showing hidden column before executing "export to excel" and hiding the column after that.


However, I created the following example to implement a similar solution by using OData to export data from a SmartObject to Excel without the need to show the hidden column before exporting and re-hiding the column  afterwards.


 


Created a SmartObject with two properties, Value and Image:



Created an Editable List View from the SmartObject where I can add fieelds to the view:



 


In the "Value" Column unchecked the "Visible checkbox.


 


Added a few rows with values and images and as seen, the Value column is hidden:



Navigate to the K2 Management site and navigate to "SmartObject OData":


Click to Enable "SmartObject OData API"


Under "Which SmartObjects?" select "Selected SmartObjects" and choose your SmartObject that contains the data and copy the "OData URL" as you will need this when exxporting your data to Excel:


After configuring the settings shown above, remember to copy the OData URL. And then click "Apply Changes"


 


Open Excel, under the "Data" tab, click to add data "From Other Sources" and select "From OData Data Field"


 



 


Paste the OData URL that you copied into the "Location of the data feed" field and enter your relevant login details:



Click Next, and select your SmartObject:



Click Next and then Finish, then choose how you want to view the data in Excel.


 


Your data should now be displayed with the id and the hidden column without the images:



 


Hope this helps.


 


Kind regards,


Dian

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings