This is my first post ever here after many years of finding solutions to my issues. I'm rather new to SharePoint, though not a complete beginner.
Here is what I want to achieve:
- I want to create a list, which will be filled by users
- This list will contain an Identifier text field, we'll call it strId
- This list must contain a field, that's a value retrieved from an oracle database using strId as a parameter
I already did some BDC Models but this seems to be different, as the list elements do not come from a database, just one column does.
I thought about creating a content Type with 2 site columns in it, one with the strId and the other would do the calculation, but I can't seem to be able to do it.
Can anyone help on this matter ?
I would suggest the following:
code:
with elements.xml pointing to the url of your list
Sharepoint automatically makes the changes since the Lookupfield value has changed, and the external columns are displayed.
The advantage here would be that sharepoint does the main magic, it also doesn't matter which kind of lookup list is behind this (external/sharepoint).
A disadvantage is that the external_id field could also be changed, which wouldn't update the strid field, and you would get inconsistent data. This you could however, also block inside the updating statement