Mar 23 2021 07:38 AM
Hi,
It's possible to use Mapped Crawled Properties like list filter in the web site URL ?
Actually, I make test to force filter on somes lists columns in my page.
To have the right url structure, I have manually check the information in my comlumns.
Now I try to tweak the url to always filter the list by siteTitle ou SiteName.
Here is the string than I try to add a the end of my url.
" ?View={29A449F3-54E8-4D8F-8BEB 6E41C8F699C0}&FilterField1=column_title&FilterValue1=ows_SiteName #InplviewHash1a5a672d-1e52-4f51-969d-39d766990dbe=FilterField1%3DTitle-FilterValue1=ows_SiteName"
If I write manually the subsite name like FilterValue1 that's work.
But like I use a template to generate the subsite, I would like auto push the subsite title like FilterValue1 in the URL.
I have found in the Mapped Crawled Properties below.
I have try FilterValue1=ows_SiteName and FilterValue1=SiteTitle, but this is view like string.
I have try to change for "ows_SiteName" or $ows_SiteName.
But this not work.
I have found another solution, but it's not work at 100%.
The script below make than we could search value in a table and hide the other row.
I have try to modify the script to connect this one on my list.
That's work and the script detecte all the row, but the index stay always at -1 for each row.
It's like the script could not catch the content of the table row.
If I could make this script working and force the subsite title like input that's could be the solution.
You could view the script in the attach file.
Any idea is welcome.
Mar 24 2021 07:42 AM
Solution