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
{ | |
"Source": "Sitefinity Insight", | |
"TenantId": "dd838e37-aee1-4904-bf45-59930bfeb537", | |
"EventType": "PropensityScoringQualifiedInPartition", | |
"EventId": "246d31a3-d1a1-43cc-a640-6f6b7e75db59", | |
"Timestamp": "2025-01-01T06:57:29.3646827Z", | |
"ContactId": 1, | |
"ContactEmail": "someone@somewhere.com", | |
"ConversionId": 1, | |
"ConversionName": "Potential Buyer", |
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
import { OTLPTraceExporter } from '@opentelemetry/exporter-trace-otlp-http' | |
import { Resource } from '@opentelemetry/resources' | |
import { NodeSDK } from '@opentelemetry/sdk-node' | |
import { SimpleSpanProcessor } from '@opentelemetry/sdk-trace-node' | |
import { ATTR_SERVICE_NAME } from '@opentelemetry/semantic-conventions' | |
const sdk = new NodeSDK({ | |
resource: resourceFromAttributes({ | |
[ATTR_SERVICE_NAME]: 'next-app', | |
}), |
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
export async function register() { | |
if (process.env.NEXT_RUNTIME === 'nodejs') { | |
await import('./instrumentation.node.ts') | |
} | |
} |
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
{ | |
"servers": { | |
"sitefinity-aspnet-core": { | |
"url": "https://mcp.sitefinity.cloud/netcore-widgets/", | |
"headers": { | |
"x-sitefinity-url": "https://www.example.com/api/default" | |
} | |
} | |
} | |
} |
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
{ | |
"servers": { | |
"sitefinity-nextjs": { | |
"url": "https://mcp.sitefinity.cloud/nextjs-widgets/", | |
"headers": { | |
"x-sitefinity-url": "https://www.example.com/api/default" | |
} | |
} | |
} | |
} |
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.ComponentModel; | |
using Progress.Sitefinity.Renderer.Entities.Content; | |
using Progress.Sitefinity.Renderer.Designers.Attributes; | |
namespace SitefinityWebApp | |
{ | |
public class DemoMixedContentContext | |
{ | |
[Content] | |
public MixedContentContext AllTypes { get; set; } |
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
module.exports = { | |
// ... | |
webpack: (config, options) => { | |
config.resolve['alias']['@progress/sitefinity-nextjs-sdk/diagnostics/empty'] = '@progress/sitefinity-nextjs-sdk/diagnostics/dev'; | |
config.resolve['alias']['@widgetregistry'] = path.resolve(__dirname, 'src/app/widget-registry'); // <- this should be present by default in your project | |
return config; | |
}, | |
serverExternalPackages:[ |
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 Lucene.Net.Search; | |
using Telerik.Sitefinity.Services.Search.Data; | |
using Telerik.Sitefinity.Search; | |
using Lucene.Net.QueryParsers.Classic; | |
using System.Collections.Specialized; | |
using Telerik.Sitefinity.Configuration; | |
using Telerik.Sitefinity.Search.Configuration; | |
using Telerik.Sitefinity.Services.Search.Configuration; | |
namespace SitefinityWebApp.Documentation.Samples.Search |
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 Lucene.Net.Documents; | |
using Lucene.Net.Index; | |
using Lucene.Net.Queries; | |
using Lucene.Net.Search; | |
using System; | |
using Telerik.Sitefinity.Publishing; | |
namespace SitefinityWebApp.Documentation.Samples.Search | |
{ | |
/// <summary> |
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 Lucene.Net.QueryParsers; | |
using Lucene.Net.Search; | |
using System.Collections.Specialized; | |
using Telerik.Sitefinity.Configuration; | |
using Telerik.Sitefinity.Search; | |
using Telerik.Sitefinity.Search.Configuration; | |
using Telerik.Sitefinity.Services.Search.Configuration; | |
using Telerik.Sitefinity.Services.Search.Data; | |
namespace SitefinityWebApp.Documentation.Samples.Search |
NewerOlder