Modern Search Results getting a hyperlink value?

%3CLINGO-SUB%20id%3D%22lingo-sub-1585666%22%20slang%3D%22en-US%22%3EModern%20Search%20Results%20getting%20a%20hyperlink%20value%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1585666%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20configured%20a%20search%20box%20and%20the%20search%20results%20to%20point%20to%20a%20specific%20list.%20The%20list%20has%20a%20%22hyperlink%22%20item%20in%20it%20....%3CBR%20%2F%3E%3CBR%20%2F%3EIn%20Graph%20I%20see%20the%20Hyperlink%20contains%20a%20Description%20and%20URL.%26nbsp%3B%3CBR%20%2F%3EI%20want%20the%20URL%20value%20to%20be%20the%20underlying%20hyperlink%20in%20the%20search%20results%20output.%3CBR%20%2F%3ECurrently%20I%20have%20a%20custom%20template%20that%20displays%20the%20Title%20with%20an%20underlying%20link%20to%20the%20item%20in%20the%20list.%20That's%20where%20I%20want%20to%20change%20it%20to%20the%20Hyperlink.Url%20value....%3CBR%20%2F%3EIn%20the%20search%20results%20selected%20properties%20Hyperlink%20isn't%20even%20an%20option.%20There%20is%20HyperlinksOWSMTXT%20but%20that%20doesn't%20seem%20to%20output%20anything%20when%20I%20added%20it%20to%20the%20template.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22sasrsc_2-1597276371818.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F212144iF75165689637833D%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22sasrsc_2-1597276371818.png%22%20alt%3D%22sasrsc_2-1597276371818.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EWhat%20it%20looks%20like%20in%20Graph%20API%20so%20it's%20definitely%20there....%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22sasrsc_1-1597276257701.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F212142i34FFB29E7D70FAE3%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22sasrsc_1-1597276257701.png%22%20alt%3D%22sasrsc_1-1597276257701.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3EHow%20it%20renders%20now%20but%20it's%20using%20the%26nbsp%3Bhref%3D%22%7B%7BgetUrl%20item%7D%7D%22%20right%20now...%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22sasrsc_0-1597276175033.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F212140i3839F3A35A86C127%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22sasrsc_0-1597276175033.png%22%20alt%3D%22sasrsc_0-1597276175033.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1587896%22%20slang%3D%22en-US%22%3ERE%3A%20Modern%20Search%20Results%20getting%20a%20hyperlink%20value%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1587896%22%20slang%3D%22en-US%22%3EI%20will%20answer%20this%20myself%20after%20getting%20some%20help%20from%20a%20colleague.%20I%20had%20to%20edit%20the%20managed%20property%20%22a%20refindable%22%20string%22%20and%20add%20map%20ows_Hyperlink%20to%20it.%20I%20then%20added%20HyperlinkAZ%20(the%20alias%20I%20gave%20it)%20to%20the%20selected%20properties%20and%20it%20will%20now%20diusiplay.%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

I have configured a search box and the search results to point to a specific list. The list has a "hyperlink" item in it ....

In Graph I see the Hyperlink contains a Description and URL. 
I want the URL value to be the underlying hyperlink in the search results output.
Currently I have a custom template that displays the Title with an underlying link to the item in the list. That's where I want to change it to the Hyperlink.Url value....
In the search results selected properties Hyperlink isn't even an option. There is HyperlinksOWSMTXT but that doesn't seem to output anything when I added it to the template.

sasrsc_2-1597276371818.png

What it looks like in Graph API so it's definitely there....

 

sasrsc_1-1597276257701.png

 



How it renders now but it's using the href="{{getUrl item}}" right now...

sasrsc_0-1597276175033.png

 

1 Reply
Highlighted
I will answer this myself after getting some help from a colleague. I had to edit the managed property "a refindable" string" and add map ows_Hyperlink to it. I then added HyperlinkAZ (the alias I gave it) to the selected properties and it will now diusiplay.