Skip to main content

Posts

Fix Aras Innovator Dashboard Cannot Display in Chrome

Dashboard is a built-in function on Aras Innovator which can perform data visualization with simple configuration. If enter any of existing Dashboard with Chrome, "HTTP Error 500 - Internal Server Error" will show. But using IE and Firefox are OK. It's a little strange due to the error detail shows the requested URL is a directory named "_src_" (shown as below figure). Actually, this kind of directory doesn't exist on server. Check "Dashboard.html" can find the attribute "src" of embed tag is dynamically set by JavaScript in order to get multilingual resource (shown as below figure). The code seems correct but not work in Chrome actually. According to the  discussion on Stak Overflow , dynamically change attribute "src" of embed tag is a very old bug. It looks like not fixed until now. Solution Open "\Innovator\Client\scripts\Dashboard.html". Move to Line 211. Replace all contents of script scope with...

Display thousands separator in Aras Innovator

Aras Innovator can automatically handle the format of Decimal Property with client culture. See below figures, users can find different number output in different culture. The problem is, system only handles the decimal separator. Although Aras Innovator is not a kind of accounting system, it still makes inconvenience for recognizing price data. Figure 1. The decimal data in default culture (en-US). Figure 2. The decimal data in German culture (de-DE). Solution Open "\Innovator\Client\javascript\ArasNumberHelper.js". Move to line 38 and add below code to "ArasNumberHelperFormat" function. Save file. if (locale!==null) { //Called by converting from neutral this.requestModules(); locale = this.localizationModule.normalizeLocale(locale); var formatResult,temp,digits; if (pattern) { temp = pattern.split('.'); digits = Math.min(temp[1] ? temp[1].length : 0, 20); } else { formatResult = number.toString()...

Change Keyed Name Length in Aras Innovator

The "Keyed Name" value normally follows "Name" value, and the value may be very long in some special scenarios. Default length of "Keyed Name" Property is 128, but it can't be modified due to system restrictions (see Restriction on Modifying System Property ). All operations on Aras Innovator will be validated before executing command in database. Therefore, it is impossible to modify with AML or configure on system interface. The alternative way is to modify column definition in database directly. Use below the SQL command to achieve: ALTER TABLE [ Table Name ] ALTER COLUMN [keyed_name] NVARCHAR( New Length ) NULL; UPDATE [Property] SET [stored_length]= New Length WHERE [id]=' Property ID '; ※Please use the command very carefully because there is no any system check for it.

aras.evalMethod Method (aras Object)

aras.evalMethod Method Executes a client side Method with Item node or XML string. Syntax aras.evalMethod( methodNameOrNd , XMLinput , inArgs ) Parameters Name Type Description methodNameOrNd String or Object Required. Client side Method name or node. XMLinput Object Optional. Item node or XML string with Item tag. inArgs Any Optional. Additional arguments to pass. Return Value Returns evaluated result from executed client Method. See Also aras Object Aras Innovator Client Framework

aras.evalItemMethod Method (aras Object)

aras.evalItemMethod Method Executes a client side Method with Item node. Syntax aras.evalItemMethod( methodName , itemNode , addArgs ) Parameters Name Type Description methodName String Required. Client side Method name. itemNode Object Optional. Item node. addArgs Any Optional. Additional arguments to pass. Return Value Returns evaluated result from executed client Method. See Also aras Object Aras Innovator Client Framework

aras.convertToNeutral Method (aras Object)

aras.convertToNeutral Method Converts local value to neutral value. Only effect on specified data types including date, decimal, and float. Syntax aras.convertToNeutral( localValue , data_type , dotNetPattern4Date ) Parameters Name Type Description localValue Any Required. The local value to convert. data_type String Required. Property data type. dotNetPattern4Date String Optional. Decimal pattern or date pattern. When "data_type" is "date", this parameter only supports the following values: short_date (default) short_date_time long_date long_date_time Return Value A String. Returns the converted value. If conversion fails, original value will be returned. See Also aras Object Aras Innovator Client Framework