Hi Mike,
You are right, I mixed 2 code parts after trying several. But after correcting I still got an error.
-R-E- DXL: <Line:15> An unexpected error has occurred.
-R-F- DXL: <Line:15> internal error, please submit a bug report
To your points:
- That was the cause of the "incorrect arguments for function" error, but after correcting it, the above mentioned error occurred.
- Yes, I'm aware of that topic, that's where the code came from. I also tried getResourceURL which returns the same URL that I assigned to the variable.
- I renamed the variable, same error.
- I use 9.6.1.11
My current code is like this:
string resourceURL= "doors://d1ddbapp04:36677/?version=2&prodID=0&view=00000003&urn=urn:telelogic::1-432aa0956f684cff-O-371-000149fe"
string protocol = null
string dbHost = null
int dbPort = 0
string repositoryId = null
string dbName = null
string dbId = null
Item i = null
ModuleVersion mv = null
string openview = null
int absno = 0
string errMsg = decodeResourceURL(resourceURL, protocol, dbHost, dbPort, repositoryId, dbName, dbId, i, mv, openview, absno)
#Support#SupportMigration#EngineeringRequirementsManagement#Sustainability#DOORS