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.

Filter by
Sorted by
Tagged with
2 votes
2 answers
41 views

Tridion Event System - Assign a string value to a metadata field

I'm currently encountering an issue with the Tridion Event System. Specifically, I've been attempting to assign a string value to a metadata field in a component but I've tried several methods none of ...
Catherine Liang's user avatar
2 votes
3 answers
41 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 ...
Ajay's user avatar
  • 373
0 votes
1 answer
36 views

One of the fields should be validated in a mandatory embedded field

I have a mandatory embedded field which have the optional fields in it but i'm able to save the component without any values in it. The requirement is that inside an embedded field, either of the ...
Hari's user avatar
  • 29
0 votes
1 answer
61 views

List of Event Names Available on SDL Tridion

We are using Tridion Sites 9.6 & Using Event Handler to Capture the Events triggered on CMS. We are checking Event Name & Event Family as below var eventname = tcmEventArgs.GetType().Name....
Ajay's user avatar
  • 373
1 vote
2 answers
42 views

EventSystem High CPU Utilization & Delay in Functionality

In SDL Tridion 9.1, we suppose to write Anguilla (JS) Event Handling for Tracking all the Event Logs (like Component checkin, checkout, delete, save, Page publish, unpublish...etc). We upgraded to ...
Ajay's user avatar
  • 373
2 votes
1 answer
54 views

What is event name function of which is triggered before a page/structure group is saved?

I want to know what is the event function name in which [[ Event gets triggered when BEFORE page or structure group is saved. ]]
Ayush shrivastava's user avatar
3 votes
2 answers
55 views

Unable to find Translation Manager TmBinaryEndpointV2

