API Enhancements
- ISuggestContent is a new search provider implementation interface for future development
string SuggestContent(int appID, string searchString, string userCN, string userPassword, int indexID, XElement configSettings);
- ILoadResources is a new interface for establishing a simple pattern to load JS and/or CSS resources for Display Components (CmsComponentBase). The interface requires implementation of two new Properties:
List<string> ResourcePaths { get; set; }
List<InitModule> InitList { get; set; }
- CmsHtmlStringComponent is a new display component that can be used as the basis for a Block or Page Part that only needs to render a simple string of html. This display component is dervied from CmsComponentBase<string>, and implements ILoadResources.
Bugs Fixed Related to Smart Search
- TITAN-1371 - Support multiple data sources with dtSearch
- TITAN-1216 - Smart Search: Enable Keywords button when clicking on index
- TITAN-926 - Search capture issues v7.0
- TITAN-909 - Smart Search Admin Date Range not retained when clicking keyword
Breaking Change Notice - ILoadResources
With the introduction of ILoadResources we refactored several Block processor classes. In so doing, some public properties have been removed to avoid confusion and unnecessary complexity to the implementation. In addition, display JS functions written to handle loading resource files in an Init function should be refactored. The legacy functions remain for now to support any external JS that may call them. They are no longer called by Base and will be removed in a future version.
Affected C# Classes
- AggregationV2
- CommentsAndRatings
- DataDetail
- DataEditor
- DataList
- FileUpload
- FormBlock
Breaking Change Notice - ISearchContent
The C# interface that allows developers to build search provider implementations (like dtSearch) had a change to the signature of one of the required methods.
ISearchContent.SearchContent
string SearchContent(int appID, string searchString, string userCN, string userPassword, int indexID, int startIndex, int endIndex, int pageNumber, XmlNode configSettings, string filtersXml, string logInfo, bool doDocsOnly);
is now
string SearchContent(int appID, string searchString, string userCN, string userPassword, int indexID, int startIndex, int endIndex, int pageNumber, XElement configSettings, string filtersXml, string logInfo, bool doDocsOnly);
Breaking Change Notice - TITAN-1270 - RESCINDED
At version 7.4.7.0 the breaking aspect of the changes for TITAN-1270 was revisited and avoided. No changes are required for custom versions of Segmented Search XSLs