SOLVED

Modern Communication sites - display links issue

%3CLINGO-SUB%20id%3D%22lingo-sub-150448%22%20slang%3D%22en-US%22%3EModern%20Communication%20sites%20-%20display%20links%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-150448%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20have%20a%20modern%20Communications%20site%20on%20which%20we%20are%20trying%20to%20display%20links%20for%20the%20site%20visitors%2C%20but%20have%20run%20into%20an%20issue%20(possible%20bug)%20and%20wanted%20to%20see%20if%20anyone%20is%20experiencing%20this.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20have%20tried%20to%20use%20both%20the%20Highlighted%20Content%20web%20part%20and%20Library%20view%20web%20part%20in%20a%20modern%20page%20to%20view%20links%20(link%20items)%20from%20a%20document%20library.%26nbsp%3B%20Both%20web%20parts%20are%20displaying%20the%20links%20as%20expected%2C%20but%20the%20experience%20for%20visitors%20is%20asking%20them%20to%20download%20a%20.url%20file%20instead%20of%20actually%20redirecting%20them%20to%20the%20URL%20as%20it%20natively%20does%20within%20the%20document%20library.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20instance%2C%20we%20have%20a%20test%20Communications%20site%20that%20uses%20both%20the%20Highlighted%20Content%20and%20Document%20Library%20Viewer%20(admittedly%20in%20preview%20still)%20web%20parts.%26nbsp%3B%20The%20parts%20are%20simply%20meant%20to%20display%20the%20actionable%20links%20from%20a%20managed%20list%20-%20like%20in%20previous%20versions%20that%20used%20an%20actual%20Links%20List%20app%20and%20corresponding%20web%20part.%26nbsp%3B%20The%20display%20works%20fine%2C%20but%20when%20the%20visitor%20clicks%20on%20a%20link%20item%2C%20it%20prompts%20them%20to%20download%20and%20save%20a%20.url%20file.%26nbsp%3B%20They%20don't%20actually%20ever%20get%20shipped%20to%20the%20destination%20of%20the%20link.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20links%20are%20to%20areas%20and%20pages%20within%20the%20site%2C%20as%20well%20as%20to%20sites%20outside%20SharePoint%20Online%20entirely.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3BAlso%2C%20to%20future%20compound%20the%20issue%2C%20if%20you%20natively%20view%20the%20full%20document%20library%20where%20the%20links%20are%20defined%20and%20stored%2C%20the%20links%20behave%20as%20expected%20and%20the%20user%20is%20redirected%20to%20those%20destinations%20normally%20when%20they%20click%20on%20them.%26nbsp%3B%20Links%20are%20just%20that%20-%20links.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20simply%20want%20to%20display%20this%20list%20of%20links%20on%20a%20different%20page%20with%20supportive%20on%20page%20content%20and%20have%20them%20behave%20as%20links.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20in%20advance%20for%20any%20insight.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-150448%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ELists%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-187763%22%20slang%3D%22en-US%22%3ERe%3A%20Modern%20Communication%20sites%20-%20display%20links%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-187763%22%20slang%3D%22en-US%22%3E%3CP%3EIndeed.%26nbsp%3B%20The%20functionality%20exists%20in%20classic%20view%2C%20but%20not%20in%20modern.%26nbsp%3B%20A%20link%20is%20an%20object%20to%20be%20acted%20upon%20(i.e.%20open%20the%20link)%2C%20not%20an%20object%20to%20download.%26nbsp%3B%20Who%20does%20that%3F%26nbsp%3B%20Is%20there%20a%20large%20customer%20base%20doing%20this%20now%3F%20The%20thought%20process%20in%20this%20design%20is%20perplexing.%26nbsp%3B%20I%20think%20the%20good%20news%20might%20be%20that%20this%20can%20be%20corrected%20easily%20since%20the%20functionality%20exists%20(and%20has%20existed%20for%20decades).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-187710%22%20slang%3D%22en-US%22%3ERe%3A%20Modern%20Communication%20sites%20-%20display%20links%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-187710%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EHaving%20the%20same%20issue.%20The%20URL%20added%20to%20the%20library%20can%20be%20opened%20in%20a%20new%20tab%20from%20the%20library.%26nbsp%3B%20However%2C%20when%20trying%20to%20open%20URL%20from%20the%20Document%20library%20view%20web%20part%20on%20the%20modern%20page%20it%20will%20download%20the%20link.%20But%20when%20trying%20to%20open%26nbsp%3BURL%26nbsp%3B%3CSPAN%3Efrom%20the%20Document%20library%20view%20web%20part%20on%20the%26nbsp%3Bclassic%20page%20it%20works%20fine.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EBelieve%20this%20should%20be%20fixed%2C%20it's%20critical%20to%20be%20able%20to%20do%20it%20from%20the%20page%20not%20just%20from%20the%20library%2C%20otherwise%2C%20why%20does%20such%20web%20part%20exist%3F%20Document%20library%20view%20web%20part%20has%20a%20significant%20difference%20from%20the%20Highlighted%20content%20web%20part%2C%20it%20displays%20views%2C%20which%20is%26nbsp%3Bquite%20important.%20And%20having%20URLs%20in%20the%20library%20oppose%20to%20Quick%20links%20has%20its%20benefits%2C%20for%20instance%2C%20you%20can%20filter%20and%20group%20items%20in%20the%20library%20and%20use%20this%20view%20on%20a%20page.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EHope%20to%20see%20some%20solutions%20soon.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks%20in%20advance.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-152020%22%20slang%3D%22en-US%22%3ERe%3A%20Modern%20Communication%20sites%20-%20display%20links%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-152020%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20suggested%20solution%20technically%20works%2C%20but%20there%20are%20additional%20experience%20issues%20that%20are%20occurring%20with%20the%20modern%20web%20part.%26nbsp%3B%20I'm%20hoping%20these%20get%20addressed%20soon%2C%20but%20the%20issues%20are%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EColumn%20widths%20in%20the%20display%20are%20truncated%20(probably%20according%20to%20screen%20size%3F)%2C%20which%20causes%20the%20values%20in%20the%20fields%20to%20be%20truncated.%26nbsp%3B%20Sure%2C%20you%20can%20move%20the%20width%20of%20the%20column%2C%20but%20the%20experience%20is%20truncated%20and%20the%20web%20part%20is%20not%20configurable%20enough%20to%20get%20around%20that.%3C%2FLI%3E%0A%3CLI%3EThe%20%22Add%22%20button%20appears%20in%20the%20web%20part%2C%20even%20for%20users%20who%20don't%20have%20permission%20to%20add%20items%20to%20the%20list.%26nbsp%3B%20When%20such%20a%20user%20selects%20the%20%22Add%22%20button%20on%20the%20web%20part%2C%20they%20get%20a%20small%20blank%20fly-out%20menu%20(similar%20to%20the%20one%20an%20authorized%20contributor%20would%20see%20and%20use%2C%20except%20it%20is%20much%20smaller%20and%20empty).%20%26nbsp%3B%3C%2FLI%3E%0A%3CLI%3EAdditionally%2C%20with%20the%20web%20part%2C%20any%20user%20gets%20the%20select%20column%20(the%20radio%20button%20to%20the%20right%20of%20the%20item)%20that%20allows%20them%20to%20attempt%20to%20share%20the%20item%20with%20EDIT%20permissions%20by%20default.%26nbsp%3B%20I%20expect%20this%20is%20by%20design%20to%20encourage%20sharing%2C%20but%20seems%20a%20bit%20aggressive%20for%20communications%20sites%20which%20are%20generally%20less%20%22collaborative%22%20and%20more%20%22publishing%22%20oriented.%20The%20item%20owner%20(not%20the%20site%20owner)%20does%20get%20an%20email%20to%20approve%20or%20deny%20the%20sharing%2C%20which%20is%20good%20I%20guess.%26nbsp%3B%3C%2FLI%3E%0A%3C%2FUL%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-151029%22%20slang%3D%22en-US%22%3ERe%3A%20Modern%20Communication%20sites%20-%20display%20links%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-151029%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20-%20I%20made%20a%20custom%20list%26nbsp%3Bto%20contain%20links%2C%20including%20a%20'category'%20choice%20field%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F27799iD9A9A7B57CC8EA01%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22List.png%22%20title%3D%22List.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EAnd%20then%20displayed%20it%20on%20a%20modern%20page%20using%20the%20%22List%20(preview)%22%20web%20part%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F27800i946ACABF8DD44993%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Listwp.png%22%20title%3D%22Listwp.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20links%20are%20clickable%20in%20this%20web%20part%20and%20open%20the%20target%20page%20as%20expected%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENigel%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-150956%22%20slang%3D%22en-US%22%3ERe%3A%20Modern%20Communication%20sites%20-%20display%20links%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-150956%22%20slang%3D%22en-US%22%3E%3CP%3ESame%20issue%20-%20because%20items%20in%20lists%20are%20just%20items%20now.%20There%20is%20no%20%22Links%22%20list%20app%20anymore%20on%20Modern%20Communication%20sites.%26nbsp%3B%20This%20used%20to%20be%20very%20easy%20and%20possible.%26nbsp%3B%20We%20have%20it%20all%20over%20the%20place%20in%20classic%20sites%20(and%20on%20prem).%20Now%2C%20not%20so%20much.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20order%20to%20accomplish%20this%2C%20it%20looks%20like%20we%20are%20going%20to%20have%20to%20either%20develop%20custom%20content%20types%20(to%20replace%20the%20ones%20that%20they%20no%20longer%20support)%20or%20use%20a%203rd%20party%20to%20dynamically%20apply%20XSLT%20to%20transform%20the%20link%20item%20back%20into%20a%20workable%20link.%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20is%20either%20a%20bug%20or%20a%20an%20intended%20deviation%20from%20the%20past%2C%20so%20I'm%20hoping%20the%20ticket%20with%20Microsoft%20will%20illuminate%20that.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-150932%22%20slang%3D%22en-US%22%3ERe%3A%20Modern%20Communication%20sites%20-%20display%20links%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-150932%22%20slang%3D%22en-US%22%3E%3CP%3EWhy%20not%20store%20the%20links%20in%20a%20custom%20list%2C%20use%20audiencing%2C%20then%20write%20a%20webpart%20to%20display%20them%20in%20some%20pleasing%20manner.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI'll%20be%20interested%20to%20see%20what%20support%20say%20about%20it.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-150867%22%20slang%3D%22en-US%22%3ERe%3A%20Modern%20Communication%20sites%20-%20display%20links%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-150867%22%20slang%3D%22en-US%22%3E%3CP%3EPerhaps%20I%20wasn't%20clear%20and%20I%20apologize%20if%20so.%20%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYes%2C%20it%20is%20looking%20like%20the%20modern%20web%20parts%20are%20in%20fact%20missing%20code%20and%20functionality.%20That%20is%20the%20reason%20I%20think%20this%20is%20a%20bug%20or%20missing%20feature%20in%20the%20current%20release.%26nbsp%3B%26nbsp%3B%20You%20are%20right%20and%20the%20native%20experience%20directly%20in%20a%20document%20library%20will%20work%20fine%20and%20process%20the%20request%20for%20the%20.url%20object%20as%20a%20redirect.%26nbsp%3B%20But%2C%20when%20you%20use%20the%20out%20of%20the%20box%20delivered%20web%20parts%20to%20display%20the%20contents%20of%20that%20library%20on%20a%20page%2C%20the%20experience%20is%20broken%20as%20the%20browser%20attempts%20to%20download%20the%20url%20items%2C%20rather%20than%20processing%20them%20as%20actual%20web%20links.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe've%20opened%26nbsp%3B%20a%20case%20with%20Microsoft%2C%20so%20we'll%20see%20what%20they%20say.%26nbsp%3B%20I'll%20share%20what%20I%20can%20when%20I%20learn%20more.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20would%20love%20to%20use%20a%20solution%20that%20does%20not%20force%20us%20to%20use%20.url%20files%2C%20but%20that%20is%20the%20delivered%20functionality%20from%20SharePoint.%26nbsp%3B%20SharePoint%20is%20transforming%20all%20web%20links%20in%20document%20libraries%20to%20.url%20items.%26nbsp%3B%20So%2C%20in%20a%20standard%20document%20library%2C%20you%20click%20on%20Add%20and%20choose%20%22link%22%2C%20you%20get%20a%20short%20form%20where%20you%20paste%20in%20a%20URL%20and%20give%20it%20a%20title.%26nbsp%3B%20If%20you%20paste%20in%20anything%20(such%20as%20%3CA%20href%3D%22https%3A%2F%2Fcontoso.sharepoint.com%2Fsites%2Fhr%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcontoso.sharepoint.com%2Fsites%2Fhr%3C%2FA%3E%20or%20even%20%3CA%20href%3D%22http%3A%2F%2Fwww.bing.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fwww.bing.com%3C%2FA%3E)%2C%20it%20automatically%20appends%20.url%20on%20the%20end%20and%20transforms%20it%20into%20that%20kind%20of%20object.%26nbsp%3B%20That%20might%20be%20part%20of%20the%20issue%20and%20where%20code%20is%20missing%20or%20wrong%20(or%20intentionally%20doing%20it%20for%20an%20unknown%20reason).%26nbsp%3B%20Perhaps%20a%20solution%20would%20be%20to%20add%20a%20content%20type%20(hopefully%20delivered%20by%20Microsoft%20soon)%20that%20will%20not%20do%20the%20.url%20transformation%20and%20will%20allow%20for%20native%20treatment%20of%20a%20standard%20web%20link.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESo%2C%20hopefully%20that%20is%20a%20bit%20more%20clear.%20I%20wouldn't%20think%20that%20having%20a%20list%20of%20links%20on%20a%20page%20and%20making%20sure%20that%20they%20actually%20act%20as%20expected%20when%20you%20click%20on%20them%20isn't%20an%20unusual%20request.%20We%20need%20more%20than%20what%20the%20Quick%20Links%20web%20part%20provides%20because%20we%20have%20a%20large%20number%20of%20centrally%20managed%20links%20that%20will%20be%20secured%20(or%20at%20least%20audience%20targeted).%20We%20are%20trying%20to%20provide%20a%20premier%20experience%20to%20a%20wide%20variety%20of%20users.%20Each%20user%20would%20only%20see%20the%20much%20smaller%20subset%20of%20links%20that%20they%20need.%26nbsp%3B%20When%20that%20large%20diverse%20audience%20comes%20to%20this%20communications%20site%20(a%20publishing%20layer%20of%20our%20intranet)%2C%20we%20want%20to%20guide%20them%20quickly%20to%20the%20deeper%20structures%20and%20to%20other%20systems%20as%20needed.%20Surely%20we%20are%20not%20the%20only%20customer%20that%20has%20this%20need.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-150844%22%20slang%3D%22en-US%22%3ERe%3A%20Modern%20Communication%20sites%20-%20display%20links%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-150844%22%20slang%3D%22en-US%22%3E%3CP%3EWell%2C%20it's%20perhaps%20stating%20what's%20obvious%2C%20but%20the%20webparts%20clearly%20don't%20have%20the%20code%20to%20understand%20that%20a%20.url%20file%20should%20be%20processed%20and%20then%20the%20client%20redirected%2C%20rather%20than%20downloaded.%20The%20document%20library%20code%20does%20have%20this.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20imagine%20you%20could%20develop%20your%20own%2C%20or%20add%20a%20request%20to%20uservoice.%20but%20it%20would%20seem%20like%20quite%20a%20niche%20requirement.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMaybe%20come%20up%20with%20a%20solution%20not%20using%20.url%20files.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-150787%22%20slang%3D%22en-US%22%3ERe%3A%20Modern%20Communication%20sites%20-%20display%20links%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-150787%22%20slang%3D%22en-US%22%3E%3CP%3EAlso%2C%20we%20will%20have%20HUNDREDS%20of%20links%20to%20manage%20and%20doing%20that%20on%20page%20is%20not%20optimal.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-150542%22%20slang%3D%22en-US%22%3ERe%3A%20Modern%20Communication%20sites%20-%20display%20links%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-150542%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20require%20item%20level%20permissions%20on%20the%20links%2C%20so%20we%20wanted%20to%20manage%20them%20in%20a%20managed%20list.%26nbsp%3B%26nbsp%3B%20That%20does%20not%20seem%20possible%20using%20the%20modern%20quick%20links%20(which%20looks%20like%20just%20on-page%20content%20rather%20than%20true%20managed%20content).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-150541%22%20slang%3D%22en-US%22%3ERe%3A%20Modern%20Communication%20sites%20-%20display%20links%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-150541%22%20slang%3D%22en-US%22%3E%3CP%3EWhy%20arent%20you%20using%20QuickLinks%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-460825%22%20slang%3D%22en-US%22%3ERe%3A%20Modern%20Communication%20sites%20-%20display%20links%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-460825%22%20slang%3D%22en-US%22%3EWell%20it's%20April%202019%20(one%20year%20later)%20and%20I%20stumbled%20upon%20this%20discussion%20while%20I%20was%20researching%20the%20same%20issue%20around%20links%20in%20the%20document%20library%20web%20part.%20Surprisingly%20this%20still%20isn't%20addressed.....%3CBR%20%2F%3E%3CBR%20%2F%3EIn%20my%20case%2C%20I'd%20like%20to%20add%20links%20in%20the%20document%20library%20to%20Microsoft%20Stream%20videos.%20That%20way%20tags%20can%20be%20added%20to%20those%20videos%20no%20different%20than%20other%20files%20in%20the%20document%20library%20(i.e.%2C%20word%2C%20excel%2C%20PDF).%20In%20addition%2C%20all%20these%20files%20can%20then%20be%20found%20using%20the%20search.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-767616%22%20slang%3D%22en-US%22%3ERe%3A%20Modern%20Communication%20sites%20-%20display%20links%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-767616%22%20slang%3D%22en-US%22%3E%3CP%3E%3CEM%3E%3CSTRONG%3EI'm%20happy%20to%20report%20that%20it%20looks%20like%20Microsoft%20has%20finally%20fixed%20this%20issue!%3C%2FSTRONG%3E%3C%2FEM%3E%26nbsp%3B%20In%20a%20modern%20page%2C%20URL%20links%20will%20now%20open%20up%20in%20a%20new%20browser%20tab.%26nbsp%3B%20I've%20tested%20this%20in%20Edge%20and%20Chrome.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1630396%22%20slang%3D%22en-US%22%3ERe%3A%20Modern%20Communication%20sites%20-%20display%20links%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1630396%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1292%22%20target%3D%22_blank%22%3E%40Steven%20Collier%3C%2FA%3E%26nbsp%3B%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F7317%22%20target%3D%22_blank%22%3E%40Matt%20Varney%3C%2FA%3E%26nbsp%3B%2C%20I'm%20facing%20an%20issue%20where%20if%20I%20put%20a%20modern%20page%20link%20in%20QuickLinks%20web%20part%2C%20it%20would%20save%20and%20show%20up%20as%20usual%20but%20would%20disappear%20once%20I%20refresh%20the%20page.%20The%20same%20would%20happen%20even%20if%20I%20put%20it%20as%20a%20hyperlink%20using%20Text%20web%20part.%20This%20doesn't%20happen%20with%20other%20classic%20view%20pages.%20See%20attachment.%20Any%20suggestions%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Hi all,

 

