<?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>miraks さんの グループ アクティビティ</title><link>https://www.aras.com/community/members/miraks</link><description>miraks さんの グループ ユーザーの最近のアクティビティ</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>How to focus on particular tab on item form populated?</title><link>https://www.aras.com/community/f/development/16653/how-to-focus-on-particular-tab-on-item-form-populated</link><pubDate>Mon, 11 May 2020 01:30:13 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:f1bb5e3c-8e80-4ba9-86ff-431ee04c6919</guid><dc:creator>iGacky</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I can now swich&amp;nbsp; the display / non-display of tab according to the conditions,by referring to &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="/f/development/9817/disable-a-relationship-tab"&gt;Disable a Relationship Tab&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;But this time, unintended tab is focus on.&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;"&gt;How do I focus on particular tab on item form populated?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;"&gt;Please,help me.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Drop Down field with better auto completion</title><link>https://www.aras.com/community/f/development/37814/drop-down-field-with-better-auto-completion</link><pubDate>Fri, 03 Feb 2023 13:42:47 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:e28d0802-6b08-4cde-ae3c-9963bb786a6f</guid><dc:creator>miraks</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using ARAS R19.&lt;br /&gt;The drop down fields (linked to a list) are very poor and difficult to use on big list.&lt;/p&gt;
&lt;p&gt;Indeed, on the following list:&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/3/pastedimage1675431501819v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The user is not able to start to enter &amp;quot;ELEC&amp;quot; to quickly find the expected line.&lt;br /&gt;The completion works well but only on the start of the string, not on the middle of the string.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Do you know how to enable autocomplete on the middle for all DropDown fields ?&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Is there a way to &amp;quot;replace&amp;quot; the default dropdown list by a more advanced one (like this one&amp;nbsp;&lt;a href="https://harvesthq.github.io/chosen/"&gt;https://harvesthq.github.io/chosen/&lt;/a&gt;) ?&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>How to use GrantIdentity ?</title><link>https://www.aras.com/community/f/development/37695/how-to-use-grantidentity</link><pubDate>Fri, 18 Nov 2022 15:43:30 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:e16fcb07-906e-4cd5-93f0-fba3a1f271f7</guid><dc:creator>miraks</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;On ARAS R12, in server methods, I needed to grant temporary some rights.&lt;br /&gt;For that, I did something like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="csharp"&gt;var myidentity = Aras.Server.Security.Identity.GetByName(&amp;quot;My Identity&amp;quot;);
bool PermissionWasSet = Aras.Server.Security.Permissions.GrantIdentity();

try {
	/**************YOUR SPECIAL CODE HERE***************/
finally
{
    if (PermissionWasSet) Aras.Server.Security.Permissions.RevokeIdentity(myidentity);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Due to deprecated API, on ARAS R19, I need to use&amp;nbsp;CCO.Permissions.GrantIdentity but this method doesn&amp;#39;t return a boolean to know if the identity has been granted or not.&lt;/p&gt;
&lt;p&gt;How should I do ? When and how to do the&amp;nbsp;RevokeIdentity ?&lt;/p&gt;
&lt;p&gt;Is this enough ?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="csharp"&gt;using (CCO.Permissions.GrantIdentity(Aras.Server.Security.Identity.GetByName(&amp;quot;My Identity&amp;quot;)))
{
	/**************YOUR SPECIAL CODE HERE***************/
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Thank you in advance for your answer.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Customize login panel</title><link>https://www.aras.com/community/f/development/35832/customize-login-panel</link><pubDate>Fri, 31 Jul 2020 09:58:17 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:7eb69d71-1f4a-4d8c-9455-4b91d9ccee4d</guid><dc:creator>miraks</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;On the login panel, I would like to add a button or a link to an external form to request an account.&lt;/p&gt;
&lt;p&gt;Something like this:&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/3/pastedimage1596189416115v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Is it possible to do that in ARAS R12 SP8 ?&lt;/p&gt;
&lt;p&gt;Thank you in advance.&lt;/p&gt;
&lt;p&gt;Regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>How to return JSON from a odata method</title><link>https://www.aras.com/community/f/development/36413/how-to-return-json-from-a-odata-method</link><pubDate>Mon, 19 Apr 2021 16:04:01 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:5fbbc5dd-e52b-4597-b8fd-8ff26dc46718</guid><dc:creator>miraks</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I created a a serveur method named COCO_MONITORING returning a JSON like this&lt;/p&gt;
&lt;pre&gt;var innovator = this.getInnovator();&lt;br /&gt;var output= new Newtonsoft.Json.Linq.JObject();&lt;br /&gt;....&lt;br /&gt;return innovator.newResult(output.ToString(Newtonsoft.Json.Formatting.None));&lt;/pre&gt;
&lt;p&gt;I&amp;#39;m able to call it in &lt;strong&gt;odata&lt;/strong&gt; like this:&lt;br /&gt;https://serveur/1Z62innovator/server/odata/method.COCO_MONITORING&lt;/p&gt;
&lt;p&gt;My problem is that the output of the web service is a text/plain containing the json as a text.&lt;/p&gt;
&lt;p&gt;I would like to have directly the json (&lt;span&gt;application/json).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;How can I do that ?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>ApplySQL Previleges Issue</title><link>https://www.aras.com/community/f/development/36274/applysql-previleges-issue</link><pubDate>Fri, 15 Jan 2021 14:33:45 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:1392b945-5c76-4922-a9f4-b98719be04f8</guid><dc:creator>nchagan</dc:creator><description>&lt;p&gt;Hello All,&lt;/p&gt;
&lt;p&gt;I have a method that uses ApplySQL which works just fine for the user that have administrative privileges. However, for non-admin users the method does not work and error out. Learned that this is because of the function ApplySQL, so trying to find alternatives for this function call which could be ApplyAML().&lt;/p&gt;
&lt;p&gt;Need some help changing the below sql query that is being passed to ApplySQL to convert into AML so it can be passed to ApplyAML.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:courier new, courier;"&gt;ApplySQL():&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;span style="font-family:courier new, courier;"&gt;&amp;nbsp; 1) var sql = &amp;quot;select a from [b] where c = &amp;#39;{d}&amp;#39;&amp;quot;;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new, courier;"&gt;&amp;nbsp; 2) var res = document.thisItem.getInnovator().applySQL(sql.replace(&amp;quot;{d}&amp;quot;, variable));&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I came up with this code for ApplyAML() which does not work.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:courier new, courier;"&gt;ApplyAML():&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:courier new, courier;"&gt;&amp;nbsp;1) var doc = innovator.newItem();&lt;br /&gt;&amp;nbsp;2) doc.loadAML(&amp;quot;&amp;lt;Item type=&amp;#39;b&amp;#39; action=&amp;#39;get&amp;#39; select=&amp;#39;a&amp;#39;&amp;gt;&amp;quot; +&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;&amp;lt;c condition=&amp;#39;like&amp;#39;&amp;gt;&amp;#39;%{d}%&amp;#39;&amp;lt;/c&amp;gt;&amp;quot; +&amp;nbsp;&amp;nbsp; &amp;quot;&amp;lt;/Item&amp;gt;&amp;quot;);&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;3) var res = doc.apply();&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The method is a client-side java script.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;Thanks&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>ConsoleUpgrade.exe to execute AML in batch mode</title><link>https://www.aras.com/community/f/development/9140/consoleupgrade-exe-to-execute-aml-in-batch-mode</link><pubDate>Tue, 25 Feb 2020 07:44:21 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:6d6f6562-a812-444c-aae2-9880c32f33eb</guid><dc:creator>miraks</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I use&amp;nbsp;ConsoleUpgrade.exe to export a package from a DEVELOPMENT aras environment and to import this package in a PRODUCTION aras environment.&lt;/p&gt;
&lt;p&gt;After the import, I need to execute some specific AML to clean some ItemType or execute some methods.&lt;/p&gt;
&lt;p&gt;Here is an example of AML I need to execute:&lt;/p&gt;
&lt;p&gt;&amp;lt;AML&amp;gt;&amp;lt;Item type=&amp;quot;Method&amp;quot; action=&amp;quot;COCO_UPDATE_LISTS&amp;quot;&amp;gt;&amp;lt;/Item&amp;gt;&amp;lt;/AML&amp;gt;&lt;/p&gt;
&lt;p&gt;I can execute it with Nash but I would like to do it by batch.&lt;/p&gt;
&lt;p&gt;I tried to put an AML file with the same content in the package but this file is not treated by&amp;nbsp;&lt;span&gt;ConsoleUpgrade.exe.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;&lt;strong&gt;Do you know a way to execute an AML in batch ?&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>ARAS 12 - How to remove &amp;quot;Create New XXX&amp;quot; button ?</title><link>https://www.aras.com/community/f/development/16821/aras-12---how-to-remove-create-new-xxx-button</link><pubDate>Mon, 11 May 2020 12:30:00 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:06789799-bc7d-4dc3-aa35-66b7bb6676b3</guid><dc:creator>miraks</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I defined an ItemType named &amp;quot;Cost&amp;quot;.&lt;br /&gt;This is a relationship without related item.&lt;br /&gt;There is nothing in the &amp;quot;Can Add&amp;quot; of this ItemType because nobody can create a &amp;quot;Cost&amp;quot;. There are only created by code.&lt;/p&gt;
&lt;p&gt;In ARAS 12, I have this:&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/3/pastedimage1589200095268v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;What should I do in CUI to remove &amp;quot;Create New Cost&amp;quot; ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Discussion Starter I</title><link>https://www.aras.com/community/achievements/21025ab1-febb-4fb4-a872-d32a921cb45c</link><pubDate>Tue, 27 Oct 2020 06:55:28 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:2f4b3f67-44ed-4636-abc6-33f4ec44dc60</guid><dc:creator /><description>Start a discussion in a forum that receives 5 replies.</description></item><item><title>cui_ShowTab_ButtonClick</title><link>https://www.aras.com/community/f/community/36028/cui_showtab_buttonclick</link><pubDate>Fri, 09 Oct 2020 07:18:36 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:4ef183c5-cb67-48a6-9402-b18d6c5ff4b8</guid><dc:creator>miraks</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sometimes, ARAS 12 SP8 displays an error panel saying&amp;nbsp;&lt;span&gt;&amp;quot;The method &amp;quot;cui_ShowTab_ButtonClick&amp;quot; failed.&amp;quot; just after opening an item.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I don&amp;#39;t know how to reproduce it systematically to open a ticket to ARAS support.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It seems to occur when I click too fast.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do you have this issue too ? &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do you know how to reproduce it ? &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do you know how to fix it ?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>ARAS 12 - Force to take all the available place</title><link>https://www.aras.com/community/f/development/14340/aras-12---force-to-take-all-the-available-place</link><pubDate>Thu, 07 May 2020 13:01:59 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:4bd7bd4e-1609-4654-8d5e-a09e1876d799</guid><dc:creator>miraks</dc:creator><description>&lt;p&gt;For an ItemType without relationship,&amp;nbsp; ARAS 11 lets all the available place for the display of the item.&lt;/p&gt;
&lt;p&gt;See my ItemType in ARAS 11:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/3/2020_2D00_05_2D00_07-14_5F00_56_5F00_40_2D00_ARAS_5F00_11.png" /&gt;&lt;/p&gt;
&lt;p&gt;But with ARAS 12, this is not the case.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;See the same ItemType in ARAS 12:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/3/2020_2D00_05_2D00_07-14_5F00_51_5F00_55_2D00_ARAS_5F00_12.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is there a solution to force the &amp;quot;Costing Context&amp;quot; to take all the place or to remove this frame ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you in advance for your help?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Prevent the user from modifying his own account</title><link>https://www.aras.com/community/f/community/35884/prevent-the-user-from-modifying-his-own-account</link><pubDate>Fri, 14 Aug 2020 13:09:03 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:ccb9277e-7240-4ea5-aef0-65042bc3e2c7</guid><dc:creator>miraks</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;By default, in ARAS, a user is able to modify his account. So, he can change &amp;quot;Login Name&amp;quot;, &amp;quot;First Name&amp;quot;, &amp;quot;Last Name&amp;quot; and many other attributes.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How to prevent these changes while allowing the password to be changed?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Thank you in advance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Let me Help You</title><link>https://www.aras.com/community/achievements/687f4b6d-e18a-4e55-836c-49926ca2c9d9</link><pubDate>Tue, 22 Sep 2020 14:39:30 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:7bca18c9-d736-4112-ba05-7e7cf744d8e1</guid><dc:creator /><description>Answer a question that is verified as helpful or correct.</description></item><item><title>uiShowItem reload</title><link>https://www.aras.com/community/f/development/35944/uishowitem-reload</link><pubDate>Tue, 08 Sep 2020 13:36:19 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:5453669e-63ac-42f9-8aaf-9ead0eddbf7e</guid><dc:creator>miraks</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In a javascript method, I use&amp;nbsp;uiShowItem to open an existing Item.&lt;/p&gt;
&lt;p&gt;When the Item is &lt;strong&gt;already opened&lt;/strong&gt;,&amp;nbsp;&lt;span&gt;uiShowItem&amp;nbsp;doesn&amp;#39;t trigger a reload of the Item.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;Is there a way to do the reload after using uiShowItem&amp;nbsp;when the page ?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Call attachPhysicalFile in javascript from an itemtype</title><link>https://www.aras.com/community/f/development/35782/call-attachphysicalfile-in-javascript-from-an-itemtype</link><pubDate>Thu, 16 Jul 2020 15:46:23 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:60a9242f-cff3-499f-8a5e-d7188d2fcaab</guid><dc:creator>miraks</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have an ItemType &amp;quot;&lt;strong&gt;COCO_STUDY&lt;/strong&gt;&amp;quot; with a relation &amp;quot;&lt;strong&gt;COCO_STUDY_FILE&lt;/strong&gt;&amp;quot; pointing to a &amp;quot;&lt;strong&gt;File&lt;/strong&gt;&amp;quot;.&lt;/p&gt;
&lt;p&gt;On the form of this ItemType, I have a html/javascript widget to import a CSV file.&lt;br /&gt;The selection of the file is done with &lt;strong&gt;&amp;lt;input type=&amp;quot;file&amp;quot;&amp;gt;&lt;/strong&gt;.&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/3/0257.pastedimage1594913736943v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I would like to implement an option (here: &amp;quot;Add imported file in documents&amp;quot;), to copy the selected and imported document into ARAS (as a File) and pointed by the current&amp;nbsp;&lt;span&gt;&amp;quot;&lt;strong&gt;COCO_STUDY&lt;/strong&gt;&amp;quot; through a&amp;nbsp;&amp;quot;&lt;strong&gt;COCO_STUDY_FILE&lt;/strong&gt;&amp;quot;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I understood that I need to use&amp;nbsp;&lt;strong&gt;attachPhysicalFile&lt;/strong&gt; but how ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If I well understood, for security reason, the browser doesn&amp;#39;t fullpath of the selected file.&lt;br /&gt;So, I don&amp;#39;t know how to pass it to&amp;nbsp;&lt;strong&gt;attachPhysicalFile&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I tried to hardcode the filename for a test but it doesn&amp;#39;t work.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I did this javascript code&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt;if(add_imported_file) {&lt;br /&gt; // Add imported file in ARAS&lt;br /&gt; let inn = top.aras.newIOMInnovator();&lt;br /&gt; let link_study_file = inn.newItem(&amp;quot;COCO_STUDY_FILE&amp;quot;, &amp;quot;add&amp;quot;); &lt;br /&gt; &lt;br /&gt; let fileAras = inn.newItem(&amp;quot;File&amp;quot;, &amp;quot;add&amp;quot;); &lt;br /&gt; fileAras.setProperty(&amp;quot;filename&amp;quot;,fileInput.files[0].name);&lt;br /&gt; fileAras.setProperty(&amp;quot;comments&amp;quot;, &amp;quot;Imported&amp;quot;);&lt;br /&gt; //URL.createObjectURL(fileInput.files[0])&lt;br /&gt; fileAras.attachPhysicalFile(&amp;quot;C:\\Users\\to81591\\Documents\\Development\\cawb\\sample_csv_files\\CAD2BOM v0.1_UPDATED.csv&amp;quot;)&lt;br /&gt; &lt;br /&gt; link_study_file.setRelatedItem(fileAras);&lt;br /&gt; document.thisItem.addRelationship(link_study_file);&lt;br /&gt; }&lt;/span&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;So, in javascript, how to create a &amp;quot;File&amp;quot; from a file selected from an &amp;lt;input type=&amp;quot;file&amp;quot;&amp;gt; ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;/p&gt;
&lt;/blockquote&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>