SOLVED

Search the content of Site Pages to find out where managed properties are used

%3CLINGO-SUB%20id%3D%22lingo-sub-2310553%22%20slang%3D%22en-US%22%3ESearch%20the%20content%20of%20Site%20Pages%20to%20find%20out%20where%20managed%20properties%20are%20used%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2310553%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20there%2C%3C%2FP%3E%3CP%3Ewe%20do%20some%20changes%20on%20our%20SharePoint%20Online%20Search%20Schema%20and%20the%20Managed%20Properties.%20Now%20I%20need%20a%20list%20of%20WebPages%20that%20uses%20the%20%22old%20Managed%20Property%22%20in%20a%20Highlighted%20Content%20Web%20Part%20so%20I%20can%20update%20those%20to%20the%20new%20property%20name.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20thought%20it%20must%20be%20something%20like%20%22a%20Content%20Search%20restricted%20to%20the%20Filetype%20Site%20Page%22%20but%20I%20didn't%20found%20any%20helpful%20information%20how%20to%20tackle%20this.%3C%2FP%3E%3CP%3ECan%20somebody%20give%20me%20a%20hint%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EIngrid%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2310553%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2365445%22%20slang%3D%22en-US%22%3ERe%3A%20Search%20the%20content%20of%20Site%20Pages%20to%20find%20out%20where%20managed%20properties%20are%20used%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2365445%22%20slang%3D%22en-US%22%3EYeah%2C%20I%20have%20solved%20it!%3CBR%20%2F%3EThe%20page%20content%20is%20stored%20in%20the%20site%20page%20property%20CanvasContent1.%3CBR%20%2F%3EI%20have%20written%20a%20script%20that%20checks%20if%20the%20name%20of%20the%20old%20managed%20property%20is%20contained%20in%20it%2C%20that%20works%20for%20me%2C%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi there,

we do some changes on our SharePoint Online Search Schema and the Managed Properties. Now I need a list of WebPages that uses the "old Managed Property" in a Highlighted Content Web Part so I can update those to the new property name.

 

I thought it must be something like "a Content Search restricted to the Filetype Site Page" but I didn't found any helpful information how to tackle this.

Can somebody give me a hint?

 

Thanks,

Ingrid

 

 

 

1 Reply
best response confirmed by Ingrid Schiele (Occasional Contributor)
Solution
Yeah, I have solved it!
The page content is stored in the site page property CanvasContent1.
I have written a script that checks if the name of the old managed property is contained in it, that works for me,