diff --git a/src/main/java/com/sforce/dataset/util/XmdUploader.java b/src/main/java/com/sforce/dataset/util/XmdUploader.java index 5dde434..3ec2a8a 100644 --- a/src/main/java/com/sforce/dataset/util/XmdUploader.java +++ b/src/main/java/com/sforce/dataset/util/XmdUploader.java @@ -120,7 +120,7 @@ public static boolean uploadXmd(String userXmdFile, String datasetAlias, String if(datasetId == null || datasetVersion == null || datasetId.trim().isEmpty() || datasetVersion.trim().isEmpty()) { - URI listEMURI = new URI(u.getScheme(),u.getUserInfo(), u.getHost(), u.getPort(), "/insights/internal_api/v1.0/esObject/edgemart", "current=true",null); + URI listEMURI = new URI(u.getScheme(),u.getUserInfo(), u.getHost(), u.getPort(), "/insights/internal_api/v1.0/esObject/edgemart", "current=true&alias="+datasetAlias,null); HttpGet listEMPost = new HttpGet(listEMURI); listEMPost.setConfig(requestConfig);