This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<coveo> | |
<defaultIndexConfiguration> | |
<fieldMap> | |
<fieldNames hint="raw:AddFieldByFieldName"> | |
<fieldType fieldName="MyComputedField" isSortable="true" isFacet="true" settingType="Coveo.Framework.Configuration.FieldConfiguration, Coveo.Framework" returnType="System.String"/> | |
</fieldNames> | |
</fieldMap> | |
<documentOptions> | |
<fields hint="raw:AddComputedIndexField"> | |
<field fieldName="MyComputedField">Balaone.Coveo.MyComputedField, Balaone.Coveo</field> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Sitecore.ContentSearch; | |
using Sitecore.Data.Fields; | |
using Sitecore.Data.Items; | |
using Sitecore.ContentSearch.Diagnostics; | |
using Sitecore.ContentSearch.ComputedFields; | |
namespace Balaone.Coveo { | |
public abstract class BaseCoveoComputedField : IComputedIndexField | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<field fieldName="screenshotalturl" sourceField="screenshot"> | |
Coveo.SearchProvider.ComputedFields.ImageAltComputedField, Coveo.SearchProviderBase | |
</field> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<field fieldName="screenshoturl" sourceField="screenshot"> | |
Coveo.SearchProvider.ComputedFields.ImageUrlComputedField, Coveo.SearchProviderBase | |
</field> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<field fieldName="mimetype" sourceField="MediaItem" referencedFieldName="Mime Type"> | |
Coveo.SearchProvider.ComputedFields.ReferencedFieldComputedField, Coveo.SearchProviderBase | |
</field> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:role="http://www.sitecore.net/xmlconfig/role/" xmlns:search="http://www.sitecore.net/xmlconfig/search/"> | |
<sitecore role:require="Standalone or ContentManagement" search:require="solr"> | |
<contentSearch> | |
<configuration type="Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch"> | |
<indexes hint="list:AddIndex"> | |
<index id="sitecore_core_index" type="Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider"> | |
<param desc="name">$(id)</param> | |
<param desc="core">balaone_core_index</param> | |
<param desc="propertyStore" ref="contentSearch/indexConfigurations/databasePropertyStore" param1="$(id)" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:set="http://www.sitecore.net/xmlconfig/set/" xmlns:role="http://www.sitecore.net/xmlconfig/role/" > | |
<sitecore role:require="Standalone or ContentManagement"> | |
<settings> | |
<setting name="ContentSearch.SearchMaxResults" set:value="500" /> | |
</settings> | |
</sitecore> | |
</configuration> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################### | |
# Update the following parameters before execution | |
################################################### | |
#Starting path in content tree | |
$startingPath = "master:\content\home" | |
$defaultLayoutPath = 'master:\layout\mysite\Default' | |
#Report only and not update any item |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://unpkg.com/@coveops/hosted-search-page@latest/dist/index.min.js"></script> | |
<hosted-search-page id="hsp"></hosted-search-page> | |
<script> | |
var hostedSearchPage = document.getElementById('hsp'); | |
hostedSearchPage.configure({ | |
orgId: 'YOUR_COVEO_ORG_ID', | |
apiKey: 'YOUR_PAGES_API_KEY', | |
pageId: 'YOUR_HOSTED_SEARCH_PAGE_ID' | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script type="text/css" src="css/styles.css"></script> | |
</head> | |
<body> | |
<h1>Sitecore Embeddable Forms Demo</h1> | |
<scef-form formId="{B5D9B438-40DD-4E8B-80BD-A9DDE0DB8382}"></scef-form> | |
<script type="text/javascript" | |
src="./sitecore-embeddableforms.umd.js?sc_site=https://sc103cm.dev.local&sc_apikey=DAC359D9-DC3E-43D4-9FCC-CA61F4A43D89"> | |
</script> |
NewerOlder