Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [vbscript]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
25 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
1answer
64 views

Implement DCP, notify user and unpublish Page automatically - VB Legacy Template

One of the client have following request Implement DCP, notify user and unpublish Page automatically - VB Legacy Template Tridion Version : SDL Tridion 2011 SP1 Templating - VBScript Legacy (ASP) , ...
1
vote
1answer
63 views

How to get the published date of page displayed on Page Template using VB Script Templating

We have a offer xml which is published and we want to read the last published date of that offers xml page to be displayed on (offers asp page) where we display all the offers at the page template ...
5
votes
2answers
97 views

Unable to remove legacy workflow activities

We have an SDL Tridion 2013 SP1 HR1 implementation without the VBScript Legacy pack installed as we only require workflow with Bundles. However, it appears that a couple of Activities have been left-...
-2
votes
1answer
90 views

How to publish binary to specific folder using legacy VBScript templating

We are using SDL Tridion 2011 SP1, but with legacy VBScript templating. I want to publish some binary files to a specific folder. Can any one share the code to publish a binary using VBScript?
6
votes
3answers
105 views

Publishing updated component links in tridion workflow publishes pre-updated version

We are having issues with our tridion workflow built using VB script in tridion 2011 SP1. It contains stages to auto publish to our preview environments as well as to our production environment on ...
0
votes
0answers
64 views

Script to get URL and TCM of every localised page with a specific schema and CT

I need a script to return the URL and TCM of every localised page with a specific schema based component on it and using a specific component template. This is what I am trying to get a list of all ...
0
votes
1answer
138 views

How to retrieve the list of localised components based on a particular schema using TOM API?

How do I retrieve the list of localised components based on a particular schema using the TOM API? Update: This is resolved..!!! This is my script that works: Option Explicit On Error Resume ...
0
votes
2answers
140 views

Generate the published path of Structure Groups and compare them using TOM API in VBScript

I need to generate the published path of Structure Groups and compare them. I am not able to find any function for the same in TOM API for VBScript. I am using objSG.Directory, but that gives me only ...
4
votes
2answers
123 views

Error when render VBScript CT from a .NET PT

We're getting the error below when rendering a legacy VBScript component template (presentation) from a .NET page template. The .NET code to do the rendering is straightforward: var sb = new ...
4
votes
2answers
119 views

LegacyVBscript: Page fields not accessible on Legacy VBscript dynamic Component Template during rendering

I'm using Page.Title in my legacy VBscript component dynamic template as below: WriteOut "Component '<b>" & EscapeXMLCharacters(iComp.title) & "</b>', based on Schema '<b>" &...
4
votes
1answer
203 views

Problem mixing VBScript and Compound Component Templates on a page

I'm trying to use a mix of VBScript CT's and a couple of new (albeit very basic) Compound CT's on my very old, complex legacy VBScript PT (!!) but the presence of the Compound CT's is causing Tridion ...
1
vote
1answer
84 views

Does Manual Decision activity uses VBScript? [duplicate]

We are using Tridion 2013 SP1 and implementing workflow. We are getting the VB Script error explained below in Manual Decision activity. WorkFlow Error in Tridion 2013 SP1 We have not implemented ...
1
vote
2answers
103 views

Removing Component Process from Tridion schema

Using Tridion Object Model API, what is the correct way to remove Component Process from a Tridion schema? Assigning Schema.ComponentProcess to Nothing does not seem to be working. VBScript sample ...
2
votes
1answer
204 views

Cannot enable editing of Components with SiteEdit 2009 SP3

SiteEdit 2009 SP3 has been installed and configured for our website. We have followed the instructions provided in chapter 2, Implementing and configuring SiteEdit in VBScript templates. SiteEdit is ...
5
votes
1answer
71 views

Upgrade 5.3 VB script Default page template to 2011 Compound Template

We have migrated from Tridion 5.3 to 2011 and want to remove all the templates which are in VB Script. Some of default templates(in VB Script) provided by Tridion are being used in our application. ...
4
votes
2answers
175 views

Implementing Err.Raise -1000 in .NET Templating

I was using below code in VBScript which check the publishing target and if it is not a mobile targets then it raise an error in publishing queue. Dim mobileTargets mobileTargets = "tcm:0-0-0,tcm:0-...
11
votes
2answers
260 views

Default Rendering Date Format

We have recently inherited a Tridion 2009 implementation and whilst restoring that database onto a new development server there is one thing that is working on the old server that isn't on the new one ...
7
votes
3answers
2k views

Registering .dll to be callable via VBScript

We've inherited a Tridion implementation that is built on VBScript templates and are upgrading it from 2009 to 2011. One of the page templates has the following code: Set var = CreateObject("DLL....
4
votes
3answers
168 views

Tridion 2009 - Using the event system to end the first Manual step in workflow

I'm trying to use the event system to auto finish the first step in workflow on initial creation. My code is fine until oActivity.FinishActivity("Message") - the log is saying I need to specify a ...
16
votes
8answers
862 views

Ordinal position of a Component Presentation in a DWT

I am looking for a way to generate a CSS Id for a Component Presentation, which is guaranteed to be unique within the scope of the page. My initial thought is to make use of the ordinal position of ...