# Custom Field on the workplace Display Setting

**URL:** <https://discuss.elastic.co/t/custom-field-on-the-workplace-display-setting/273282>\
**Category:** Elastic Search\
**Tags:** elastic-workplace-search\
**Created:** [May 18, 2021, 12:24pm UTC](https://discuss.elastic.co/t/custom-field-on-the-workplace-display-setting/273282 "2021-05-18T12:24:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeje232](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jeje232/32/27564_2.png) [@jeje232](https://discuss.elastic.co/u/jeje232)\
**Post date:** [May 18, 2021, 12:24pm UTC](https://discuss.elastic.co/t/custom-field-on-the-workplace-display-setting/273282/1 "2021-05-18T12:24:11Z")

</div>

Hello,

In the search application in Workplace Search I want to add at the end of the URL link Something like #toto=tata

In the display settings I don't find nothing, just the comment but don't now if it's possible to put some internal WS variable.

Best regards

---

<div class="post-metadata">

**Author:** ![JonasLavoie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jonaslavoie/32/56961_2.png) [@JonasLavoie](https://discuss.elastic.co/u/JonasLavoie)\
**Post date:** [May 18, 2021, 3:48pm UTC](https://discuss.elastic.co/t/custom-field-on-the-workplace-display-setting/273282/2 "2021-05-18T15:48:02Z")

</div>

Heya Jeremy -

Can you please provide an example of what you are looking to achieve? Are you looking to add parameters at the end of a URL as captured by a first-party content source such as Google Drive? Or a Custom Source?

---

<div class="post-metadata">

**Author:** ![jeje232](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jeje232/32/27564_2.png) [@jeje232](https://discuss.elastic.co/u/jeje232)\
**Post date:** [May 18, 2021, 6:43pm UTC](https://discuss.elastic.co/t/custom-field-on-the-workplace-display-setting/273282/3 "2021-05-18T18:43:07Z")

</div>

Hello Jonas,

In my Workplace Search, I search a phrase:

 ![Screenshot from 2021-05-18 20-00-29](https://us1.discourse-cdn.com/elastic/original/3X/8/7/87a54f87167159c1f5f8178563aea0f68be883a5.png)

 ![Screenshot from 2021-05-18 20-01-09](https://us1.discourse-cdn.com/elastic/original/3X/3/7/379be7459e5be4d542524e3e7496a0b396e33efe.png)

When I pick the pdf link, it open new browser page like:  
`http://172.16.0.208/books/romeo_and_juliet.pdf`

I would like to add dynamically the search URL because It's I think more comfortable for customers to go directly where there find the expression or phrase:  
`http://172.16.0.208/books/romeo_and_juliet.pdf#search=liest%20thou%20there%20in%20thy%20bloody%20sheet&phrase=true`

 ![Screenshot from 2021-05-18 20-27-14](https://us1.discourse-cdn.com/elastic/original/3X/f/6/f60c38d58f98aea8900c24c30dcf55ddf57620eb.png)

or go to the corresponding page:  
`http://172.16.0.208/books/romeo_and_juliet.pdf#page=133`

I don't now if there are any solution.

Thank you very much,

Regards

---

<div class="post-metadata">

**Author:** ![ross.bell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ross.bell/32/77559_2.png) [@ross.bell](https://discuss.elastic.co/u/ross.bell)\
**Post date:** [May 24, 2021, 7:31pm UTC](https://discuss.elastic.co/t/custom-field-on-the-workplace-display-setting/273282/4 "2021-05-24T19:31:50Z")

</div>

Hey @jeje232,

We don't currently support the ability to link to a dynamic URL anchor based on the search query or result set.

If I've misunderstood the request and you just want to indicate that navigating to a result is coming from Workplace Search, then you could simply index the document with a URL that includes a parameter that indicates it came from Workplace Search.

Ross

---

<div class="post-metadata">

**Author:** ![jeje232](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jeje232/32/27564_2.png) [@jeje232](https://discuss.elastic.co/u/jeje232)\
**Post date:** [June 3, 2021, 7:32am UTC](https://discuss.elastic.co/t/custom-field-on-the-workplace-display-setting/273282/5 "2021-06-03T07:32:54Z")

</div>

Hi Ross,  
Thanks for you answer.

I think I did not explain myself correctly. I search a way to add at the pdf url contain of the workplace-search search expression. this information just could be used dynamically when Workaplace find pdf's results.

Anyway I'm not investigated any more but in the next day will be fallowing with it.

Best regards

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 31, 2022, 2:48am UTC](https://discuss.elastic.co/t/custom-field-on-the-workplace-display-setting/273282/6 "2022-10-31T02:48:04Z")

</div>

Closed on October 31, 2022, 2:48am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
