Hi Experts,
How can i implement on Importing/upload an excel on a two entities with relationship identifier.
Thanks and Best Regards.
Hi Joshua,
Changed your code a bit. Look the attached OML.
Regards,
Marcelo
Marcelo Ferreira wrote:
Hi Marcelo,
Thank you for your reply.
i gained new knowledge. ^_^
Thanks and Best Regards
joshua aquino wrote:
Hi there Joshua.
You can use the "ExcelToRecordList" and after use "for each" for create record by record.
But before, you need create a struct with your columns equal of excel.
Regards.
Carlos Alfradique
How is the relationship defined in the Excel file? Is it through an Identifier? Is this Identifier an auto number in the target data model?
Kilian Hekhuis wrote:
Thanks for you reply
Hi Carlos,
Yes i am using the widget to upload into my entity. However what I'm trying to accomplish is to upload it that the entities that have a relationship.
Hi Kilian,
It is through identifier and auto number.
I have attached my sample OML.
Hi Joshua.
You need include one assign after the createOrUpdate User List.
Because you need the id of OutSystems.
In addition to the solution to your problem that Carlos already gave, some observations about the code:
Hi @Kilian thanks for your observation and suggestions.
Hi @Carlos thanks for your suggestion.
I have already use your suggestion prior however it is not working for me.
I have attached my OML.
But the above oml is for traditional module, How i can implement this in reactive module?