11

Chrome has an extension to launch ClickOnce applications. It includes a mime type mapper that will correctly launch x-ms-applications when a link to a .application is clicked. You can find it here: https://chrome.google.com/webstore/detail/clickonce-for-google-chro/eeifaoomkminpbeebjdmdojbhmagnncl?hl=en Adding that will allow you to open the Template ...


9

The reason this occurs is because the user running Template Builder does not have read permissions to the folder that this TBB is in. The TBB runs in Template Builder, but none of the metadata about the TBB is available due to the permissions setting.


8

In order to debug against the "TcmTemplateDebugHost" locally, you need to setup Remote Debugging (link below). If you have access to the CM server itself, you can also run Template Builder on the CM and debug directly against the TcmTemplateDebugHost process assuming Template Builder is running. There used to be some extensions required which would run the ...


6

The Deployment URL is showing as: Deployment url : file:///C:/Users/saugangw/Downloads/TcmTemplateBuilder.application - did you copy the application to your local machine, or use a non-IE browser? Point IE to http://[YourCMEURL]/TemplateBuilder/TcmTemplateBuilder.application


6

There are different render modes, depending on what is happening, here is a short overview: Template Builder RenderMode is RenderMode.PreviewDynamic, Publication Target is null CME Preview RenderMode is RenderMode.PreviewDynamic, Publication Target ID is tcm:0-0-0 (or TcmUri.UriNull) Session Preview RenderMode is RenderMode.PreviewDynamic, Publication ...


6

For this, you need to understand the technology behind this. The Installation of Templates Builder, Content Porter etc. from the Menu of CME is done through ClickOnce installer (which will check for the availability of the tool on your machine and either install it or run it if it is already installed - just with one click function) instead of by using the ...


5

Yes they do. That is: it is possible to let the client tools connect to the CM server through an SSO proxy. Prerequisite for such a configuration is that the SSO proxy uses HTTP basic auth for those endpoints One could argue that is hardly a SSO experience, but that is as far as it goes currently.


5

Here are few things you should cross check as the code looks fine. As Pankaj already suspected , you might be using some config which your C# TBB won't be able to read/access , use the categoryID directly in your code first. You can debug your TBB using Logging or attaching to your Template Builder Process TcmTemplateDebugHost.exe either on the local ...


5

The online docs [login required] indicate that the Content Manager Explorer website should be set to allow anonymous access if you wish to use LDAP authentication. Note that it is not recommended to use both Active Directory and LDAP authentication on a single CMS server


5

If this happens as soon as it starts, it suggests that there is a problem with the ClickOnce application. I've seen this most often when people have used Firefox or Chrome to install Template Builder. As highlighted in the documentation, you should use Internet Explorer to install the application the first time. After that, you may be able to launch it from ...


5

Thanks all for the answers and comments. But it was a silly mistake from my side, So to upload the DLL (and other TBBs) in Tridon I was using the command below TcmUploadAssembly.exe config.xml "MyMergedAssembly.dll" For some reasons in config.xml, I had "uploadPDB" set to false like this <uploadPDB>false</uploadPDB>, so PDB wasn't getting ...


4

In addition to what Bart & user978511 has suggested to use for Chrome; for FireFox as well there is a similar Add-on - FxClickonce 0.1. This is available at below URL from where you can add it to your FireFox Browser: FxClickonce Or you may want to search for it in your Browser Add-on Page. In addition to using ClickOnce add on for Chrome & ...


4

It's not supported by default, but you can try this add-in: https://chrome.google.com/webstore/detail/clickonce-for-google-chro/eeifaoomkminpbeebjdmdojbhmagnncl


4

Use Template Builder to debug you code by adding TemplatingLogger lines between your commands. public class GetKeywords : ITemplate { TemplatingLogger log = TemplatingLogger.GetLogger(this.GetType()); public void Transform(Engine engine, Package package) { string categoryID = ConfigurationManager.AppSettings["catgoryTcmUri"]; ...


4

Looks like you have configured IIS to do forms based authentication (which is not supported by Template Builder).


4

To set up Content Porter to work with SSO in mixed mode you need to: 1) In IIS find "SDL Tridion" Web site, for ImportExportService application and ImportExportService/Client folder in Authentication settings set AnonymousAuthentication to Enabled (other Authentications should be Disabled) 2) In IIS find "SDL Tridion" Web site, for Webservices application ...


