All Questions
Tagged with 2013 event-system
29 questions
3
votes
2
answers
159
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, ...
2
votes
1
answer
62
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
3
answers
112
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
3
answers
328
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 ...
1
vote
1
answer
73
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 ...
3
votes
1
answer
266
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;
...
3
votes
4
answers
196
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). ...
0
votes
1
answer
80
views
Adding/Setting Component Link in Metadata Fields
I'm trying to add a component link to the Component link field of a page metadata using event system. I'm not sure why but its throwing an error asking for -16 at the end of the link which is a ...
6
votes
2
answers
73
views
Appending TCM of newly created component to component title
I'm trying to write an event that will basically append the TCM value to the end of the component name
this-is-my-componentname-1235
While for existing components this is easy enough during '...
-1
votes
3
answers
172
views
Event System PublishEventArgs page subscribe is not being triggered for Component publish and XPM finish editing
We have a requirement to Implement Url Strategy for translated language sites page URL .All website pages are shared and created in master website publication We have an event system that subscribed ...
11
votes
2
answers
204
views
How can I tell if event system code has been loaded?
We've written some event handlers to handle editing, building on the example that was started in http://www.tridiondeveloper.com/intro-to-the-event-system
The code worked well in development but didn'...
2
votes
2
answers
199
views
Event system code is not working
I have created a sample event system code to update a field of a Component when it is using a particular Schema.
DLL created and deployed properly
Added the assemblyFileName in to the config as well
...
3
votes
2
answers
236
views
Triggering of events on dynamic component publish
I have subscribed to the following event:
private void Subscribe()
{
EventSystem.Subscribe<Component, PublishEventArgs>(ComponentPrePublish, EventPhases.TransactionCommitted);
}
...
2
votes
2
answers
127
views
Not able to create a new page after 2013 sp1 upgrade
When we try to create a new page it says "Unable to provide a new item's data Object reference not set to an instance of an object".
The stack trace doesn't help either. It says when the core service ...
5
votes
3
answers
190
views
How to access the preview url of Image (Created on SDL Media Manager) from Event System Code?
I have implemented the ECL connector for SDL media manager. Components are coming properly on the CMS end.
On component save I have implemented an event system code for the ecl component which is ...
4
votes
1
answer
146
views
Event system triggering on Translation manager job start / completed
I have found no event in Tridion core events that would trigger on Translation manager job start / completed. This somewhat makes sense as translation manager is not part of the Tridion core.
Do new ...
3
votes
4
answers
265
views
How to get publish transaction ID in publishing event?
I hava a problem on handling publish event in event system.
What I want to do is following.
When a user publish page or component, get following information and output them to a log file.
published ...
8
votes
3
answers
517
views
Capture successful Tridion page post publish event or action and trigger some custom code
We have a requirement where once the page is successfully published from Tridion on page post publish we need to make a httpwebrequest to our presentation/DD4T content delivery site to retrieve the ...
4
votes
1
answer
201
views
Tridion Event extension : Get the Components used in page as they published
We have a Page with metadata for JS/XSLT/CSS and when the Page gets published, the underlying JS/XSLT/CSS too gets published. To publish the JS/XSLT/CSS, we are using engine.AddBinary().
We have an ...
2
votes
2
answers
195
views
Eventsystem - Passing info between events with Context Variables, Tracking modifications to a SG
Tridion 2013 sp1
I am trying to create an event system that will let me monitor modifications to a folder or SG. (changing the default page template. etc) While I can get the pre-save and post-save ...
2
votes
3
answers
129
views
Set General Field on a Component to specific word when the Component is saved
I want to set a General Field (Simple Text Field) on a Component to specific word (ex. "aaa") when the Component is saved, by using Event System.
I success to do the above, but I have one problem.
...
6
votes
2
answers
372
views
onComponentSave (SaveEventArgs)
I'm setting up some basic functions for a Tridion 2013 SP1 EventSystem.
The idea is simple, set the date on the metadata of a component when the metadata field is left empty. Now it seems that the ...
4
votes
2
answers
8k
views
The partner transaction manager has disabled its support for remote/network transactions. (Exception from HRESULT: 0x8004D025)
I am using SDL Tridion 2013 SP1. I am getting this error from the Event System. This custom Event System is capturing all CME activity and storing it into a separate SQL database for logging purposes. ...
2
votes
2
answers
106
views
Is there any way to determine from an event system and/or a template whether it is being called from Experience Manager or somewhere else?
I am trying to identify in my Event System and in my Templates when the rendering (template) or the action (event system) is being triggered from either Experience Manager or somewhere else in the ...
4
votes
5
answers
540
views
How to Update Event System DLL?
In Tridion 2013 I found updating an event system DLL is a tedious task. Each time it fails.
Is there any Utility available to do this job easily?
Edit
I am stopping COM+, TcmPublisher, ...
3
votes
1
answer
740
views
Event System Initialization Failure
I have a Tridion 2013 Event System extension DLL that references a few other DLLs. The referenced DLLs are present in the C:\Program Files (x86)\Tridion\bin folder and is doing its job fine when ...
5
votes
2
answers
188
views
Why doesn't my event system execute?
I have created an events system assembly and registered it in the configuration file.
I have implemented and subscribed a handler for Component Save Initiated. My events class is public (see What ...
5
votes
1
answer
514
views
Error occurs when creating multimedia component in Event System
I'm trying to create Multimedia Component in Event System, but it fails when saving new Multimedia Component.
My Event System program does following operation.
When Multimedia Component is saved, ...
6
votes
3
answers
343
views
2013 Event System; Folder paste event is not called
I'm trying to rewrite the old event system (2009) to the new 2013 event system.
Where it used to be a OnFolderPasteItemPost event. I now register the event as follows:
EventSubscription _subscription;...