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.


On Wednesday 10 January 2024 at 13:55:26 UTC+3 Abuzar Hossian wrote:

> Files are not opening in the new tab yet, please guide!
>
> Thank You!
> Abuzar
>
> On Tue, Jan 9, 2024 at 9:50 PM Elaine Ding <[email protected]> wrote:
>
>> I have same issue to try open file (pdf) in a new file or tab , any 
>> resolution to this issue ?
>>
>> Thanks
>> Elaine
>>
>> On Wednesday, November 8, 2023 at 2:03:35 PM UTC-5 Abuzar Hossian wrote:
>>
>>> 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?
>>>
>>> On Thu, Nov 2, 2023 at 5:00 PM Fatih Güneş <[email protected]> 
>>> wrote:
>>>
>>>> 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.
>>>>
>>>> https://wiki.lyrasis.org/display/DSDOC7x/Configuration+Reference#ConfigurationReference-ContentInlineDispositionThreshold
>>>>
>>>>
>>>>
>>>> On Thursday, 2 November 2023 at 07:54:03 UTC+3 Abuzar Hossian wrote:
>>>>
>>>>> 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!
>>>>>
>>>>> On Tue, Oct 24, 2023 at 1:14 AM Fatih Güneş <[email protected]> 
>>>>> wrote:
>>>>>
>>>>>> 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?
>>>>>>
>>>>>> On Sunday, 22 October 2023 at 09:36:15 UTC+3 Abuzar Hossian wrote:
>>>>>>
>>>>>>> Dear Team,
>>>>>>>
>>>>>>> A gentle reminder!
>>>>>>>
>>>>>>> Any update on this issue, please?
>>>>>>>
>>>>>>> Regards,
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Oct 19, 2023 at 10:22 AM Abuzar Hossian <[email protected]> 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> 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*
>>>>>>>>
>>>>>>> -- 
>>>>>>
>>>>> 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 [email protected].
>>>>>> To view this discussion on the web visit 
>>>>>> https://groups.google.com/d/msgid/dspace-community/3ef95014-0ff6-48cf-bd12-bc46f4a40278n%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/dspace-community/3ef95014-0ff6-48cf-bd12-bc46f4a40278n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>>
>>>>> -- 
>>>> 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 [email protected].
>>>>
>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/dspace-community/daf694a2-85f3-4f80-94e9-609db620f579n%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/dspace-community/daf694a2-85f3-4f80-94e9-609db620f579n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> -- 
>> 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 [email protected].
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/dspace-community/54921261-e64e-4b1b-a6c7-4b83c5331a8bn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/dspace-community/54921261-e64e-4b1b-a6c7-4b83c5331a8bn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-community/8fe6d5d6-c819-4c7f-86e9-9bd52a7de4a2n%40googlegroups.com.

Reply via email to