<?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>lpignedoli さんのアクティビティ</title><link>https://www.aras.com/community/members/lpignedoli</link><description>lpignedoli さんの最近のアクティビティ</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>Discussion Starter I</title><link>https://www.aras.com/community/achievements/21025ab1-febb-4fb4-a872-d32a921cb45c</link><pubDate>Sat, 12 Jun 2021 03:56:14 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:86767969-8685-4e73-a5bd-1ce9832f27d8</guid><dc:creator /><description>Start a discussion in a forum that receives 5 replies.</description></item><item><title>Problem with Vault replication</title><link>https://www.aras.com/community/f/applications/35744/problem-with-vault-replication</link><pubDate>Fri, 03 Jul 2020 10:32:01 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:502cea17-9279-44ef-a3f8-aca9cdf7b08d</guid><dc:creator>lpignedoli</dc:creator><description>&lt;p&gt;I have a problem to set the replication rules.&lt;/p&gt;
&lt;p&gt;This is the scenario:&lt;/p&gt;
&lt;p&gt;I have 4 vaults:&lt;/p&gt;
&lt;p&gt;VICO - is the principal Vault&lt;br /&gt;IPG - EINS - MRP are secondary vaults installed in remote offices.&lt;/p&gt;
&lt;p&gt;All users have configured only Default Vault (no read vaults).&lt;/p&gt;
&lt;p&gt;My goal is:&lt;/p&gt;
&lt;p&gt;All files created in the remote Vaults will be copied in the principal Vault immediately (OnChange).&lt;br /&gt;When a user in a remote office opens a file in a remote Vaults ( the file isn&amp;#39;t in his default Vault) it will be replicated onDemand.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;p&gt;User A has the VICO vault as Default.&lt;br /&gt;User B has the IPG vault as Default.&lt;br /&gt;User C has the EINS vault as Default.&lt;/p&gt;
&lt;p&gt;Example 1&lt;br /&gt;User A creates the file Test1.doc and saves it in VICO vault.&lt;br /&gt;User B request Test1.doc files, the replication copy the Test1.doc from VICO to IPG.&lt;br /&gt;User C request Test1.doc files, the replication copy the Test1.doc from VICO to EINS.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Example 2&lt;br /&gt;User C creates the file Test2.doc and saves it in EINS vault, the replication starts immediately to copy the file on the VICO vault.&lt;br /&gt;User B ask the file Test2.doc, the replication copy the Test2.doc from EINS to IPG (OnDemand).&lt;br /&gt;User A asks the file Test2.doc, this file is already in VICO vault, don&amp;#39;t start any replication.&lt;/p&gt;
&lt;p&gt;For implement this configuration I create these replication rules:&lt;/p&gt;
&lt;p&gt;On VICO vault:&lt;/p&gt;
&lt;p&gt;Rule 1: VICO TO IPG&lt;br /&gt;Initiator Type: onDemand&lt;br /&gt;Replication Mode: Immediate&lt;br /&gt;Replication Type: Copy&lt;br /&gt;Target Vaults: IPG&lt;/p&gt;
&lt;p&gt;Rule 2: VICO TO EINS&lt;br /&gt;Initiator Type: onDemand&lt;br /&gt;Replication Mode: Immediate&lt;br /&gt;Replication Type: Copy&lt;br /&gt;Target Vaults: EINS&lt;/p&gt;
&lt;p&gt;Rule 3: VICO TO MRP&lt;br /&gt;Initiator Type: onDemand&lt;br /&gt;Replication Mode: Immediate&lt;br /&gt;Replication Type: Copy&lt;br /&gt;Target Vaults: MRP&lt;/p&gt;
&lt;p&gt;On IPG vault:&lt;/p&gt;
&lt;p&gt;Rule 1: IPG TO VICO&lt;br /&gt;Initiator Type: onChange&lt;br /&gt;Replication Mode: Immediate&lt;br /&gt;Replication Type: Copy&lt;br /&gt;Target Vaults: VICO&lt;/p&gt;
&lt;p&gt;Rule 2: IPG TO EINS&lt;br /&gt;Initiator Type: onDemand&lt;br /&gt;Replication Mode: Immediate&lt;br /&gt;Replication Type: Copy&lt;br /&gt;Target Vaults: EINS&lt;/p&gt;
&lt;p&gt;Rule 3: IPG TO MRP&lt;br /&gt;Initiator Type: onDemand&lt;br /&gt;Replication Mode: Immediate&lt;br /&gt;Replication Type: Copy&lt;br /&gt;Target Vaults: MRP&lt;/p&gt;
&lt;p&gt;And the same on the other remote vaults.&lt;/p&gt;
&lt;p&gt;The problem is that sometimes I find records in the Replication Transactions that don&amp;#39;t match at these rules and it doesn&amp;#39;t elaborate and this causes a stop of replication.&lt;/p&gt;
&lt;p&gt;For example, I have a &amp;quot;Replication Transiction&amp;quot; in error with these information:&lt;/p&gt;
&lt;p&gt;From Vault: MRP&lt;br /&gt;To Vault: VICO&lt;br /&gt;Status: NotStarted&lt;br /&gt;The rule applied: onDemand MRP TO EINS&lt;br /&gt;Message: &amp;quot;Failed to download file from the source vault: Access to the path &amp;#39;E:\Aras\Vault\ArasInterpump\9\FE\7F48606A349E4B48DCA92E54F35D3\Y1NL0027R9-00023736.pdf&amp;#39; is denied.&amp;quot;&lt;/p&gt;
&lt;p&gt;The Aras Agent tries to execute the transaction every one minute with the same error, the transaction doesn&amp;#39;t remove from the queue of &amp;quot;Replication Transaction&amp;quot; and all other transactions don&amp;#39;t execute.&lt;/p&gt;
&lt;p&gt;The file Y1NL0027R9-00023736.pdf is created by a user that works on VICO vault.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Method for event OnAfterUnlock</title><link>https://www.aras.com/community/f/development/6038/method-for-event-onafterunlock</link><pubDate>Mon, 03 Jun 2019 13:02:55 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:451205c0-c356-458c-bbe0-47a6439d5753</guid><dc:creator>lpignedoli</dc:creator><description>&lt;p&gt;I want to promote an Item state when user unlock it.&lt;/p&gt;
&lt;p&gt;I create a simple LifeCycle: &amp;quot;New&amp;quot;--&amp;gt;&amp;quot;Released&amp;quot;&lt;/p&gt;
&lt;p&gt;I habe write this method on the server event &amp;quot;OnAfterUnlock&amp;quot;:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;Innovator inn=this.getInnovator();&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;string itemnumber = this.getProperty(&amp;quot;item_number&amp;quot;);&lt;br /&gt;string state=this.getProperty(&amp;quot;state&amp;quot;,&amp;quot;&amp;quot;);&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;if ( state != &amp;quot;Released&amp;quot; ){&lt;br /&gt;CCO.Utilities.WriteDebug(&amp;quot;IP_ScadDocsPromote&amp;quot;,&amp;quot;Item = &amp;quot;+itemnumber +&amp;quot; State = &amp;quot; + state);&lt;br /&gt;this.promote(&amp;quot;Released&amp;quot;,&amp;quot;&amp;quot;);&lt;br /&gt;}&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;return this;&lt;/p&gt;
&lt;p&gt;But it doesn&amp;#39;t work. The log IP_ScadDocsPromote show me that the variables &amp;quot;itemnumber&amp;quot; and &amp;quot;state&amp;quot; are blank.&lt;/p&gt;
&lt;p&gt;Thanks for your help.&lt;/p&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>Mon, 03 Jun 2019 13:02:56 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:a423ea05-8598-4f23-acff-ddbe731a3f6c</guid><dc:creator /><description>Ask a question in a forum.</description></item><item><title>Date format in method running witch Scheduler</title><link>https://www.aras.com/community/f/development/3497/date-format-in-method-running-witch-scheduler</link><pubDate>Tue, 12 Dec 2017 09:18:55 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:03a032ca-504d-41bf-bc35-4b576f7a26f1</guid><dc:creator>lpignedoli</dc:creator><description>Hi all,

i have create a server side method to run a control on date of Item and send an Email to user with results.

When I execute this method from menu Action--&amp;gt;Run Method Server in the email all dates written correctly (dd/mm/yyyy), if i execute this method with Innovator Scheduler all dates are written with english format (mm/dd/yyyy).

I checked the Windows International settings for user used to execute a service and its all ok (Italian).

This are the code for convert the date:
&lt;blockquote&gt;string ip_data_scad = Doc.getProperty( &amp;quot;ip_data_scad&amp;quot;, &amp;quot;&amp;quot; );
string dt = DateTime.Parse(ip_data_scad).ToString(&amp;quot;s&amp;quot;);
string DS = cntx.ConvertUtcDateTimeToNeutral(dt,null);
DS = cntx.ConvertFromNeutral(DS,&amp;quot;date&amp;quot;,&amp;quot;short_date&amp;quot;);&lt;/blockquote&gt;
Any suggestions?

&amp;nbsp;

Thanks

&amp;nbsp;

&amp;nbsp;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Disable Add relationship</title><link>https://www.aras.com/community/f/development/3446/disable-add-relationship</link><pubDate>Fri, 27 Oct 2017 12:27:06 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:242ae14e-45f8-4cb0-b8dd-d73b4032a0c6</guid><dc:creator>lpignedoli</dc:creator><description>Hi all,

I should disable the ability to create a new relationship when an Item is in a certain state.

For example:

I have an Item Document with an relation to Item File.

When the user create a new document (state document = New)  he can create a new relationship with an Item File.

If the Document is promoted to another state (Check) the user can only modified the property of Document but he can&amp;#39;t modify a relationship (add, remove, edit).

I found more example to hide a Tab Relationship, but i want to show this tab in Readonly mode.

&amp;nbsp;

Thanks&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Disable date and Item in Form</title><link>https://www.aras.com/community/f/development/3428/disable-date-and-item-in-form</link><pubDate>Sat, 07 Oct 2017 07:01:08 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:dbcbebd0-5ca9-420f-b295-21af4c2c5c85</guid><dc:creator>lpignedoli</dc:creator><description>Hi,

I have a form with an field type=&amp;quot;Date&amp;quot; (Name=expiring_date) and another field type=&amp;quot;Item&amp;quot; (Name=item_code).

I would disable during the OnFormPolulated event if the state is different from released.

I tried:

document.getElementsByName(&amp;quot;expiring_date&amp;quot;)[0].disabled=true;

or

getFieldByName(&amp;quot;expiring_date&amp;quot;).disabled = true;

But doesn&amp;#39;t work.

Any suggestion?

Thanks&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>