Error "Could not copy the selected record(s)" appears in the new WebVision interface in NuGenesis SDMS - WKB276512
Article number: 276512
SYMPTOMS
- The following error message appears in WebVision when copying records between projects:
- Could not copy the selected record(s)
- Something went wrong when trying to community with the Identity API
- The records are not copied
- In the browser's Developer Tools, the request to destination-projects results in HTTP 204 ("No Content") instead of HTTP 200 ("OK")
ENVIRONMENT
- NuGenesis 9.3.1 SDMS
CAUSE
The Web API configurations in the Drive:\Program Files (x86)\Waters\NGSDMS\Application Server\Vision\SdmsProjects\appettings.json file have an incorrect web server hostname or ports.
FIX or WORKAROUND
- Edit the appsettings.json file in Notepad.
- The "ExternalApi" setting has three subsections: IdentityApi, AuditTrailApi, and SdkGatewayApi. Each sub-section has a hostname, port, and URL segment.
- Set the SDMS Web server's fully-qualified hostname as the Host setting for each API.
- Save and close the appsettings.json file.
- Restart IIS.
ADDITIONAL INFORMATION
Example "ExternalApi" settings:
"ExternalApi": {
"IdentityApi": {
"Host": "webserver.domain.com",
"Port": 54825,
"ApiName": "identity-api",
"Version": 1
},
"AuditTrailApi": {
"Host": "webserver.domain.com",
"Port": 54822,
"ApiName": "audit-trail-api",
"Version": 1
},
"SdkGatewayApi": {
"Host": "webserver.domain.com",
"Port": 54827,
"ApiName": "sdms-web-sdk"
}
}
