How to open file to a new tab in DSpace 7.6

1,026 views
Skip to first unread message

Abuzar Hossian

unread,
Oct 19, 2023, 7:20:19 AM10/19/23
to dspace-c...@googlegroups.com
Dear Team,

I have successfully Installed DSpace 7.6 on Ubuntu 20.04 and operating the system.
I am using IP address and I am unable to configure cfg file for opening the file/item in a new tab. Can it be possible to open the file/item in a new tab? kindly advise!

Thank you. 

Kind Regards,
Abuzar Hossain

Abuzar Hossian

unread,
Oct 22, 2023, 2:36:15 AM10/22/23
to dspace-c...@googlegroups.com
Dear Team,

A gentle reminder!

Any update on this issue, please?

Regards,

Fatih Güneş

unread,
Oct 23, 2023, 3:44:00 PM10/23/23
to DSpace Community
That is the default behaviour. What is your problem at the moment? Does the file gets downloaded directly?
Can you attach a small file and test pls?

Abuzar Hossian

unread,
Oct 24, 2023, 9:50:46 PM10/24/23
to Fatih Güneş, DSpace Community
Respected Sir,

Thank you for your response!

Sir, If I am downloading pdf it's open on the same page and other files downloading directly.

Kind Regards,

--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups "DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-communi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-community/3ef95014-0ff6-48cf-bd12-bc46f4a40278n%40googlegroups.com.

Abuzar Hossian

unread,
Oct 26, 2023, 12:36:07 AM10/26/23
to Fatih Güneş, DSpace Community
Dear Sir,

Thank you so much for your prompt response, actually the problem I am facing right now is while I am uploading the Pdf files it's open on the same page and if I am uploading other files like jpg or else it's directly downloading. Hope you get the problem now Sir! I look forward to hearing from you. Thank you.

Best Regards,


Abuzar Hossian

unread,
Nov 2, 2023, 12:54:03 AM11/2/23
to Fatih Güneş, DSpace Community
Yes, It is downloading directly. Actually, while I am uploading the PDF files it opens on the same page, and if I am uploading other files like jpg or image, it's directly downloading. kindly suggest!

--

Fatih Güneş

unread,
Nov 2, 2023, 7:30:12 AM11/2/23
to DSpace Community
I don't think it is because of the file type. It may be because of the size of the file. 
There is a configuration which decides weather to open or download the file.
Pls check below setting in your set-up.

Abuzar Hossian

unread,
Nov 8, 2023, 2:03:35 PM11/8/23
to Fatih Güneş, DSpace Community
I got it the size of the file, I have done the setting in my set-up, thank you.
Sir, how can I configure to open the file/item to a new page by clicking the link/s?

Elaine Ding

unread,
Jan 9, 2024, 11:20:31 AM1/9/24
to DSpace Community
I have same issue to try open file (pdf) in a new file or tab , any resolution to this issue ?

Thanks
Elaine

Abuzar Hossian

unread,
Jan 10, 2024, 5:55:26 AM1/10/24
to DSpace Community
Files are not opening in the new tab yet, please guide!

Thank You!
Abuzar

Fatih Güneş

unread,
Jan 11, 2024, 12:37:32 PM1/11/24
to DSpace Community
Abuzar and Elaine,
1 - Go to the file /dspace/angular/src/app/shared/file-download-link/file-download-link.component.ts
2 - Go to line 38, change the value of isBlank to true like below and save the file:
@Input() isBlank = true;
3 - from terminal, go to the directory dspace/angular and run the command:
yarn build:prod

That should do what you want.

odongo fredrick

unread,
Jan 12, 2024, 12:50:47 AM1/12/24
to Fatih Güneş, DSpace Community
Did you rebuild after making the changes?
--------------------------------------
Fredrick ODONGO
Director Technical Services
Vellichor Enterprise LTD.
Skpe:odongo.fredrick
"Just go for it, DONT FEAR TO FAIL."


Reply all
Reply to author
Forward
0 new messages