Hi Team,
As we are extending the Multi-cloud for CUIC platform and facing the issue while lunching "Validate Platform Element" service form i.e. "Error: TypeError: document.getElementById("ns_sim_assetDictName") is null". So I have trying to searched "ns_sim_assetDictName" in the service form like html, scripts whether it is defined anywhere to identified the problem. but I couldn't.
Code sniphet:
// ######### Validate Platform Element ########### //
if (ServiceName == 'Validate Platform Element') {
if (document.getElementById("ns_sim_assetDictName").value == 'ReturnEmail')
serviceForm.SIBDCUICElement.setVisible(true);
else
if (document.getElementById("ns_sim_assetDictName").value == 'SIBDCUICElement') {
serviceForm.SIBDCUICElement.setVisible(true);
serviceForm.MultiCloudTriggers.PlatformType.setValue(['CUIC']);
serviceForm.SIBDVMWarevCenterServerElement.setVisible(false);
serviceForm.SIBDUCSManagerElement.setVisible(false);
serviceForm.SIBDCiscoSPElement.setVisible(false);
}
}
And the same style of code is followed for the other platform but I could find any issues over there. So could you please clarifying me that what is "ns_sim_assetDictName"? and where it should be defined? how can I happed to fix the issue?