• Heaven Dev
  • NEWBIE
  • 10 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 2
    Replies
Is possbile to add Custom button in  enhancedList Visualforce component?

User-added image
I have create  lightning components.
In this I have add Jquery but it given Error:
" Cannot read property 'expando' of undefined throws"
I have added single JS File.
<ltng:require scripts="{!$Resource.JqueryJS}" afterScriptsLoaded="{!c.doInit}" />

Please Help me?


 

Hello
          I have try to create dynamic apex page genrat.So I have use Tooling API calling.but it give me erorr "Unexpected character ('L' (code 76)): was expecting comma to separate OBJECT"

I have set Markup Field following this.

string MarkVal='';
        string objval='Account';      
        MarkVal += '<' + 'apex' + ':' + 'page standardController=' + '"\"' + objval + '\""' + '>' ;
        MarkVal += '\n';        
        MarkVal += '<' + 'c' + ':' + 'myComponent' + '>' ;
        MarkVal += '\n';
        MarkVal += '<' + '/c' + ':' + 'myComponent' + '>' ;
        MarkVal += '\n';
        MarkVal += '<' + '/apex:page>';
and reuest body in following this way ,
 
req.setBody('{"Name":"ApexSample2","ApiVersion" :40,"MasterLabel" :"ApexSample2" ,"ControllerType": 0,"Markup": "' + MarkVal+'" }');
If I am write without standardController is working but when I am use standardController="Account" is not working.

Can you please help me?
 
Hello 

I am trying to insert data in standard Object in apex.  it given this error.

DML Error

Is there any setting permission issue. How can I solving this? 
Hello 

I am trying to insert data in standard Object in apex.  it given this error.

DML Error

Is there any setting permission issue. How can I solving this?