Document library web part and URLs

%3CLINGO-SUB%20id%3D%22lingo-sub-644560%22%20slang%3D%22en-US%22%3EDocument%20library%20web%20part%20and%20URLs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-644560%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20I've%20created%20a%20document%20library%20used%20to%20host%20documents%20and%20links%20to%20other%20document%20(URLs).%20It%20is%20a%20central%20resource%20repository.%20On%20the%20site%2C%20there%20are%20many%20pages%20where%20that%20document%20library%20is%20filtered%20down%20to%20a%20particular%20view.%20However%2C%20there's%20a%20problem%20with%20URLs.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20the%20document%20library%20itself%2C%20double-clicking%20opens%20the%20URL.%20However%2C%20as%20a%20web%20part%2C%20the%20behavior%20is%20different.%20Double-clicking%20instead%20prompts%20me%20to%20download%20a%20%22.url%22%20file.%20This%20is%20unwanted%20behavior.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20a%20way%20to%20fix%20this%20default%20behavior%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-644560%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-653225%22%20slang%3D%22en-US%22%3ERe%3A%20Document%20library%20web%20part%20and%20URLs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-653225%22%20slang%3D%22en-US%22%3E%3CP%3EI%20resolved%20this%20issue%20by%20rebuilding%20the%20document%20library%20as%20a%20List%20and%20setting%20the%20first%20column%20to%20be%20a%20Hyperlink%20instead%20of%20a%20title%20string.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hi, I've created a document library used to host documents and links to other document (URLs). It is a central resource repository. On the site, there are many pages where that document library is filtered down to a particular view. However, there's a problem with URLs.

 

In the document library itself, double-clicking opens the URL. However, as a web part, the behavior is different. Double-clicking instead prompts me to download a ".url" file. This is unwanted behavior.

 

Is there a way to fix this default behavior?

1 Reply
Highlighted

I resolved this issue by rebuilding the document library as a List and setting the first column to be a Hyperlink instead of a title string.