Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [event-system]

The event system allows one or more .NET classes to subscribe to and act upon Publishing, BluePrint or Data Modification events.

6
votes
2answers
63 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
1answer
44 views

How to publish a binary file using Event System when a Component start publishing

We are using SDL Web 8.5 and DXA 2.0 Java. Our requirement is to publish an Excel file to a specific folder once a specific Component starts publishing. How can we achieve this using Event System?
0
votes
0answers
28 views

Update Tridion Component Fields in Event System

Inside the Event System I want to update the Component content in the PreSave event. I'm using SDL Web 8.1 I assume I have to use the comp.Update method and pass in the new XML and I cannot use ...
0
votes
1answer
39 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 ...
3
votes
1answer
25 views

Security exception when reading WebDavUrl

In a Web 8.5 system, event system is reading a Component by WebDavUrl. It then tries to access the Component's WebDavUrl property and it fails with security exception in the Event Log. This only ...
3
votes
1answer
45 views

Event System in CME - Detect when a Component is linked to another

Is it possible to attach an event when a Component is linked to another in the CMS GUI? Which is the event?
4
votes
1answer
53 views

Translation Manager .NET API v2 - Session use in event code causes EventSystem.DeliverEvent exception

So I'm playing around with the TM .NET API v2 within some event code. I'm interested in adjusting the Xml sent from TM for translation so am subscribing to IItemSendEventArgs. EventSystem.Subscribe&...
2
votes
1answer
35 views

From where is it better to stop publish in Web 8 or Web 8.5

I'm working with Web 8 and Web 8.5, in both I need to be able to stop a publish based on a custom logic (I should not allow it to be made), my options are: Use event system Probably something like: ...
2
votes
2answers
42 views

Manipulate Component.ApplicableActions through event system to allow editing

If you have a folder containing components that a user has only Read permission on, is it possible to roll your own authorisation logic in the event system so that you could allow a user to actually ...
5
votes
1answer
117 views

Set content in Multi-valued text field

I have a field called customerType in the Metadata of a Schema. It is a multi-valued text field. I would like to update the Component using Event System to set the Metadata of this field. So far I am ...
4
votes
2answers
48 views

How to create a Localizable Message for the Tridion Message Center

I am afraid I am missing something, but I can't find how to create a custom Localizable Message in Tridion 2013 SP1. In an Event System I want to throw an Exception like the following: throw new ...
3
votes
1answer
62 views

Can Workflow be used to restrict the publishing/editing of a Page and its Components on selected Publications?

I have a requirement where we want to restrict the editing or publishing of a Page and its Components for certain Publications. However, we don't want this restriction to be applied to all ...
8
votes
4answers
80 views

Tridion CM Usage reporting

My client would like to pull together some metrics regarding our Tridion CM usage. We're interested in the following information. Create – New (Images, Pages, Components) Edit/Update (Images, ...
1
vote
1answer
91 views

How to get All Root Pages from Event System Code

We need to implement Short URL Functionality for one of the marketing Campaign. For example www.domainurl/x/y/z should go to www.domainurl/a We have a redirect Page and Component through which ...
3
votes
1answer
44 views

SDL Web 8.5 - How to find a User created date and privilege modified date

I have business requirement to create a Tridion Active User List report with name, privilege, description, created date and privilege modified date. I checked the TRUSTEES table and not find the user ...
0
votes
1answer
57 views

SDL Web 8.5 - Systematically unlock content (Component/Page/Bundle) locked by disabled user

