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/sf/cms/api/v1/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/sf/cms/api/v1/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
| { | |
| "Commands": { | |
| "Migrate": { | |
| "CmsUrl": "https://yoursitefinityinstance.net", | |
| "Token": "authentication-token", | |
| "PlaceholderMap": { | |
| "Contentplaceholder1": "Body" | |
| }, | |
| "Widgets": { | |
| "Telerik.Sitefinity.Modules.GenericContent.Web.UI.ContentBlock": { |
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
| "FormFieldNameMap": { | |
| "sf_contactus.TextFieldController": "SitefinityTextFieldFormControl" | |
| } |
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
| ObjectFactory.Container.RegisterType<Analyzer, MyCustomAnalyzer>( | |
| nameof(MyCustomAnalyzer), | |
| new ContainerControlledLifetimeManager(), | |
| new InjectionConstructor( | |
| new InjectionParameter<LuceneVersion>(LuceneVersion.LUCENE_48), | |
| new InjectionParameter<CharArraySet>(CharArraySet.Empty) | |
| ) | |
| ); |
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
| <webSecurityConfig xmlns:config="urn:telerik:sitefinity:configuration" xmlns:type="urn:telerik:sitefinity:configuration:type"> | |
| <redirectValidation trustedLocations="https://login.microsoftonline.com" /> | |
| <cookiesProtector enable="False" /> | |
| </webSecurityConfig> |
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
| { | |
| "Commands": { | |
| "Migrate": { | |
| ... | |
| "Widgets": { | |
| "Telerik.Sitefinity.Modules.GenericContent.Web.UI.ContentBlock": { | |
| // the name of the new widget in ASP.NET Core and Next.js renderers | |
| "Name": "SitefinityContentBlock", | |
| // the whitelist of properties to keep during the migration | |
| "Whitelist": ["Html", "ProviderName", "SharedContentID"], |
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
| { | |
| "Commands": { | |
| "Migrate": { | |
| "CmsUrl": "http://localhost", | |
| "Token": "TOKEN", | |
| "Recreate": false, | |
| "Recursive": false, | |
| "Replace": false, | |
| "Action": "publish", | |
| "SiteId": "00000000-0000-0000-0000-000000000000", |
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
| ```tsx | |
| import { GoogleTagManager } from '@next/third-parties/google' | |
| export default function Page() { | |
| <!--- replace "GTM-XYZ" with your GTM container ID--> | |
| return <GoogleTagManager gtmId="GTM-XYZ" /> | |
| } |
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
| ```tsx | |
| import { GoogleTagManager } from '@next/third-parties/google' | |
| export default function RootLayout({ | |
| children, | |
| }: { | |
| children: React.ReactNode | |
| }) { | |
| return ( | |
| <html lang="en"> |
NewerOlder