Some forms contain HTML fields that do not refresh on actions like save. That is because these fields reference Item properties, and do not actually point to them.
To refresh these properties you can use an onFormPopulate event containing method code to repopulate the field. This same type of mechanism can be used for other aspects of the Item window, but this sample just covers the Status field on the Project Template form.
See TESTSTATUS file for latest testing information.
Aras 11.0 SP9
Aras 11.0 SP7, Aras 11.0 SP9
Internet Explorer 11, Firefox 38 ESR, Chrome
Though built and tested using Aras 11.0 SP9, this project should function in older releases of Aras 11.0.
Always back up your code tree and database before applying an import package or code tree patch!
- Aras Innovator installed (version 11.0 SPx preferred)
- Aras Package Import tool
- htmlFormFieldUpdate import package
- Backup your code tree and store the backup in a safe place.
- Copy the Innovator folder from the project's CodeTree subdirectory.
- Paste the Innovator folder into the root directory of your Aras installation.
- Tip: This is the same directory that contains the InnovatorServerConfig.xml file.
- Backup your database and store the BAK file in a safe place.
- Open up the Aras Package Import tool.
- Enter your login credentials and click Login
- Note: You must login as root for the package import to succeed!
- Enter the package name in the TargetRelease field.
- Optional: Enter a description in the Description field.
- Enter the path to your local
..\CustomFormCSS\Import\imports.mf
file in the Manifest File field. - Select CustomFormCSS in the Available for Import field.
- Select Type = Merge and Mode = Thorough Mode.
- Click Import in the top left corner.
- Close the Aras Package Import tool.
- Log in to Aras as admin.
- Click Templates > Project Templates in the table of contents (TOC).
- Open an existing Template, or create a new Template to view the status field on the Project Template form. Upon save it should look something like this:
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
For more information on contributing to this project, another Aras Labs project, or any Aras Community project, shoot us an email at araslabs@aras.com.
Original code written by Aras Corporation Support for Aras Corporation.
Updated and Documented by Jillian Jakubowicz for Aras Labs. @JillJakubowicz
Aras Labs projects are published to Github under the MIT license. See the LICENSE file for license rights and limitations.