About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Last updated: Feb 11, 2025
You can use the Data Asset import node to pull in data from remote data sources
using connections or from your local computer.
Example
import json
stream = modeler.script.stream()
dataassetimport = stream.findByID("<import nodeId>")
# loads the string settings as a json object
userSettings = json.loads(dataassetimport.getPropertyValue("user_settings"))
userSettings["interactionProperties"]["sheet_name"] = "<new sheet name>"
dataassetimport.setPropertyValue("user_settings", json.dumps(userSettings))
Property name | Data type | Property description |
---|---|---|
|
|
Specify your data type: or . |
|
string | When is set for the , this is the ID of
the asset. |
|
string | When is set for the , this is the name
of the asset. |
|
string | When is set for the , this is the ID
of the connection. |
|
string | When is set for the , this is the name
of the connection. |
|
string | When is set for the , this is the path
of the connection. |
|
string | Escaped JSON string containing the interaction properties for the connection. Contact IBM for
details about available interaction points. Example:
These values will change based on the type of connection you're using. |
Was the topic helpful?
0/1000