Bali - Saturday, December 8, 2012 7:44 AM:
Hello All,
I have created a custom type: customtype1. Now when I create an object of this type I get the pre defined item info like: Created By, Created On, Modified By, Modified on, etc.
I want to customise this information. So I would like to add a few and modify a few. What is the exact procedure to do this? I had a look at ui_methodsEx.js in (...Aras.9.3InnovatorInnovatorClientjavascript), but could not figure out much.
Any pointers would be appreciated.
Regards,
Bali
Brian - Thursday, December 20, 2012 1:06 AM:
Hi Bali,
Have a look at the help (Just ask Innovator) that comes with the software.
In this have a look under Innovator Administration | Item Types | Entering Item Type Properties.
This gives you a simple walk through telling you how to add properties to an existing or new Item Type.
Hope this helps.
Brian.
Bali - Saturday, December 22, 2012 2:57 AM:
Hello Brian,
Thanks for help, Actually I have attached a screenshot here. I want to change the info highlighted in the red box.
If I want to show an additional value below state, how do I do it?
I understand how to add a new property and bring it on the form. But I want to know how to bring it on the left section of the form where Aras by default displays Generation, Created By etc.
Thanks,
Bali
Brian - Saturday, December 22, 2012 3:21 AM:
Hi Bali,
There is an HTML field on the form called Item_info.
This calls an Aras Javascript method called top.aras.uiDrawItemInfoTable
This method retrieves some info an formats it, returning the HTML required to display on the form.
You can find this method in the uiMethods.js or uiMethodsEx.js in the javascript folder under the innovator/client folder of your Innovator install.
You could modify this method to return different HTML.
Or you could modify the javascript in the HTML field on the form to add the additional information you want to display.
This approach has the advantage that you are not changing "standard" Aras methods and you can control what you want to display without upsetting other forms.
Hope this helps,
Brian.
Bali - Saturday, December 22, 2012 10:17 AM:
Hi Brian,
Thanks a ton. I had actually looked into those files and made changes earlier, but it never worked. So after reading your post I tried again, it finally turned out to be my browser which was caching the old javascript file and not showing me the newer changes.
Regards,
Bali
