Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Searching a CSV and displaying the result on a page

Dan Nolan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 10, 2023

I have a CSV /  Excel file with over 150k rows. Each row is 4 columns, the first row being the field I wish to search. I cannot live display said document on the site but would like to have the ability to search a specific column for matching search results and return the entire rows as a result.

 

Is there any way to do this?

 

Basically, the excel / CSV contains over 150k error codes and their translations in basic English, and I wish to make the data searchable, but can't outright display the entire document, as it crashes confluence pages every time.

2 answers

2 votes
Stiltsoft support
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 11, 2023

Hi @Danny Nolan ,

In general, our Table Filter and Charts for Confluence app provides two ways to work with Excel/CSV files:

  • Use the Table from CSV macro to connect your file as an url/attachment to your Confluence page and recreate a table from it. Then you may wrap this macro in the Table Filter macro and filter your table.
  • Use the Table Spreadsheet macro. Import your existing file in CSV/Excel formats and continue to work with it using all the basic Excel features right in Confluence.

The only issue may be in the size of your file as you mention 150k rows. Confluence is not supposed to serve as a database, so you may experience memory browser issues and errors loading Confluence pages.

Dan Nolan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 13, 2023

Yep I don't even need to display the contents, just make the data searchable and to return matching rows in a nicely formatted way

Like Stiltsoft support likes this
0 votes
Sayed Bares _ServiceRocket_
Community Champion
September 10, 2023

@Danny Nolan Welcome to Atlassian community!

You can use REST APIs to create a page and supplying your csv dataset as a body to your page. Which should make your page searchable:

Alternatively, you can try third-party apps:

Hope it helps!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events