We have a modern Communications site on which we are trying to display links for the site visitors, but have run into an issue (possible bug) and wanted to see if anyone is experiencing this.

 

We have tried to use both the Highlighted Content web part and Library view web part in a modern page to view links (link items) from a document library.  Both web parts are displaying the links as expected, but the experience for visitors is asking them to download a .url file instead of actually redirecting them to the URL as it natively does within the document library. 

 

For instance, we have a test Communications site that uses both the Highlighted Content and Document Library Viewer (admittedly in preview still) web parts.  The parts are simply meant to display the actionable links from a managed list - like in previous versions that used an actual Links List app and corresponding web part.  The display works fine, but when the visitor clicks on a link item, it prompts them to download and save a .url file.  They don't actually ever get shipped to the destination of the link. 

 

The links are to areas and pages within the site, as well as to sites outside SharePoint Online entirely.

 

 Also, to future compound the issue, if you natively view the full document library where the links are defined and stored, the links behave as expected and the user is redirected to those destinations normally when they click on them.  Links are just that - links.

 

We simply want to display this list of links on a different page with supportive on page content and have them behave as links.

 

Thanks in advance for any insight.

14 Replies
Highlighted

Why arent you using QuickLinks?

Highlighted

We require item level permissions on the links, so we wanted to manage them in a managed list.   That does not seem possible using the modern quick links (which looks like just on-page content rather than true managed content).