4

Unfortunately not. As mentioned on the Template Builder prerequisites page of the online docs, only Windows client machines are supported. This is probably because the full .Net Framework (v4.6.2 or v4.5.2 for SDL Tridion Sites 8.5) needs to be available on the client machine and also because Internet Explorer is needed for the ClickOnce installer (although ...


3

You might also want to check that both the Component and Component Template that you are rendering with Template Builder are actually saved and checked-in. I had a similar issue a while ago - the published content comes from the last checked-in version, whilst the previewed content was coming from the current (saved but not checked-in) version.


3

It looks like you have more than one item called "Component" in your Package. Are you sure the default OOTB TBB is doing this? One thing to keep in mind is that the Package is a Stack data structure (last-in-first-out), not a hash table as you might be thinking from the GetByName method. So when you peek an item in the stack (peeking is what GetByName ...


3

Looks like you've solved it. If you were executing your template via publishing, then, IIRC the DLLs should be in Tridion/bin or GAC. However, Template Builder looks for them, as you found out, in the /templating directory. In my implementation as per the blog post, I believe we put the third-party assembly in the GAC.


3

Yeah, output could be different If the template renders the output according to the RenderMode. The resolved links could be different, as in template builder links would be preview links. Also, in template builder it’s a common mistake to run the template against the shared item from wrong publication. It needs to be picked carefully specially if some ...


3

If you are using a ClickOnce extension in your (non-IE) browser, the I'd strongly recommend that you try installing this from Internet Explorer instead. You could also try: Ensure that the URL of the Tridion Content Management Explorer (CME) is in (at least) the Trusted Sites or Local Intranet Zone in Internet Explorer. For full details of the necessary ...


3

We have the same issue when our system is load balanced. You will need to connect to a particular node of your Content Manager when using TB. Otherwise your session changes to your other node, and then you get this error. Hope this helps.


3

According to this, you are "probably running your application in a trust-level that is too low." Googling for "application trust level" will probably give you some tips. You could also try opening the CME in Internet Explorer and tweaking the zone for that website to "Intranet" or something like that? It uses the same URL as the Template Builder, so it ...


3

To summarize the issue and fix: The default [Publication]\Building Blocks\Default Templates\Tridion.SiteEdit.Templating (TBB) C# Assembly Template broken. It seems that the template builder upgrade process does not upgrade the Tridion.SiteEdit.Templating TBB (DLL) - this is needed for the XPM tags to be rendered for both CT and PT. To manually fix this ...


2

We had a similar issue of referring a 3rd party DLL from the templating code. Instead of putting the 3rd party DLL in GAC which requires approvals from the clients, we used ILMerge to merge the 3rd party DLL and the templating DLL. This works perfect.


2

Though your requirement is not fully clear to me. The below options could help. As you are using the TBB 'Extract components from page', The package will contain the array Components[] . so you can use it in your custom TBB to find component of your need. you can also iterate through component presentations, something like below foreach (...


2

Your LDAP is misconfigured, double check all the settings. To find out what is wrong, you may use fiddler and see which webservice is having the wrong the configuration.


2

Your schema variable name videoSchema suggests like you are looking for multimedia Components. If this is the case try below: filter.ComponentTypes = new[] { ComponentType.Multimedia}; Update: Your code looks correct to me, I've read in a post that the conditions Recursive and BasedOnSchemas don't work together. So may be you can try iterating through ...


2

Using WhereUsed has certain limitations. If you use InRepository as current Publication, it will only return the Components that are either localized or created in that Publication. If you exclude the above criteria you will get a lot of duplicate values. That will make your situation more complicated. In my view it would be easier to use an iterative ...


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