Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Our Content team (admin users) have been trying out the Advanced Search and Replace tool to see whether it meets their needs, as we're in the process of switching from our old CMS to Umbraco.
Firstly, we've had an issue that when they get results after running a search they can't then do anything. The Preview button seems to be disabled (see screenshot below - the button's green but faded out) and they can't click on it - ditto for Replace, etc. The grey Reset and Search buttons work fine. Obviously this means they can't fully test out the tool as they can't see what's been found where or what would get replaced. Have we missed something? (sorry!)
Secondly, is there a way to select only certain documents returned in the search to apply the change to (assuming the Replace button wasn't disabled), or would it apply to all those found?
We've been trying this tool in Umbraco 7.6.2 and in 7.7.4.
There is a option on the Other Options tab as to what it will do, preview, save, publish, or unpublished changes where preview is the default. It's probably not enabling Preview as there are not changes specified under Manipulate Records.
There is no functionality to individual select a subset of the matched records to apply the changes to. There is a picker where you can set the start node, or search by doc type or other restrictions though.
Thanks for getting back to me so quickly.
Unfortunately, the example in my previous screenshot did have changes specified under Manipulate Records: we had entered text in the 'replace' and 'with' fields for the Text String Replacements option under Manipulate Records.
We had also set a base start node and search depth under Select Records.
We've tried a few different options, but nothing seems to enable the Preview button. I assume if we don't restrict to any particular template, content type, page status etc. that it will search all?
Copy and share the configuration under Other Options -> Save Restore Settings.
"search": "volunteers and professionals",
"replace": "professionals and volunteers"
Try selecting a property to update under Manipulate Records. I think it was coded to search all if that was empty but that may be the issue.
When it works the results tab will show experts of each field before and after the change.
Ah yes, that enabled the button.
I tried a few more properties, but my preview seems a bit more squashed than the screenshot on the package page:
Does this mean having to manually select all properties, or only selecting a few properties at a time?
I just wanted to check whether the above solution for enabling the button means that potentially all properties have to be manually selected before the button will be enabled? (i.e. rather than it by default running against all properties).
Also, is there a way to get the preview to display properly? I get the screenshot as per my previous post, which isn't very legible, whereas your package page shows:
which is far more legible and comprehensible. Does a setting need changing somewhere?
The difference in the previews is because one has newlines and ones doesn't. When the results are stored as a single line like that it can't do anything pretty. When I looked you have to select them. I was at one point trying to enumerate all of them but had issues.
Is there a way to change how the results are stored, so that the preview is legible like your example? (Sorry if this is a silly question - I'm a product owner not a developer :) )
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted