November Happy Hour will be moved to Thursday December 5th.

Search & replace - extended

Vote:
 
Hi! I´ve dowloaded the Search & replace code sample you can find in developer forum/code samples/productivity. Does anyone know how to make it work when searching dynamic properties aswell? This is the downloadable code: PageReference startPage = Global.EPConfig.RootPage; criteria = new EPiServer.PropertyCriteria(); criteria.Type = PropertyDataType.LongString; criteria.Name = propertyName; criteria.Value = searchText; criteria.StringCondition = EPiServer.Filters.StringCompareMethod.Contained; criterias.Add(criteria); matchingPages = Global.EPDataFactory.FindPagesWithCriteria(startPage, criterias); Thanks! /Lotta
#12370
Sep 19, 2005 16:48
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.