Erkan - Tuesday, June 7, 2011 3:21 AM:
Hi everyone,
I'm industrial engineer, i'm familiar with .Net and Javascript but not an expert.
With the help of documentation, i can create items, forms and relationships with Aras. But without methods, i can't design everything in my mind.
I read the "Programmers Guide" document but, honestly i can't figured out how the methods work.
But i'm sure, if i see some working simple example, i'll start to understand.
So, i'll be glad if anyone share methods code like updating a properties value, updating a classification value, calculating two integer properties etc.
Regards,
Erkan
Yoann Maingon - Tuesday, June 7, 2011 3:43 AM:
Hi Erkan,
You can browse some interesting sources on our codeplex page: http://prodeos.codeplex.com/
these are mainly third-party application. but that's a good start.
Best regards,
Yoann (Minerva France)
Erkan - Tuesday, June 7, 2011 3:54 AM:
Thanks Yoann,
I'll follow the project.
Erkan
Brian - Tuesday, June 7, 2011 8:14 AM:
Hi Erkan,
You can also just look through the methods that are in Innovator and see how various things are achieved.
Have a look at "Fill Form Fields" in the standard Innovator Solution download.
This is called on the onPopulate or onLoad of forms and updates certain fields.
And you can always have a look at the javascript that drives a lot of Innovator by going to your installation directory and having a look through the .js files under "../client/javascript/"
Cheers,
Brian.
Erkan - Thursday, June 16, 2011 5:42 AM:
Thanks Brian,
I've checked Fill Form Fields and it helps me a lot.
But, I'm still a little bit confused about usage of Server Events, Field Events and Form Events.
I mean, can i use a method as Server / Field / Form event ?; or each events method have different structures ?
For example, how should i use "Fill Form Fields" method, as server, field or form event ?
+
I've already realize the .JS files under "../client/javascript/". For me, they are too complex to understand :)
For a starting point; two simple example is enough for me:
1. in a form with field_a and field_b; transfering field_a value to field_b,
2. in an itemtylpe with property_a and property_b; transferin property_a value to property_b.
Regards,
Erkan