<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.aras.com/community/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Aras Server Method Event Identification</title><link>https://www.aras.com/community/f/development/3266/aras-server-method-event-identification</link><description>I have an requirement where i am calling the same server method on Server Events On After Update, On After Add and On After Delete. Is there a way i can check from which event the method is called.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Aras Server Method Event Identification</title><link>https://www.aras.com/community/thread/625?ContentTypeID=1</link><pubDate>Thu, 13 Jul 2017 14:03:28 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:92c2af1c-6521-49e9-b8f7-6c8d068ed9cc</guid><dc:creator>Yoann Maingon</dc:creator><description>Ok, Glad you solved it !! Cool !&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Aras Server Method Event Identification</title><link>https://www.aras.com/community/thread/624?ContentTypeID=1</link><pubDate>Wed, 12 Jul 2017 11:23:21 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:59b7cf57-cba5-4b4b-83c8-0c5089282526</guid><dc:creator>Former Member</dc:creator><description>I need the name of the event from which the method is getting triggered, This existing functionality evendata.GetType().Name gives me the name of the event which solved my problem.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Aras Server Method Event Identification</title><link>https://www.aras.com/community/thread/621?ContentTypeID=1</link><pubDate>Wed, 12 Jul 2017 03:25:40 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:a680318d-4a12-4dd5-a6fe-ca52491ef214</guid><dc:creator>Yoann Maingon</dc:creator><description>not sure I understand when you said &amp;quot;I could able to solve this eventdata. GetType().&amp;quot;

you found a solution or you which this existed?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Aras Server Method Event Identification</title><link>https://www.aras.com/community/thread/620?ContentTypeID=1</link><pubDate>Tue, 11 Jul 2017 12:55:11 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:b57ae42a-c1d7-4dea-898c-987938716f02</guid><dc:creator>Former Member</dc:creator><description>Hi yoann,

Actually I didn&amp;#39;t wanna create separate method for each event that&amp;#39;s my main requirement.  I could able to solve this eventdata. GetType(). Name gives me the name of the trigger which calls the method so from there I could able get the required information. Thanks for the reply.

&amp;nbsp;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Aras Server Method Event Identification</title><link>https://www.aras.com/community/thread/619?ContentTypeID=1</link><pubDate>Tue, 11 Jul 2017 12:22:37 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:8048a9f3-48d7-4fcb-a273-327b8ce337ea</guid><dc:creator>Yoann Maingon</dc:creator><description>Hummm, I don&amp;#39;t think you can easily do that. But, you could create a different method for each trigger which calls most of your common code in a generic method. Would that solve the problem?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>