2

I have a scenario, where I need to un-localize an item if it has been localized by the system. Is there a way to find out whether the item has been localized by the user or the system?

  • As per the other comments - the question needs a little more definition around the word "System", __for example, __ do you mean an event system functionality that impersonates a generic user or something like the TMS that uses a services - remembering that such services runs as a specific user that has specific Tridion privileges (so it's not the service localizing, it's the user registered to run the service and with access to Tridion) – Dylan .. Mark Saunders Dec 14 '17 at 12:40
2

What do you mean localized by the system? Do you have some specific system user, which is also Tridion user? In any case, you can always check version 1 of localized Component and see which user did it. It MUST be Tridion user, so that answers your question.

  • Localized by the system, I meant to say the item has been localized programmatically. So the issue is the version history shows the author name (Tridion user), even though it has been localized through programmatically and not manually by the user. – Prashanthi Pothuru Dec 13 '17 at 20:39
  • 1
    @PrashanthiPothuru Whether it is localized through an API call or though the UI, in the end it is exactly the same, and it is something which is done by a certain user (since the UI uses the API too). So obviously there isn't anything you can see about this. I think you should edit your question and supply some additional information, like what is using the API, are we talking about an event handler or a separate script etc. Then the answers can be focused on your actual question, how to distinguish between actions from the different or the same users (the latter will be almost impossible) – Bart Koopman Dec 14 '17 at 9:23
1

Alternate approach: You can look at the "check-in" comment to figure out whether it is checked in by the user or the system, if the users are adding a check-in comment. This will allow you to differentiate between the commits.

When you localize, the comment will always have "localized from Publication..." as the message from the system and when the user checks it in and they are giving different comments, you can identify the same.

-1

Yes, look at the version history of the item and see who created the localized version. Here is a screenshot of Tridion 2013, but it's the same in Web 8.5.

enter image description here

  • 1
    hahahah @Nickoli, you beat me by a seconds :D – Marko Milic Dec 13 '17 at 20:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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