<?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>get the checkbox status of versionable Item</title><link>https://www.aras.com/community/f/development/3372/get-the-checkbox-status-of-versionable-item</link><description>I have a problem with get property for versionable Item.

My server method is trigger with event onAfterVersion

Method code:

&amp;#39;Create object innovator
Dim innovator As Innovator = Me.newInnovator

&amp;#39;Get current item &amp;quot;part&amp;quot;
Dim partItem As Item = innovator</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: get the checkbox status of versionable Item</title><link>https://www.aras.com/community/thread/819?ContentTypeID=1</link><pubDate>Mon, 11 Sep 2017 17:13:56 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:03b14cb8-9ae6-49fb-b119-a368f27c041d</guid><dc:creator>Christopher Gillis</dc:creator><description>Hi there,

I can confirm that the boolean value does not seem to be updated yet when this Method is called from an onAfterVersion server event. However, if you change the server event to an onAfterUpdate, this value does seem to be updated properly.

If you have additional logic that must take place during a version, you may be able to create an additional Method that checks the value of the &amp;quot;generation&amp;quot; property in an onBeforeUpdate server event. If the value changes in the onAfterUpdate, then you know that the item has been versioned, and you can run your additional logic.

Chris

_______________

Christopher Gillis

Aras Labs Software Engineer&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>