All Questions
Tagged with templates or templating
249 questions
0
votes
0
answers
47
views
Is there any way to change the page template and component template via automation using core services?
We have a requirement to change the page templates and component templates to a newer version available for all our pages and components via automation. Are there any extensions available or any ...
2
votes
3
answers
52
views
validate Component Template selection on Page Saving
we need to validate the Component Template selection on Page Saving. if we did not select the CT, now we are able to save the Page but on publish time it's throwing an error.
can anyone help me how to ...
1
vote
1
answer
28
views
How to Preselect Component Template
We are using Tridion Site 9.6.
if we are adding Component into page, if we have only 1 component Template for component, it will be selecting automatically. but if we have multiple CT's for same ...
1
vote
2
answers
80
views
What makes a Page Template "template-less?" (data publishing with multiple regions)
As of Tridion Sites 9.5 we can use data publishing where Pages and Components are published using built-in (JSON) data.
Editors don't necessarily need to create Component Presentations for a page, ...
4
votes
1
answer
97
views
Restrict publishing of Linked component within Parent Component using C# Template
Restrict publishing of Linked component withinn Parent Component using C# Template
We have a dynamic component template and I want to restrict the Publishing of Linked-Component which is within Parent ...
1
vote
0
answers
59
views
Executing Default Finish action from .net assembly
I want to execute default finish action compound tbb from .NET code. Is it possible and how? Or any other TBB that comes with Tridion installation?
0
votes
1
answer
39
views
Compile DXA Templating 2.2.3 for SDL Tridion 8.5
We have a SDL Tridion 8.5 installation with DXA 2.0.3.
Now we want to migrate to DXA 2.2.3 as previous step to migrate SDL Tridion to 9.5.
In the templating part, we did some extensions that we want ...
2
votes
1
answer
64
views
DXA 2.2 Issue with Publication Title
We have noticed that if there is . and / character in Publication Title, DXA template throw error while publishing/previewing the pages. Find below error message:
(80040200) An error occurred while ...
0
votes
2
answers
128
views
Step to overide publishing page url using deployer extension
Anybody knows how to create deployer extension to change publishing page URL before inserting to broker database?
We are trying to modify the page URL because we will be using keyword key value in ...
1
vote
1
answer
71
views
Modify Page url using TBB
We have created and implemented a TBB which modifies the published Page's url. We managed to modify the Page url in the Package, but the Broker database it still shows the unmodified page url.
...
1
vote
2
answers
68
views
DWT Code for Reading Component Links
Is there any way other then standard anchor tridion href to read component links from the Component using Dreamweaver Template.
For example we use below code to resolve component link
<a tridion:...
4
votes
0
answers
62
views
Implementing Experience Manager fields with repeating (and embedded repeating) fields/values (SDL Tridion Web 8)
I've been struggling to find clear documentation on implementing Experience Manager fields <tcdl:Field><tcdl:FieldValue></tcdl:FieldValue></tcdl:Field> into Razor C# template ...
0
votes
2
answers
177
views
Get MIME Type of Multimedia Types based on file extension using TOM.NET (.NET Templating)
Recently I recevied client business requirement to get MIME Type of Multimedia
Types item based on extension (External Url) from Tridion using C# Templating.
Read all Multimedia Types from ...
0
votes
1
answer
167
views
Error while uploading Template assembly with TcmUploadAssembly.exe using domain name to SDL 8.5
I am running a script to upload templates from the same cms server. The script fails when I use the domain name of the machine however it works when I use the localhost as the targeturl parameter. For ...
1
vote
0
answers
50
views
Resolving Rich text with anchor tags pointing to Iceportal Component
Hello this is my first post and am a newbie tridion user here.
I have created a component with rich text where I include an hyperlink to an ecl item.
Then I included the component on a page and ...
2
votes
2
answers
2k
views
TemplateCompileException: CS0234: The type or namespace name 'Script' does not exist in the namespace 'System.Web'
SDL Tridion Support recommended that I post this question out here (they don't seem to have any good guesses at this point). Today I went to go update a Template Building Block (TBB) that largely has ...
1
vote
0
answers
32
views
"It is not possible to perform this action in a template" error when publishing SG, but not its contents
I have a couple of Structure Groups for which publishing fails with the message "It is not possible to perform this action in a template". When I select the Structure Groups and Pages that are in the ...
0
votes
1
answer
80
views
Is there any standard solution for Blueprint structure to be fetched, for all publications in a CMS?
For our Web 8.5 implementation, we have a requirement to fetch the complete Blueprint structure using C# TBB's. We do have an implementation that uses Metadata Schemas to fetch the Publication details ...
1
vote
1
answer
40
views
Component Template and adding layout TBB
I have a relatively static site. I also have a fairly generic CT with many default and custom TBB's. I add new DWT Layout TBBs and use the same CT with just swapping out name and TCM ID of the new ...
2
votes
2
answers
74
views
Set multiple Parameter Schemas for TBB?
Suppose I have 2 custom TBBs, each with their own Parameter Schema. During development, I noticed that there are parameters that are shared between the two.
Is there a way to assign multiple ...
6
votes
2
answers
149
views
Event code error - only in Template Builder
Firstly, this is an 8.5 instance, upgraded from 2013, upgraded from 2011. We have Audience Manager installed (and working well) and outbound email.
I have a set of custom events that subscribe (when ...
0
votes
1
answer
72
views
Is it possible to publish page with anothe Page Template using Core Service or something similar?
I need to do some new functionality which allow users to select some feature in Page Metadata and with this check selected the Page should be published with another Page Template (this Page Template ...
4
votes
2
answers
489
views
Unable to debug Merged .NET assembly Template Building Blocks
I am trying to debug a Custom Template Building Block defined in a .Net Assembly TBB according to the documentation. I am building the .Net Assembly using below command in the Post Build event of the ...
2
votes
3
answers
91
views
2 DWT Tridion 2013 questions
Not sure if I can post my questions here, please tell me where to move my question if necessary...
1) I added to a page a custom metadata schema. In that schema, there is an embedded component field '...
0
votes
1
answer
59
views
Unable to connect to Template Builder : Upgrade from Tridion 2011 to Web8.5
After upgrading the CMS from Tridion 2011 to Web8.5 Template builder throws an exception below when you click on the Building blocks folder in any publication.
Object reference not set to an ...
3
votes
1
answer
75
views
Slightly confused over dynamic version
Read the following question which explains TCMs like tcm:x-xx-v0 are created when items are checked out.
However when Ive tested using a simple C# TBB:
log.Debug("Executing C# template");
Item item ...
2
votes
4
answers
371
views
Can a CT be created to be only allowed in one PT?
In Order to make my logo dynamic(coming from CMS), I created a CT which can add any image to a header page having PT "Include Page".
But Now I want that CT to be available for one page i.e. header ...
1
vote
1
answer
114
views
Error on Publishing ECL Items
To publish ECL Items we have placed a custom build TBB to add external binary to our file system.
On publishing ECL Items we're getting error as Cannot access a closed Stream.
Error:
The number ...
1
vote
1
answer
345
views
How publishing works for ECL Items when published alone or published as Multimedia Link
Trying to explore more on Tridion, found that ECL External Content Library framework bit interesting.
Started implementing the same in Tridion CME with the help of a few tutorial and blogs, which ...
3
votes
1
answer
276
views
Error on previewing an ECL Component
I'm trying to implement Bart's Flickr ECL provider to get content from Flickr. Successfully configured to Tridion, Flickr images are now exposed to Tridion. I'm testing on how ECL Components rendering ...
5
votes
1
answer
123
views
PublishEngine.IsPublished() so slow
We recently migrated from Tridion 2011 to SDL WEB 8.5 and suddenly, in one of our environments (staging), an specific page started to take over 2 hours to being published.
This page has a tbb c# ...
5
votes
1
answer
146
views
Can I register a CME Notification from a TBB?
I would like to throw a notification message in the CME message center from my workflow external activity TBB.
I am just trying to do this but not sure this is possible. I can do this with help of ...
1
vote
3
answers
186
views
How to consume XML sent by C# TBB in Razor template?
My C# TBB returns Keywords from a specific Category as XML:
XmlDocument keywordsXml = new XmlDocument();
keywordsXml.LoadXml(cat.GetListKeywords().OuterXml);
Item output = package....
1
vote
2
answers
336
views
Publishing getting failed in Template rendering but able to preview the Page
I am trying to publish an XML Page where I am updating the Output of the Page created in Default Finish Actions using a C# TBB. I am able to preview the Page in Tridion but while publishing, it is ...
2
votes
1
answer
65
views
Not able to preview DD4T page in SDL Web 8
In our project we are using DD4T Templates in Pages design. In Tridion CME, we are not able to preview the Tridion Pages.
Can any one help me how to preview the DD4T Pages?
2
votes
1
answer
72
views
Errors with extending DD4T.Templates.Base
I am trying to update some custom DD4T templates to v2.2.1
When I run my template I get the following error in the Template Builder
Engine: Error in Engine.Transform
Engine: Error in Engine....
2
votes
1
answer
82
views
Get rendered HTML for different Page versions along with correct Component and Template version
For one of the requirements we need to extract the rendered HTML for each version of the Page. We want to understand if old versions of Pages renders the corresponding Component and Template version ...
2
votes
1
answer
277
views
package Push Item Method Encodes attribute values
I was trying to push content from C# Fragment using below snippet
Item componentItem = package.GetByType(ContentType.Component);
Component component= engine.GetObject(componentItem.GetAsSource()....
0
votes
0
answers
43
views
"The File Exist" error while publishing
We have DD4T based application, we start getting below error while publishing pages, it says file exist.
We removed all temp files from c:\windows\temp and C:\Users\[MTSUser]\AppData\Local\Temp but ...
3
votes
1
answer
58
views
Can we add Preview Functionality in CME for DD4T based Application
We see json Data if we preview any component Presentation, Can we have same preview functionality as we had in web form based application ?
1
vote
1
answer
88
views
Not able to preview/publish pages which are having non azure sync images in components
Publishing fails if I add images in component which are not azure synced yet. When I replace the images with azure sync ones, publishing/previewing works fine. It's a DD4T based application.
I can ...
7
votes
1
answer
207
views
How to check publishing or rendering context using TOM.NET in the new publishing framework
With regards to publishing and rendering in TOM.NET, I know the following is true for the legacy publishing framework (pre Web 8):
Template Builder
PublicationTarget is null, RenderMode is ...
2
votes
2
answers
69
views
DXA dynamic type mapping
I am trying to map a Component link field to a dynamic type Module and I am getting this error:
Unable to map field 'dynamic field' to property of type 'System.Object'.
Unable to cast object of type ...
2
votes
2
answers
126
views
Multiple template classes in assembly have the same TcmTemplateTitle attribute - TcmUploadAssembly.exe
I'm getting below error while uploading the .NET Assembly into "Tridion".
Error: Multiple template classes in assembly have the same TcmTemplateTitle attribute
I tried to rename the "...
2
votes
2
answers
52
views
Not able to open a page template
It says
Unable to retrieve item with id
Unable to open requested item
Name cannot begin with the '%' character, hexadecimal value 0x25
I am using Tridion 2013 SP1 and the Page Template name ...
2
votes
2
answers
48
views
Processing Multimedia Content
I have got a requirement where business people would be uploading the xml files (not more than 25 file) as multimedia components and we need to expose them as JSON. I started on the POC and after a ...
1
vote
2
answers
180
views
How to publish the component as XML or JSON file on the File System
Business Requirement is to create 400 components based on a single schema in Tridion and then publish all this content as xml or json file to the File system. Thats all whats needed from Tridion end.
...
1
vote
2
answers
120
views
Accessing Multimedia Content
Currently our users are uploading access db files with extension .mdb into Tridion 2013 as multimedia components and publishing it to file system. We are trying to do a POC to redesign various ...
5
votes
1
answer
111
views
What really happens when we restart the Tridion Publisher service?
In the pipeline of my Template Builder, I have a Template Building Block which takes a Component as parameter. When I update this Component in Tridion then publish the Page that calls this TBB, I ...
3
votes
2
answers
71
views
Publishing an item should trigger publish from parent publication and avoid infinite loop
I have publication A and child publication of A is B. We have written a TBB which publishes page in B when published from A. Now we need to publish page in A (parent), when page is published from B ...