Trying automate translation jobs within workflow from Sites 9.1 to rename process instances to add the translation job name. ProcessInstance processInstance = new ProcessInstance(subject....
Chris Mills's user avatar
  • 2,221
3 votes
1 answer
45 views

Unable to create a new PublicationTarget Class with SDL9.5 libraries

We are working to migrate our SDL8.5 code of EventHandler to SDL9.5. We updated our libraries and the .Net framework to v4.8 and adapted our code to deploy it using the Add ons of Type CMEventHandler ...
Bimals Subedi's user avatar
2 votes
1 answer
32 views

How to Remote Debug WorkFlow Events Sites 9.1

Trying to remote debug sites 9.1 workflow events. After finally getting visual studio 2013 remote debugging connection to the Dev CMS Server from Amazon Workspace, I attached to the TcmWorkflowAgent....
Chris Mills's user avatar
  • 2,221
1 vote
1 answer
46 views

When copy paste the Component, Component Metadata is not getting updated through Event Handle

When I am copy pasting the Component, the Component Metadata is not getting updated(cleaning the fields) through Event Handle, I am subscribing the event as shown below. but when checked the newly ...
Sunil Bahmanapad's user avatar
2 votes
2 answers
51 views

which .net project reference has SessionFactory.CreateEclSession(subject.Session)

i am trying to write 1 event system code for ecl items. i am facing error to use following method SessionFactory.CreateEclSession(subject.Session) following is the compiler error shown in visual ...
soumava sarkar's user avatar
0 votes
1 answer
58 views

Custom Event Handler code is not triggering on publisher server (Sites 9.5)

We have separate server for CMS and Publisher. On publisher server, we installed only publisher capabilities. Now Pages and binaries publishing works fine but custom events which were subscribed for ...
Tridion New User's user avatar
-3 votes
2 answers
95 views

Tridion 9.1 During Component Save, send to translation using Event handler

I have a business requirement whenever the user saves a Component, it should send automatically to Translation Job using Event Handler. Does any one have an idea or already implemented this business ...
Sudhakar Rao's user avatar
  • 1,771
3 votes
1 answer
41 views

Can we Control/Restrict Page Region access via User Groups?

We want to enforce some mandatory regions on the page level which should be inherited by all the child publications. However, these mandatory regions should only be editable in the parent publication. ...
Asingh's user avatar
  • 87
0 votes
0 answers
42 views

How to add additional class to the component list view html

I have to add additional class to the component list view html if the approval status is expired to highlight with different color in the GUI. Please suggest the better approach to acheive this.
Jagadeesh's user avatar
1 vote
0 answers
31 views

SetPublishState from Page find PublishTransaction

If you subscribe to the SetPublishState event for a Page is there any way to find the Publish Transaction it was part of? The API exposes who published/unpublihsed, TargetType and ProcessedItems but ...
Neil's user avatar
  • 6,698
2 votes
1 answer
46 views

Complete Log/Trace information in Anguilla Framework / SDL Sites 9

Generally, If we do any changes in Component or Page. We can track in ViewHistory. But Is there a way we can get the complete log/trace for Every action being performed/ logged in CME with EventSystem ...
Tridion User's user avatar
0 votes
1 answer
115 views

Configuration values for event system

I am working on event system code (sdl web 8.5) and need to place a config component path in configuration file(similar to app.config). I followed the post https://www.curlette.com/?p=1403 but still ...
Guest123's user avatar
1 vote
0 answers
35 views

How to throw exception and abort to publish an item in event handler

I want to stop publishing a structure groups for certain user groups. I'm able to catch the structure group and filter per the desired groups, but when I throw the exception, nothing happens and the ...
Ignacio Tome's user avatar
1 vote
4 answers
76 views

Event Handler get the user who throws the event

I need to avoid certain group to publish a structure group but I don't know how to get that user to check if belongs to a certaing group. This is the code I have: public ...
Ignacio Tome's user avatar
0 votes
1 answer
71 views

How to disable Page from publishing in certain Publication using Event System?

We want to disable Page from publishing in certain Publication when include child Publications is marked true using the Event System.
Binod's user avatar
  • 125
1 vote
0 answers
39 views

tridion event system for linked schema

I would like to write an event system to trigger on component save and update the external URL (embedded link) to https://www.xxxx.com. Please suggest the best approach to find the URL field of ...
Thakur's user avatar
  • 313
0 votes
0 answers
51 views

SDL Site 9.1 Event System assembly reference issue

There are sample provided by sdl to capture translation job from event system. But the reference issue with ITranslationJob Interface. Though we added all dll refference and included as mentioned in ...
user3132's user avatar
1 vote
1 answer
712 views

How safe is using ElevatedPrivilegesScope to access a Component Tridion, if it is not accessible by the user

I have a configuration Component in the Gloabal/Shared publication, We have Event System code which reads this Configuration Component using current component session, but in case if the current user ...
Neelesh Raghuvanshi's user avatar
1 vote
4 answers
327 views

How to access Tridion Config Component in Event System

I have created an Event handler on Component save which checks the Image Size for Multimedia Components on saving. I want to read the allowed Maximum size from the Tridion configuration Component, I ...
Neelesh Raghuvanshi's user avatar
0 votes
3 answers
78 views

How to get images on Publishing event

We have a requirement where we want to abort publishing and throw an alert if page has a image which is more than 200 KB. I am trying below event system code : [TcmExtension("...
Neelesh Raghuvanshi's user avatar
7 votes
2 answers
107 views

Reading Tridion Items During Event System Extension Initialization

I am trying to read a component when an event system extension is first initialized in an 8.5 instance. So in my event system extension's constructor, I try to get the component from the Administrator ...
Sabarish Senthilnathan's user avatar
4 votes
3 answers
148 views

GUI not rendering <br> and new line showing error messages

Recently I received client requirements for validation Component fields using Event System. I am facing issue in message with multiple lines. throw new Exception(“Experience must <br> be ...
Sudhakar Rao's user avatar
  • 1,771
0 votes
1 answer
61 views

Batch publishing with childs in Event Handler

I'm trying to control in which Publications an item is published when I publish in all child Publications. What I developed is: EventSystem.Subscribe<RepositoryLocalObject, PublishEventArgs>(...
Guskermitt's user avatar
  • 1,297
1 vote
0 answers
43 views

Tridion Delete notification message is not firing in events system

I want to display a notification message in tridion after deleting a component, but no message is coming after deleting component. My Code:- public void Subscribe() { EventSystem....
Debabrata's user avatar
3 votes
2 answers
141 views

After deploying the custom Event System code Content Porter is not able to connect with CMS server

After deploying the custom Event System code, Content Porter is not able to connect with CMS server. Event System Code is working properly. In my code I have used AWS reference dll (AWSSDK.Core, ...
Debabrata's user avatar
2 votes
1 answer
64 views

How to show custom validation error message from Tridion Event Handler code in popup window instead of Message Center

I would like to show a custom validation error message from the Event Handler code in a popup window. My requirement is while saving binary Component; if the binary filename contains any special ...
Tridion New User's user avatar
9 votes
1 answer
129 views

Broadcasting Notification to message center not working

I am using SDL Web 8.5 and I want to broadcast a warning message to the user upon saving a component. I am using the event system to trigger the message on save. However, after setting everything up, ...
Adeline Ishimwe's user avatar
1 vote
1 answer
196 views

Event System add-on in Sites 9.1 'Pending Activation"

I have created an add-on for the Tridion Sites 9.1 Event System. In the .zip Add-on package I have placed my compiled DLL and the manifest.json file. Below is my manifest.json. After selecting '...
robrtc's user avatar
  • 10.2k
5 votes
1 answer
64 views

SaveEvent of User object is getting invoked when publishing a Component or Page

I am trying to perform certain action on user save event (Transaction committed phase) using tridion event system. This is working fine. I am surprised to see that the same user save event is getting ...
Nithya's user avatar
  • 51
2 votes
1 answer
163 views

What is the difference between EventSystem.SubscribeAsync and EventSystem.Subscribe events in Tridion Event system?

What is the difference between EventSystem.SubscribeAsync and EventSystem.Subscribe events in Tridion Event system? When we subscribed the events in EventSystem.SubscribeAsync and EventSystem....
Nithya's user avatar
  • 43
5 votes
1 answer
58 views

Differentiating Original and "Publish in all child" transactions in Events System

Is there any way where I can differentiate Original transactions and the ones which are result of "Publish in all child publications" in Event System using TOM.NET? I need this because I need to work ...
Marko Milic's user avatar
  • 8,863
7 votes
3 answers
115 views

Unable to capture Save event of returning components from Translation Manager

I have a need to bypass component workflow on the translated content. To achieve this i have planned to subscribe Save event at TransactionCommitted phase and then force finish the workflow activity. ...
Nageswara Sarma Aravelli's user avatar
2 votes
3 answers
107 views

PublishTransaction event does not publish the component with user id instead it is publishing with system user account

When a component is published successfully, we want a related component to be auto published (am not going into the details of why we need this). We are trying to implement this through event system. ...
Nithya's user avatar
  • 43
3 votes
3 answers
150 views

Tridion Event System with specific User

I would like to create a Component with a specific User, (e.g admin user) on delete event. If any user deletes a specific Page or Component, the delete event should create a Component in a particular ...
Arulmozhi's user avatar
  • 157
1 vote
1 answer
47 views

Error when doing request from Event Handler

In our SDL Web 8.5 environment we have an Event Handler, which does a POST request to a .NET Core API (hosted on another server). The request results in the following error: One or more errors ...
Peter van der Lugt's user avatar
3 votes
1 answer
75 views

Event doesn't fire when I use save component using workflow (SDL 8.5)

I have a schema with a workflow assigned. I need that if the Performer belongs to a certain group it finishes the process and bypasses the workflow (ending with the Approval Status we have as the ...
polonskyg's user avatar
  • 801
3 votes
2 answers
90 views

Creating an Item with the Tridion Event System

I would like to make a new Structure Group when we create a new Folder. In older versions of Tridion we might do this with the TDSE object. I'm on Tridion Sites 9 and wanted to use something ...
robrtc's user avatar
  • 10.2k
5 votes
1 answer
122 views

Handler for Component Save on Transaction Commited not working after upgrade

I have a piece of Event System code which used to work fine on 2013 SP1, but when upgraded to Web 8.5 throws the following error: The item tcm:X-Y-16-v0 does not exist. Event Viewer: The original ...
Atila Sos's user avatar
  • 6,280
0 votes
1 answer
125 views

Tridion Event on Component Save

We are creating Component for addresses, and on save of the Component would like to trigger a Save event and get the latitude and longitude values of the address and populate Latitude and Longitude ...
Sikarwar's user avatar
  • 303
3 votes
1 answer
44 views

TranslationJobInstantiated event in Tridion Web 8.5

I cannot seem to find the TranslationJobInstantiated event in the new Tridion.TranslationManager.V2.EventSystem.Events namespace. We were using the deprecated plugin system to automatically set ...
Trevor Bartlett's user avatar
3 votes
1 answer
117 views

Can't connect to external SQL Server DB

I am using SDL Web 8.5 in an AWS instance and, as part of some event system code, am trying to connect to a non-Tridion DB on the same DB server. The connection string is: Integrated Security=true;...
Paul Russell's user avatar
  • 1,090
6 votes
2 answers
142 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 ...
Dylan .. Mark Saunders's user avatar
0 votes
1 answer
121 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?
Abdul Qadir's user avatar
  • 2,495
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 ...
Sergio Alonso's user avatar

1
2 3 4 5 6