Highlighted

Also, we will have HUNDREDS of links to manage and doing that on page is not optimal.

Highlighted

Well, it's perhaps stating what's obvious, but the webparts clearly don't have the code to understand that a .url file should be processed and then the client redirected, rather than downloaded. The document library code does have this.

 

I imagine you could develop your own, or add a request to uservoice. but it would seem like quite a niche requirement.

 

Maybe come up with a solution not using .url files.

Highlighted

Perhaps I wasn't clear and I apologize if so.  

 

Yes, it is looking like the modern web parts are in fact missing code and functionality. That is the reason I think this is a bug or missing feature in the current release.   You are right and the native experience directly in a document library will work fine and process the request for the .url object as a redirect.  But, when you use the out of the box delivered web parts to display the contents of that library on a page, the experience is broken as the browser attempts to download the url items, rather than processing them as actual web links.

 

We've opened  a case with Microsoft, so we'll see what they say.  I'll share what I can when I learn more.

 

We would love to use a solution that does not force us to use .url files, but that is the delivered functionality from SharePoint.  SharePoint is transforming all web links in document libraries to .url items.  So, in a standard document library, you click on Add and choose "link", you get a short form where you paste in a URL and give it a title.  If you paste in anything (such as https://contoso.sharepoint.com/sites/hr or even http://www.bing.com), it automatically appends .url on the end and transforms it into that kind of object.  That might be part of the issue and where code is missing or wrong (or intentionally doing it for an unknown reason).  Perhaps a solution would be to add a content type (hopefully delivered by Microsoft soon) that will not do the .url transformation and will allow for native treatment of a standard web link.

 

So, hopefully that is a bit more clear. I wouldn't think that having a list of links on a page and making sure that they actually act as expected when you click on them isn't an unusual request. We need more than what the Quick Links web part provides because we have a large number of centrally managed links that will be secured (or at least audience targeted). We are trying to provide a premier experience to a wide variety of users. Each user would only see the much smaller subset of links that they need.  When that large diverse audience comes to this communications site (a publishing layer of our intranet), we want to guide them quickly to the deeper structures and to other systems as needed. Surely we are not the only customer that has this need.

 

 

Highlighted

Why not store the links in a custom list, use audiencing, then write a webpart to display them in some pleasing manner.

 

I'll be interested to see what support say about it.

Highlighted

Same issue - because items in lists are just items now. There is no "Links" list app anymore on Modern Communication sites.  This used to be very easy and possible.  We have it all over the place in classic sites (and on prem). Now, not so much.

 

In order to accomplish this, it looks like we are going to have to either develop custom content types (to replace the ones that they no longer support) or use a 3rd party to dynamically apply XSLT to transform the link item back into a workable link.   

 

This is either a bug or a an intended deviation from the past, so I'm hoping the ticket with Microsoft will illuminate that.

Highlighted
Best Response confirmed by Matt Varney (Occasional Contributor)
Solution

Hi - I made a custom list to contain links, including a 'category' choice fieldList.png

And then displayed it on a modern page using the "List (preview)" web part:

Listwp.png

 

The links are clickable in this web part and open the target page as expected

 

Thanks

 

Nigel

Highlighted

This suggested solution technically works, but there are additional experience issues that are occurring with the modern web part.  I'm hoping these get addressed soon, but the issues are:

  • Column widths in the display are truncated (probably according to screen size?), which causes the values in the fields to be truncated.  Sure, you can move the width of the column, but the experience is truncated and the web part is not configurable enough to get around that.
  • The "Add" button appears in the web part, even for users who don't have permission to add items to the list.  When such a user selects the "Add" button on the web part, they get a small blank fly-out menu (similar to the one an authorized contributor would see and use, except it is much smaller and empty).  
  • Additionally, with the web part, any user gets the select column (the radio button to the right of the item) that allows them to attempt to share the item with EDIT permissions by default.  I expect this is by design to encourage sharing, but seems a bit aggressive for communications sites which are generally less "collaborative" and more "publishing" oriented. The item owner (not the site owner) does get an email to approve or deny the sharing, which is good I guess. 
Highlighted

Hi,

Having the same issue. The URL added to the library can be opened in a new tab from the library.  However, when trying to open URL from the Document library view web part on the modern page it will download the link. But when trying to open URL from the Document library view web part on the classic page it works fine.

Believe this should be fixed, it's critical to be able to do it from the page not just from the library, otherwise, why does such web part exist? Document library view web part has a significant difference from the Highlighted content web part, it displays views, which is quite important. And having URLs in the library oppose to Quick links has its benefits, for instance, you can filter and group items in the library and use this view on a page.

 

Hope to see some solutions soon.

Thanks in advance.

Highlighted

Indeed.  The functionality exists in classic view, but not in modern.  A link is an object to be acted upon (i.e. open the link), not an object to download.  Who does that?  Is there a large customer base doing this now? The thought process in this design is perplexing.  I think the good news might be that this can be corrected easily since the functionality exists (and has existed for decades).

Highlighted
Well it's April 2019 (one year later) and I stumbled upon this discussion while I was researching the same issue around links in the document library web part. Surprisingly this still isn't addressed.....

In my case, I'd like to add links in the document library to Microsoft Stream videos. That way tags can be added to those videos no different than other files in the document library (i.e., word, excel, PDF). In addition, all these files can then be found using the search.
Highlighted

I'm happy to report that it looks like Microsoft has finally fixed this issue!  In a modern page, URL links will now open up in a new browser tab.  I've tested this in Edge and Chrome.

 

Highlighted

@Steven Collier , @Matt Varney , I'm facing an issue where if I put a modern page link in QuickLinks web part, it would save and show up as usual but would disappear once I refresh the page. The same would happen even if I put it as a hyperlink using Text web part. This doesn't happen with other classic view pages. See attachment. Any suggestions?