<?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 Feature Keys - REST API?</title><link>https://www.aras.com/community/f/development/9511/aras-feature-keys---rest-api</link><description>Activating features is covered on page 61/74 in this guide: https://www.aras.com/-/media/files/documentation/installation-and-configuration/en/12-0/aras-innovator-120--installation-guide.ashx 
 That&amp;#39;s so clicky I can&amp;#39;t help but think there has to be a</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: Aras Feature Keys - REST API?</title><link>https://www.aras.com/community/thread/4808?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 19:56:46 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:b831c049-f9b6-4547-a98d-1705f4d16e1c</guid><dc:creator>neil.lindberg</dc:creator><description>&lt;p&gt;Wow. Well, for any other dev trying to move forward in any way possible to get rid of all the clicky human-error introducing setup of Aras Feature Keys:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;After logging in (HMU if you want that bit).&lt;/p&gt;
&lt;p&gt;&lt;code&gt;
            await driver.sleep(5000);
            
            const [arasUserMenuDD] = await driver.findElements(By.xpath(&amp;quot;//aras-dropdown[@data-id='com.aras.innovator.cui_default.mwh_user_menu']&amp;quot;));
            
            await arasUserMenuDD.click();
            
            await driver.sleep(1000); // Dojo too slojo to use the automation mojo... :o(
            const [activateFeatureLI] = await driver.findElements(By.xpath(&amp;quot;//li[@data-index='com.aras.innovator.cui_default.mwh_activate_feature']&amp;quot;));
            await activateFeatureLI.click();
            await driver.sleep(5000);
            // IFrameicus Goloricus
            const [activateFeatureIFrame] = await driver.findElements(By.xpath(&amp;#39;//iframe[@class="aras-dialog__iframe"]&amp;#39;));
            await driver.switchTo().frame(activateFeatureIFrame);
            await driver.sleep(2000); // Unsure why sleep seems necessary here. The DOM is already rendered in the iframe.
            // TODO: Repeat key-add against CSV of feature keys.
            const [activateFeatureInput] = await driver.findElements(By.xpath(&amp;#39;//input[@id="activation_key"]&amp;#39;));
            await activateFeatureInput.sendKeys(&amp;#39;foobarbazbatboomboomchangilisious&amp;#39;);
                        const activateButton = await driver.findElement(By.id(&amp;#39;activate_btn&amp;#39;));
            await activateButton.click();&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/3/pastedimage1587066967750v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Yay?&lt;/p&gt;
&lt;p&gt;An endpoint for setup would be optimal.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Aras Feature Keys - REST API?</title><link>https://www.aras.com/community/thread/4807?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 18:50:53 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:f4dca96b-82c6-4833-adc1-b3735faf7b81</guid><dc:creator>neil.lindberg</dc:creator><description>&lt;p&gt;In attempting to use Selenium to setup feature keys I&amp;#39;m trying to click on the damn user menu (v12) and while I can log an element and get no errors.... this click never works. There has to be a way to not click, copy/paste this stuff!?&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;
&lt;p&gt;&lt;code&gt;
    const [arasUserMenuDD] = await driver.findElements(By.xpath(&amp;quot;//aras-dropdown[@data-id='com.aras.innovator.cui_default.mwh_user_menu']&amp;quot;));
    arasUserMenuDD.click(); // FIXME: I do nothing&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>