• Jagannath Birajdar 23
  • NEWBIE
  • 5 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
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.
Hi Everyone,
how to create a trigger when the account is created then automatically contact and opportunity created ?

Pleasae supppot me 


Thanks 
AKlkk
  • November 08, 2018
  • Like
  • 0
Hi, I am doing Trialhead. But i stuck here. This is my error message:
User-added image

And my code is:
<apex:page controller="NewCaseListController" showHeader="false">
    <apex:form >
        <apex:pageBlock title="Cases List" id="cases_list">            
            <apex:pageBlockTable value="{! NewCases }" var="cs">
                    <apex:outputLink value="{! cs.Id}">{! cs.Id}>
                          <apex:repeat value="{!newCases}" var="case" id="theRepeat">
                         </apex:repeat>
                    </apex:outputLink>
                <apex:column value="{! cs.CaseNumber }"/>
                <apex:column value="{! cs.id }"/>
                <apex:column value="{! cs.Status}"/>
            </apex:pageBlockTable>
        </apex:pageBlock>
    </apex:form>
</apex:page>