Skip to main content

Posts

Showing posts from February, 2018

Account and Password Policy in Aras Innovator

Aras Innovator has prepared security policy for account and password and very simple to set up. Account Policy There are two system variables could handle account policy: AccountLockoutThreshold_triesNum: The maximum trying number of login, user account will be locked if exceed. AccountLockoutDuration_minutes: User account locking duration after reach maximum trying number. ※Account policy will only be effective when values of above two variables are greater than zero. Password Policy There are two system variables could handle password policy: User_pwd_symbols_min_number: The minimum characters that must be contained when user set new password. User_pwd_digits_min_number: The minimum digits that must be contained when user set new password.

Get Multilingual String from Client Side in Aras Innovator

Most of strings are defined in XML resource file located at directory "/Client/xml". There are two ways to get multilingual string with JavaScript at client side. One is to use "ResourceManager" class, another one is using the function of Aras object. ResourceManager Class var rm = new ResourceManager (new Solution('core'), 'ui_resources.xml', aras.getSessionContextLanguageCode()); var resourceValue = rm.getString('common.yes'); //Yes Aras Object var resourceValue = aras.getResource('','common.yes'); //Yes

Start Workflow by AML in Aras Innovator

ItemType must has relationship of target Workflow Map, otherwise server will return error after executing AML. Instantiate Workflow Below syntax will create a new Workflow Process and server will return a new ID for it: <AML> <Item type=" Source ItemType " id=" Source Item ID " action="instantiateWorkflow"> <WorkflowMap> Workflow Map ID </WorkflowMap> </Item> </AML> After created Workflow Process, source item should be linked with it. Below syntax will create relationship for them: <AML> <Item type="Workflow" action="add"> <source_type> Source ItemType </source_type> <source_id> Source Item ID </source_id> <related_id> Workflow Process ID </related_id> </Item> </AML> Start Workflow Above steps only "create" but not "start", the new Workflow Process need to be launched manually with be...