Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 1869

C# is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines.

3 votes
1 answer
278 views

c# Tridion 2011 How to get metadata selected keyword from a component

In Tridion 2011 I have a componen in which in the metadata fields has a keyword with different values. How should I get the selected value in c#. I tried the next but I get the name of the key not the …
Ignacio Tome's user avatar
1 vote
0 answers
39 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 s …
Ignacio Tome's user avatar
1 vote
4 answers
81 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 RestrictPublishInStructur …
Ignacio Tome's user avatar
1 vote

Event Handler get the user who throws the event

I finally get the solution with comments above. private void SubScribe() { EventSystem.Subscribe<StructureGroup, PublishOrUnPublishEventArgs>(OnPublishTransactionPublish, EventPhases. …
Ignacio Tome's user avatar