We have business requirement to implement a feature where the system can unlock content locked by a disabled user: user who has left the organization once their ID gets deactivated from Tridion. (...
4
votes
2answers
111 views

How to update Component link -> embedded Component field value using TOM.NET Event System

I would like to update an embedded Component field value when I check in my Page using TOM.NET Event System but the Component field value update is not happening. I am not sure what am doing wrong ...
2
votes
2answers
80 views

Event System to disable transaction save

We have a requirement where we need to disable creating transactions in some Publications. We cannot remove these publications from Publication Target, because we need them, but we would like to do it ...
1
vote
3answers
50 views

Is RSS feed a feasible & good option to inform users about the changes made on Parent level in Blueprint?

I am sure everyone here might be handling this requirement in different ways & hence thought to get an optimised solution. Today many of our country users are left outdated with the changes made ...
2
votes
1answer
60 views

Using Tridion Core Services how to obtain Members of group in which Group memberships obtained from an external (LDAP) directory?

My Idea is to get the list of users for particular project in Tridion Publication using Core Services. I tried to get it from GroupMembershipData. But unfortunatly it is not including Group ...
2
votes
1answer
48 views

Event system: GetInstanceDataEventArgs not firing

I'm trying to set a date-field of a new Component automatically when created, using the event system. The approach is to set the field in the GetInstanceDataEvent public Events() { ...
4
votes
2answers
70 views

PublishTransaction save event not recording all publish states

We are implementing an Event System to record the publish transaction information to a log file and a custom database. When a single page is published all the states it goes through are being captured ...
4
votes
1answer
182 views

Custom Event Handler when Saving Component not Firing

I'm attempting to register a custom event handler to SDL Web 8.5. [TcmExtension("ResponsiveTableEvents")] public class ConditionalEvents : TcmExtension { private const string ...
3
votes
2answers
76 views

Is there a field change event I can subscribe to?

I am working on a customization where we want to update field2 when a value is selected in field1. Field1 is a component link field and field2 will have template dropdown based on field1 component ...
2
votes
1answer
74 views

How to implement the logging information in files instead of event viewer using SDL Web 8.5

Currently we are using event viewer for maintaining the log information. We want to implement the log information on the file system (using text files). What are the changes are required and how to ...
5
votes
3answers
94 views

Event System Tridion 2013 SP1 - Cannot find connectionstring

I have an Event System which is using Entity Framework. I now get the error that the connection string with name 'X' cannot be found in the application config file. In which config file do I have to ...
3
votes
3answers
279 views

Overriding Publishing Queue

We have a requirement to override publishing queue of Tridion (2013 SP1 and SDL Web 8) where we need to take care of below scenario. Scenario : If there are multiple items in publishing queue, we ...
2
votes
0answers
78 views

Need Publication Targets based on the Target Type (for Event System) using TOM.NET API

I started event system code for my project, where I am getting Target Types for a Publication. Please suggest how to get the Publication Targets based on the Target Type: My Requirement is : I need ...
1
vote
1answer
180 views

ORA-04063: package body “TTMDBUSER.TTM” has errors ORA-06508: PL/SQL: could not find program unit being called: “TTMDBUSER.TTM”

Currently we are not using TopologyManager and disabled the functionality development CME and checked the development CMS server event view log. The below log error is displayed. I want to avoid this ...
3
votes
1answer
56 views

How to get Immediate direct localized child component when the author modifying localized component

Blueprint Structure for below publications C020 Test Global C030 Test Content Public (C020 Test Global) C040 Local Content Public (C020 Test Global, C030 Test Content Public) C050 Test Mobile ...
2
votes
1answer
82 views

Which tcm process executes which event system code

In the implementation I'm working on there is a lot of event system (ES) code and there is an out-scaled publisher server. The publish/transport services are turned off on the CM server and all the ES ...
4
votes
2answers
420 views

Easiest way to update all components after schema update

Can someone tell me the easiest way to automatically update all components after some field in schema is updated? I am thinking of something like event system instead of Core Service tool.
1
vote
0answers
27 views

Is it possible to update the structure group which has associated workflow with out Workflow Management right?

Is it possible to update the structure group which has associated workflow without Workflow Management rights? It's working fine while creating the Structure Group using the below code. But Same ...
5
votes
0answers
51 views

Catching Import Start in Event System and read the Items

So, I want to to catch content porter Import Start in the Event System and read the Items selected for import. I can catch the Import Start by using the below code in Event System (Courtesy: the blog ...
7
votes
1answer
91 views

Updating approval status of a item | On Save | Event System

So when we save a Component, by default a major version is created with the "undefined" approval status. And with this approval status this Component can be published to any Publication Target ...
2
votes
1answer
64 views

Event System is unable to retrieve latest/updated information due to improper caching or session management?

I am facing an issue on our production environment where we have 3 instances of Content Manager. I have developed an event handler which gets invoked on successful published transaction, in which I am ...
3
votes
1answer
66 views

SDL WEB 8 Save Component event couldn't be triggered

The OnComponentSave Event couldn't be triggered and no error is raised. Below is the detailed code. The "initialized" and "event be subscribed" info can be found inside the Application log, but the "...
3
votes
1answer
128 views

Resolver affected by event system in Tridion 2013

I have implemented and event system that changes component after publish/unpublish and adds time stamp in component field. The component is shared among different publications and we always do ...
6
votes
1answer
120 views

How to get the Publish & Republish state explicitly of an item on PublishTransaction Event at Committed phase?

I am performing some logic after successful publishing of each page on Live target and hence I have subscribed to the following event: EventSystem.SubscribeAsync<PublishTransaction, ...
2
votes
0answers
32 views

Is Publish Triggered by Experience Manager

I am wondering if there are any indicators I can use within the following Event System code to know whether the Publish Transaction was triggered by XPM vs. a user? The only things I've found (which ...
6
votes
1answer
28 views

Is there any reason to have the Legacy Event adapter installed if you don't have a legacy events system?

On more than one occasion, I have come across Tridion systems that have the Legacy Event adapter installed/configured, even though they have no legacy events system. I'm fairly convinced that this is ...
1
vote
1answer
58 views

Is it possible to capture Audit information on User management actitivy in Tridion

One of the client need Audit Information on all user management activity. User Creation Group Creation Change the Permisssion an Rights for User or Group Assign User to different Group Add USer to ...
1
vote
1answer
74 views

How to get a specific publication details with metadata values using TOM .NET API and passing the publication name?

I want to get a specific publication details including metadata using TOM.NET API by just passing the Title of the publication? Could you help me with the best way (which method to use etc.)? We are ...
1
vote
1answer
54 views

Getting the root Parent Publication using Tom API

I need to get the parent root publication (a publication which is at the topmost in the hierachy) from a specific child publication at any level in the hierarchy. I need to use TOM API and not core ...
7
votes
1answer
86 views

Publishing to child publications fails from the event system

I have created an event system which creates a page when a component is created, and publishes that page. I want to publish it from the publication where the page is created, with the ...
4
votes
1answer
172 views

Error while publishing a component from Event System

I am trying to publish a component just after Save event using Event System automatically. I have used the below code. using System; using System.Collections.Generic; using System.IO; ...
2
votes
1answer
83 views

Why Approval Status set in VISIO for Workflow is Overridden?

We have designed a very basic Workflow with the following activities: 1) The first activity is Manual and in diagram we have set the Approval State as "Publish_Stage", which means that the page with ...
2
votes
2answers
61 views

How to ForceFinish the Workflow Process by setting Approval Status as “Undefined”?

We have a implemented workflows and in a particular scenario when the component is being imported through Content Porter, I am finishing workflows forcely by using below code snippet: var ...
4
votes
4answers
137 views

Automate sitemap publishing

Our Environment : SDL Tridion 2013 SP1 We are trying to automate sitemap during every page publishing/unpublishing. The requirement is to create two sitemap files (audiositemap.xml/videositemap.xml). ...
7
votes
1answer
84 views

Order in which resolved- and processed items are populated in PublishTransaction save event

I am working on the following event system: EventSystem.Subscribe<PublishTransaction, SaveEventArgs>(MyEventHandler, EventPhases.Initiated); void MyEventHandler(PublishTransaction ...