Ankush Verma 2 Posted July 14, 2020 Share Posted July 14, 2020 Can someone tell me how to handle theInvalidOperationException I have 3 datasource to replace and I am first checking if t.CanReplaceDataFlow(): t.ReplaceDataFlow(dataFlow) not everytine all three datasources will be replacable so it throws theInvalidOperationException and exit out of the loop. I want it to move to the next datasource and check if it is replacable. for more information please check the below link: https://docs.tibco.com/pub/doc_remote/sfire_dev/area/doc/api/TIB_sfire-analyst_api/topic=html/T_Spotfire_Dxp_Data_DataOperations_DataSourceOperation.htm&_ga=2.120485071.671893837.1594717541-1754718854.1589268763 Link to comment Share on other sites More sharing options...
Ankush Verma 2 Posted July 15, 2020 Author Share Posted July 15, 2020 and the below link for replacing the datasource: https://docs.tibco.com/pub/doc_remote/sfire_dev/area/doc/api/TIB_sfire-analyst_api/topic=html/T_Spotfire_Dxp_Data_DataOperations_DataSourceOperation.htm&_ga=2.84334942.671893837.1594717541-1754718854.1589268763 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