Forum Discussion
FICO
8 months agoCommunity Manager
Example for reference I am going through a requirement where I need to store a key with another association my problem can also be solved by creating a sequential array with a key, but I am not able t
@Tom Travis
@Tristan Gally
@Chris Brown
Ex:- marks: {
"Sem1": {"eng":"100","science":"123", ...},
"Sem2": {"eng":"90","science":"120", ...},
"Sem3": {"eng":"85","science":"113", ...},
"Sem4": {"eng":"93","science":"91", ...}
}
I am not able to create association for both
- string to another association of string to integer
- String to array of Real.
I also Try to create a association for string to a class but I am getting error while creating class in attached image I am getting error on with keyword I picked the syntax from help content
3 Replies
- FICOCommunity Manager
I am unclear on why you are unable to do this. In Eclipse, I go to File->New->Object Model Entities and choose Object. In the class field of the object editor, I choose association and it pops up a dialog for "from" and "to". I choose from String, in the to field I choose association, and it pops up another dialog. In that one I choose from string to integer, and then it populates the full class as association from string to association from string to integer. Similarly, for the array, I just choose array in the drop down for the "to" field and then enter real in the dialog that pops up for the type of the array. These drop downs can get quite large if you have a complex object model, perhaps you just didn't scroll it down far enough to see the array and association options, they are shown in bold type nearer the bottom. Your other issue seems to be creating a class from within a function definition. I believe dynamic creation of classes is not allowed, you need to create a new Object Model Entity of type Class and define it in the class editor.
- FICOCommunity Manager
Thanks a lot for your time and help it means a lot and solved my lot of query.
I have one more query if I create a function using eclipse I can not see it in RMA also If I create function in RMA I can see it in eclipse but not able to edit it. Is there any way by using which I can see Eclipse created function in RMA and do changes of RMA created function in Eclipse. in case of migration.
Eclipse image:--
RMA Image:-
- FICOCommunity Manager
I got this answer by myself as only template created entities visible only in RMA. And RMA provide Generic Template to all the entities we create using RMA.
Related Content
Related Content
- 0Views0likes1Comment
