We changed our privacy policy. Read more.
7

The first issue clearly states that the custom models and views have not been registered with DXA. You'd have to create a class that extends AbstractModuleInitializer and register all views and custom entity models. For your setup you should have something like this: @Component @Configuration @ComponentScan("com.sdl.dxa") public class ...


7

To get the Component Presentations on a Page, There are two different types of component presentations, dynamic and embedded. Embedded templates are used when a component is added to a page and published only in the context of that page. Dynamic means that the component can be published out to the broker, in your case I would assume it's an embedded CP, then ...


6

Editing for clarity. If by decommission you mean "stop paying the support fees, but keep the software running", Assuming what you intend to do is to continue using the software but stop paying the support & maintenance fee, that's exactly what will happen. Your current version will continue running, and everything will work as is, but: you won'...


6

To fetch the As-is data template less publishing, called “untyped content” from GraphQL: { page(namespaceId: 1, publicationId: 5, pageId: 730) { itemId title url content { ... on UntypedContent { data } } } } Updated: In Sites 9.5 Templates Data-only publishing, and semantic content models (custom ...


4

If you build an embedded schema model deeper than two levels, you will find that it is nightmare to use in the gui. I sugest that you look at category and keyword navigation design pattern instead, which will let you build a tree of relationships you are looking for. Add a metadata schema to manage any additional properties you need, https://docs.sdl.com/...


3

There is no supported recursive schemas option in Tridion. You have to define schemas for each level and then link them. Sorry to break your heart, but sometimes Tridion is cruel and is not kind to navigation items. A lot of us have tried different approaches and most of them are semi-hard-coded with a lot of assumptions.


3

Please refer to the link on how to add a custom field on solr and implement Search Indexing Handler and add it to the content manager configuration. In your case <field name="Link_URL_dyn_s_str" type="text" indexed="true" stored="false"/> Not sure what is your requirement to add the field Link_URL to solr, you ...


3

Yes, as Nuno mentioned in his comment, Core Service can be used. And if you ask me, I'll probably use it. Another option, if you plan on just clicking is using Content Porter. It can export all items with their references, and you can import them into another Tridion Environment. You can also check the packages it creates. They are self-explanatory with a ...


2

You'd have to get the component from the CopyEventArgs.CopiedObject, which will have the results of the copy operation. The CopiedObject will be null in the Initiated event phase. Use the Processed phase instead of Initiated in the event subscription. You've not called the VersionedItem.Save() method to save the metadata changes made on the copied component. ...


2

I would raise this with Support. For the same page in a Tridion Sites 9.1 implementation, I tried using the GetMeta(int pageId) and found it returned null, but GetMeta(string pageUri) does not. UPDATE Be careful with the parameters your using here, when initialising and calling the method. The PageMetaFactory constructor expects a string or an int. If you ...


2

Once SDL contract is over, what happens to the current running site in production? Will that stop working? Yes (if the question tags are correct). But, even if it continues running, having it that way would be using unlicensed software which has legal implications. Contact SDL (RWS) directly to see what your options are. EDIT See also Nuno's comment below. ...


2

This is a very curious requirement. But again, most of the business requirements are. How I can see from your comments, you don't want to use the BluePrint for this which would be the proper case. I would in your case argue that the parent page should have general content and the child page should have general and specific content. But if you do not want ...


2

All the content is in the database. Backup your database, there's your backup. As for migration, good luck. Blueprinting and content relationships will probably make your life miserable while writing the scripts. CoreService is your friend, I guess. FYI - And this applies to all migrations. If your content structure is wrong to start with, it will be wrong ...


2

If you map a Component Link field to a property of type string, the semantic mapping will use the resolved link URL which is injected in the DXA R2 Data Model by the DXA Model Service/Extension. Unfortunately, this part of link resolving is not customizable. However, if you map a Component Link field to an Entity Model, you will have access to the underlying ...


2

EmbeddedSchemaField.Values is a collection of ItemFields objects (one for each value). If you have an optional embedded field, it will initially not have any values, so indeed EmbeddedSchemaField.Values.Count = 0 You can add values to the collection, though: Schema embeddedSchema = ((EmbeddedSchemaFieldDefinition)embeddedField.Definition).EmbeddedSchema; ...


1

Reference sample Code for Unpublish PageByUrl using CoreService: using System; using Tridion.ContentManager.CoreService.Client; using System.ServiceModel; using System.Net; using System.Collections.Generic; using System.Linq; using System.Xml.Linq; namespace CoreService.PublishPageByPageURL { class Program { static void Main(string[] args) ...


1

If I understand correctly, you want to have Page Regions which are: Separately BluePrinted (the Regions may be shared from the parent Publication, whereas the Page itself is not). Separately Secured (a user which is allowed to edit the Page may not be allowed to edit those Regions). If so, it sounds like you want to use Include Pages for those Regions. ...


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