Hot answers tagged

7

When you are trying to create a page with regions, Tridion would give a notification asking you to update the set of nested Regions to make it valid. In the Event System code, you would want to perform this update by calling the SynchronizeWithSchema method on the page. You would also have to set the page metadata schema with the correct root element ...


5

The problem was that DXA is using an older version of the CIL out the box. Updating the references to the later versions available on nuget.org resolves the problem. The following steps fixed this issue. Upgrade the Sdl.Web.Delivery version to 11.1.1103 from NuGet. Updated the DXA Webapp web.config to resolve all the conflicts <dependentAssembly&...


5

WebRequestContext.Localization is indeed the context Localization/Publication per definition. However, you can obtain other Localizations using SiteConfiguration.LocalizationResolver.GetLocalization(); it takes the Localization ID (i.e. the first number from the TCM URI) as input. You can then pass in the obtained Localization object to the GetEntityModel ...


3

DXA is built on top of DD4T, so the underlying APIs are the same. We should be able to use the standard Content Delivery API to get DCPs. Using the ComponentPresentationAssembler class and passing the publication ID in the constructor, we should be able to get DCPs based on publications. Something like this should work: ComponentPresentationAssembler ...


1

What content are you changing? The uploaded campaign ZIP or the textual content stored in Tridion? Instant Campaign is checking the timestamp on the ZIP file (which handled as any other media asset in DXA). If that has changed, the ZIP file will be re-extracted again. Can you verify that the timestamp of the ZIP has changed or not under BinaryData/[...


1

Why do you think the application will break with size increase of the config file? I'd seen huuuuge files and the module continued working with no issues at all. As for the urls and rules, personally I'd use Regex in the rules for both matching and rewriting.


1

You should be able to connect to the Core Service in a Web 8.5 instance from a .NET Core 3.1 web application. Here are some pointers that might help you connect to the Core Service using a .NET Core web application: The version of the .NET Core runtime and SDK installed on the machine running the web application should be 3.1. You can check the version by ...


1

I finally did it a little bit the ugly way by still publishing the ascx to file system like on the Tridion 2011 install. I have replaced the ComponentPresentationAssembler code that was trying to load the componentpressentation with my own code. This code is now checking if the published ascx file exist and if that's the case then it loads the controller ...


1

Yes, in Tridion 9.1 we can still publish items to the file system. In the cd_storage_conf.xml where the Discovery Service is installed, add the <Storage> element to publish files to the file system inside the <Storages> element like this: <Storage Class="com.tridion.storage.filesystem.FSDAOFactory" Id="ascx" Type="...


Only top voted, non community-wiki answers of a minimum length are eligible