Discussions
SuiteWorld is the largest annual gathering of the NetSuite community! It will be held in Las Vegas on October 6-9, 2025. Our customers and partners look forward to SuiteWorld every year as a place to hear the latest from NetSuite, get hands-on learning, and connect with each other. Register now!
SCA|what is the use of DomainMap?
Hi Guys,
Good Morning!
I have encountered a piece of code on the SuiteCommerceAdvance website.
Here is the code: -
getData: function(){
debugger;
var self = this;
console.log('typeof DomainMap-621',typeof DomainMap);
if(typeof DomainMap == 'undefined' && this.data.isConfigurator == true){
console.log('cdn files not loaded-600');
setTimeout(function(){
self.render();
},700);
}else{
console.log('cdn files loaded-605');
console.log("this.data-606",this.data);
return this.data;
}
},
In one of our SCA projects, we are encountering an issue with the DomainMap value in the logs for a new domain built on SCA version 23.1. We have used same Website Setup record, Configuration record in to this domain from the currenlty live domain which is build using 18.2 verison of SCA. However, the new domain shows DomainMap as undefined, causing the code to enter the