You need to sign in to do that
Don't have an account?
Jagannath Birajdar 23
Visualforce Error: The name can only contain underscores and alphanumeric characters. It must begin with a letter and be unique, and must not include spaces, end with an underscore, or contain two consecutive underscores.
I have created below VF page, I it is allowing me to submit case and case is being created in traget org (Lightning out funtion is used.), however when clicke on Submit it throws below error. Kindly someone help me on this.
Code:
<script src="https://persidev1-mydruva.cs19.force.com/DruvaLightning/lightning/lightning.out.js" />
<script>
$Lightning.use("c:LtngOutDependancy", // name of the Lightning app
function() { // Callback once framework and app loaded
$Lightning.createComponent(
"c:DRC_SubmitNewCase", // top-level component of your app
{ }, // attributes to set on the component when created
"LtngOutCompDiv", // the DOM location to insert the component
function(cmp) {
// callback when component is created and active on the page
}
);
},
'https://persidev1-mydruva.cs19.force.com/DruvaLightning' // Community endpoint
);
</script>
<div id="LtngOutCompDiv"> </div>
Error:
Visualforce Error:
The name can only contain underscores and alphanumeric characters. It must begin with a letter and be unique, and must not include spaces, end with an underscore, or contain two consecutive underscores.
Code:
<script src="https://persidev1-mydruva.cs19.force.com/DruvaLightning/lightning/lightning.out.js" />
<script>
$Lightning.use("c:LtngOutDependancy", // name of the Lightning app
function() { // Callback once framework and app loaded
$Lightning.createComponent(
"c:DRC_SubmitNewCase", // top-level component of your app
{ }, // attributes to set on the component when created
"LtngOutCompDiv", // the DOM location to insert the component
function(cmp) {
// callback when component is created and active on the page
}
);
},
'https://persidev1-mydruva.cs19.force.com/DruvaLightning' // Community endpoint
);
</script>
<div id="LtngOutCompDiv"> </div>
Error:
Visualforce Error:
The name can only contain underscores and alphanumeric characters. It must begin with a letter and be unique, and must not include spaces, end with an underscore, or contain two consecutive underscores.
Please check and make sure the proile is having access