Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Colin Crawford
0
Views
4
Comments
Update OS Entity from External data
Question
We have created a connection to an external table using Integration Studio (8.0.0.15).
What we'd like to do is to create a new Action, that will recurse through all of the rows in an external table and add or update records in an OS Entity using the CreateOrUpdatexxxxxx method on the OS entity.
I have attached a Word document that has screen shots of what we have entered so far, including the error that is displayed.
The problem appears to be that the TYPE of the external data and the TYPE of the OS Entity aren't the same.
Any ideas?
OS_Screenshots.docx
Nuno Rolo
MVP
Hi Colin,
You need to have a variable Record of the type of the entity.
And in the cycle before the CreateOrUpdate, you have to assign each attribute.
Colin Crawford
I've done that but I get one more error (please see attached). Do I need to do a conversion of some type?
error.png
Nuno Rolo
MVP
Yes, you need to use a function IntegerToEntityRefInteger or TextToEntityRefText if your Id is text.
Colin Crawford
Perfect!! Thanks for your help
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...