Link to search in Content Studio

Tried to find the “search improvements” that are coming to Content Studio, but didn’t find any about of my desired improvement, so I’ll add it here :smile:

This has been mentioned before in

  • this thread (although not sure about the dependency view)
  • my wish list here for feature requests for XP 8: “sharing of those searches with others, for instance by using URL query parameteres”

What I would like is for something like this URL:

https://<domain>/admin/tool/com.enonic.app.contentstudio/main#/default/browse?q=search+term

And that this would open content studio and perform the search with the applied terms.

It would be even better if Content Studio altered the URL as you were typing in search in the search field in Content Studio, so you could easily copy and paste the url to share the current search with others, add it to documentation or bookmark it.

I believe this would also allow users to set up site search in their browsers and then easily search for content in content studio from the browser adresse bar:

Screenshot 2024-11-08 at 13.58.23

:crossed_fingers: :sweat_smile:

2 Likes

Hi @Rolf

Sorry for the delayed response here.

Search improvements are indeed planned (see the last Roadmap update) but it’s taking longer than expected.

The changes will include:

  • Search-in-tree: filter the tree to show only specific items
  • Search for content that uses specific page components (parts & layouts)
  • Deep linking: save filter settings as a shortcut link. Note that linking to a specific widget (like dependency view from your example) is a not a part of this.
  • Add Publish from/to to the filter settings

Release-wise realistic ETA is around Q2 2025.

Hey!

No sweat, Im in no rush :smiley:

  • Deep linking: save filter settings as a shortcut link.

I’m not entirely sure what that means. :thinking:

Is this link random or predictable? By that I mean, will external tools be able to generate a link that passes parameters that will perform the search when the page loads?

So for instance, all of these URLs can be used as search engines in the nav bar of browsers:

https://developer.enonic.com/search?q=query
https://docs.google.com/document/u/0/?q=query
https://www.google.com/search?q=query
https://www.bing.com/search?q=query
https://search.brave.com/search?q=query
https://duckduckgo.com/q=query
https://docs.oracle.com/search/?q=query
https://developer.mozilla.org/en-US/search?q=query

Content Studio has a filter panel on the left. User will be able to save its settings for later use (or sharing). We will most likely not use query parameters as in your example because we don’t want to clutter Content Studio’s URL, but rather generate a hash which will be mapped to the saved filter parameters, kind of like bit.ly works.

Rolf, this is an interesting proposal for the query string. We’ll investigate the details of this when we start this project.