Jody Caldwell 2 Posted June 11, 2021 Share Posted June 11, 2021 Hi I've created a custom data source that hits our internal API to return data. Our internal API has a primary key defined, but I cannot figure out a way to programmatically set the primary key for the resulting datatable in Spotfire. Can you assist Thanks! jody Link to comment Share on other sites More sharing options...
Jagath Sai Narayana Kakaraparthy Posted June 23, 2021 Share Posted June 23, 2021 Hi Jody, You cannot add a Primary Key at the code level. It is not supported to access document objects from a custom data source. (The CDS always imports data intoSpotfire's In-memory engine) Possibly, you can set the keys once the DataTable object has been created. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now