This file contains 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
<div id="search" class="CoveoSearchInterface" data-enable-history="true"> | |
<div class="CoveoFolding" data-tab-not="SalesforceChatter"></div> | |
<div class="CoveoFoldingForThread" data-child-field="@sffeeditemid" data-field="@sffeeditemid" data-parent-field="@sfid" data-range="2" data-rearrange="date ascending" data-tab="SalesforceChatter" data-expand-expression="@objecttype==(FeedItem, FeedComment)"> | |
</div> | |
<div class="CoveoAnalytics"></div> | |
<div class="coveo-tab-section"> | |
<a class="CoveoTab" data-id="All" data-caption="All Content"></a> | |
</div> | |
<div class="coveo-search-section"> | |
<div class="CommunityStateManager"></div> |
This file contains 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
{ | |
"Services": [ | |
{ | |
"Url": "https://discover.fluidtopics.com", | |
"Endpoints": [ | |
{ | |
"Path": "/api/khub/maps", | |
"Method": "GET", | |
"ItemType": "FluidTopicArticles", | |
"Uri": "%[coveo_url]", |
This file contains 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
{ | |
"Services": [ | |
{ | |
"Url": "https://api.stackexchange.com", | |
"Endpoints": [ | |
{ | |
"Path": "/2.2/search/advanced", | |
"Method": "GET", | |
"ItemType": "questions", | |
"ItemPath": "items", |
This file contains 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
.tab-container { | |
display:flex; | |
align-items: center; | |
justify-content: center; | |
} | |
.tab-container li{ | |
align-self: center; | |
} |
This file contains 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
<template> | |
<div> | |
<template if:true={ranger} > | |
<lightning-record-view-form | |
record-id={ranger} | |
object-api-name="Contact"> | |
<div class="potato slds-box" style={boxClass}> | |
<lightning-output-field field-name="Name"> | |
</lightning-output-field> | |
<lightning-output-field field-name="Email"> |
This file contains 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
<design:component label="CustomSearch"> | |
<design:attribute name="name" label="Name" /> | |
<design:attribute name="autoInitialize" label="Auto Initialize" /> | |
<design:attribute name="autoInjectBasicQuery" label="Auto Inject Basic Query" /> | |
<design:attribute name="autoInjectBasicOptions" label="Auto Inject Basic Options" /> | |
<design:attribute name="debug" label="Debug" /> | |
<design:attribute name="searchHub" label="Search Hub" /> | |
</design:component> |
This file contains 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
<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:availableForAllPageTypes" access="global" > | |
<aura:attribute name="size" type="String" default="6" /> | |
<aura:attribute name="label" type="String" default="Status" /> | |
<aura:attribute name="fieldValue" type="String" default="" /> | |
<aura:attribute name="auraId" type="String" default="aField" /> | |
<aura:attribute name="isReadonly" type="Boolean" default="true" /> | |
<div class="slds-blueprint"> | |
<lightning:layout multipleRows="true"> | |
<lightning:layoutItem padding="around-small" size="{!v.size}"> |
This file contains 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
import { LightningElement, track } from 'lwc'; | |
import ResourcesC from '@salesforce/resourceUrl/CoveoV2__searchUi'; | |
import { loadScript, loadStyle } from 'lightning/platformResourceLoader'; | |
/* | |
CoveoV2 resources can be found at | |
https://docs.coveo.com/en/319/javascript-search-framework/downloading-the-javascript-search-framework | |
OR http://productupdate.coveo.com/?product=coveo-search-ui | |
*/ |