1

I have a requirement in Tridion 2013 where i need to show a pop up to the Tridion user on Component save . I want to show a custom message to the user through popup.

What best we could do with Event System here .

4
  • 1
    Instead of popup, you can use notifications in info bar Commented May 2, 2014 at 18:56
  • The added benefit is the notification would be visible and available across windows. Commented May 2, 2014 at 21:35
  • The event system cant access the message center as fair as I know...
    – user219
    Commented May 3, 2014 at 7:50
  • Saurabh : Basically you are saying that i need to write GUI extension to do so and i need to trigger javascript event on component save which will show the message in notification bar. Commented May 3, 2014 at 19:07

2 Answers 2

2

The only interaction you can do with a user from the event system is to show an error message.

If you need interaction with the user then you'd have to build a UI extension, do check these 2 blog posts for more info and examples.

http://nunolinhares.blogspot.com/2012/07/validating-content-on-save-part-1-of.html

http://www.curlette.com/?p=913

Or, if you're feeling inspired, you can try using SignalR: http://www.curlette.com/?p=1156

1

It's common to hear that 'X is a requirement' when the X that is described is actually an implementation detail. The Tridion GUI is already pretty well thought through, and works for thousands of users without a component save popup. From a usability standpoint - you might question why you want to create extra work for the content team like this. It will be irritating and frustrating to have to dismiss an extra popup every time they create a component.

One solution to your problem may be to challenge the requirement. This doesn't mean you have to be difficult about it, but it's fair enough to go back to whoever gave you this assignment and say something like: "I'm being asked to implement a popup, but the business case for this isn't clear to me. I'll need to know what we're actually trying to achieve before I can come up with the appropriate design."

Maybe the requirement has come from someone who won't actually be working with the system, and who hasn't consulted the real end users. In any case, the conversation is worth having. You may end up implementing something different that has far more business value.

5
  • Dominic: They actually want to show a popup or a notification to content author that don't forget to add the changed components to Bundle for workflow. They want to do this to avoid unapproved content should not go to Live. As soon as someone created/modified the component , just show a popup/notification to add it to bundle and start workflow. Commented May 3, 2014 at 18:38
  • Might it not make more sense then to have the event add the item to the bundle? Commented May 4, 2014 at 7:39
  • i have 5 components on a page and inside these 5 components again i have linked and nested component. i want to be sure that relevant workflow triggers on relevant content. Out of these 5 , 4 component Schema are generic and used across different content pages. So as a precaution we just want to show a notification to user after saving his changes that please add these items to bundle and start workflow soon. So my question was what is the best possible way to just show the notification. Commented May 4, 2014 at 11:03
  • 3
    As Nuno has said, you can build a GUI Extension, however, I'd suggest you take the design thinking further than a simple popup. As I said, needing an extra click to get the job done is annoying, and as a reminder, it will very quickly stop working once people learn to dismiss it automatically. Remember when Tridion used to nag you with a popup when you made a schema change? Did that ever save you from doing something stupid? Commented May 4, 2014 at 14:34
  • 1
    And BTW, if you configure your schema to require a bundle workflow, then Tridion itself will prompt your users to add it to a bundle when editors click save & close
    – Nuno Linhares
    Commented May 5, 2014 at 13:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.