<?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/"><channel><title>Lokesh さんのアクティビティ</title><link>https://www.aras.com/community/members/lokesh</link><description>Lokesh さんの最近のアクティビティ</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>Commit the transaction half way through the code and continue the execution from there.</title><link>https://www.aras.com/community/f/development/36242/commit-the-transaction-half-way-through-the-code-and-continue-the-execution-from-there</link><pubDate>Wed, 23 Dec 2020 10:48:37 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:6fca93e6-2a0c-4466-9145-fbe29ab2516d</guid><dc:creator>Lokesh</dc:creator><description>&lt;p&gt;Hi Team,&lt;/p&gt;
&lt;p&gt;We have a scenario where we want to commit the transaction half way through the code and continue the execution from there.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;For example :&lt;/p&gt;
&lt;p&gt;1. We are working on Background tasks implementation&lt;br /&gt;2. Where we want to change the status [property] of the task from &amp;quot;new&amp;quot; to &amp;quot;in progress&amp;quot; at the beginning of the execution of task.&lt;br /&gt;3. After that we execute some business logic.&lt;br /&gt;4. Later we change the status of task from &amp;quot;in progress&amp;quot; to &amp;quot;done&amp;quot;/&amp;quot;failed&amp;quot; based on the result from 3rd step.&lt;/p&gt;
&lt;p&gt;What we have observed is Aras considers step 2-4 as a single transaction and commits that at once. But we want to see the change in status of task from new -&amp;gt; in progress [step 2] -&amp;gt; done/failed. [This change of status is must.]&lt;br /&gt; &lt;br /&gt;We found an reference from Aras Community, where we can use the &amp;quot;CCO.DB.InnDatabase.CommitTransaction();&amp;quot;, to commit the transaction half way and continue from there.&lt;br /&gt; &lt;br /&gt;Questions :&lt;br /&gt;1. Are there any repercussions/issues by using the solution that we have found ?&lt;br /&gt;2. Is there any other way to achieve this ?&lt;/p&gt;
&lt;p&gt;Thanks !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Execute Process with current User</title><link>https://www.aras.com/community/f/applications/35939/execute-process-with-current-user</link><pubDate>Mon, 07 Sep 2020 17:43:30 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:ea6c628e-dc7f-4a92-b991-0ebda4f88923</guid><dc:creator>Lokesh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have a use case where the user will create a background task, the task is picked by agentservice and executes it using super user privileges.&lt;/p&gt;
&lt;p&gt;But i want it to run using the normal user privileges, i am unable to achieve this with the code&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Aras.Server.Security.Identity plmIdentity = Aras.Server.Security.Identity.GetById(currentUserId);&lt;br /&gt;bool permissionWasSet = Aras.Server.Security.Permissions.GrantIdentity(plmIdentity);&lt;/p&gt;
&lt;p&gt;How do i achieve this ?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Lokesh Dogga.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Read only fields in Excel Export</title><link>https://www.aras.com/community/f/development/35891/read-only-fields-in-excel-export</link><pubDate>Wed, 19 Aug 2020 06:22:36 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:90f65ec9-2312-48d3-9bbb-c78009e9d565</guid><dc:creator>Lokesh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am currently looking to customize my excel export functionality,&lt;/p&gt;
&lt;p&gt;is it possible to have some columns in excel sheet to be read only, when it is exported ?&lt;/p&gt;
&lt;p&gt;I am passing the treegrid to the method as an input, but i don&amp;#39;t want some columns&amp;nbsp;like &amp;quot;ID or Name&amp;quot; not to be modified.&lt;/p&gt;
&lt;p&gt;Method i am using is :&amp;nbsp;&lt;span&gt; &lt;/span&gt;aras.export2Office(exportXMLDOM.xml, &amp;#39;export2Excel&amp;#39;);&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Aras Itemtype server events behavior</title><link>https://www.aras.com/community/f/community/8975/aras-itemtype-server-events-behavior</link><pubDate>Thu, 23 Jan 2020 09:23:52 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:7d654eb0-6697-4afc-81bc-faa33ebae265</guid><dc:creator>Lokesh</dc:creator><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;i am trying to understand behavior of server events attached to an Itemtype,&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;Let us say &amp;quot;add_prefix_to_document_name&amp;quot; is a method which is present on &lt;strong&gt;onBeforeGet&lt;/strong&gt; event of Document itemtype,&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;now, when i load any Part&amp;nbsp; for ex : ABCD is a Part,&amp;nbsp;which contains&amp;nbsp;25 documents attached to it,&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;so, the &amp;quot;&lt;span&gt;add_prefix_to_document_name&amp;quot;&amp;nbsp;&lt;/span&gt;should get called for 25 times but it is getting called only once... why is this happening ?&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;is my understanding wrong about this ? please help&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;Thanks in advance,&lt;/div&gt;
&lt;div&gt;Lokesh.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Ask A Question I</title><link>https://www.aras.com/community/achievements/460ac7df-7ccc-4c42-a204-9e05eef3be09</link><pubDate>Thu, 23 Jan 2020 07:09:10 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:06e4fdd9-60a2-40de-877c-b7d379c59e1c</guid><dc:creator /><description>Ask a question in a forum.</description></item><item><title>Why don&amp;#39;t we have &amp;quot;can add&amp;quot; property in Permissions tab for an ItemType ?</title><link>https://www.aras.com/community/f/community/6229/why-don-t-we-have-can-add-property-in-permissions-tab-for-an-itemtype</link><pubDate>Wed, 21 Aug 2019 10:45:43 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:7acebbfc-5c63-42b9-be24-effb4e969830</guid><dc:creator>Lokesh</dc:creator><description>&lt;p&gt;&lt;img height="109" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/10/canadd.png" width="210" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Why are we having Can Add as a separate property ? why don&amp;#39;t we have it in the permissions tabs along with other operations ?&lt;/p&gt;
&lt;p&gt;&lt;img height="87" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/10/permissions.png" width="696" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;and why do we have checkbox for can add again ?&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/10/checkbox.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>