• Wim Velzeboer
  • 0 Points
  • Member since 2014
  • Salesforce Consultant & Developer
  • wIm Management & Consultancy BV.

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
  • 3
I find the Lightning Connect feature a realy great one! But I have a question about the security model. How is access to the records defined?
Does the ODATA link login to the external source with somekind of administrator login (Access to all) and that the default record-sharing rules from Salesforce define the security or do users need to login individualy to the ODATA link?

If users login individualy this will mean that the user credentials need also be on the external part, right?

So, in short, how do I limit access to records on external objects for users?

I am facing a strange issue in IE11. Please see the below code snippet
<apex:page >

<script type="text/javascript">
function load(){ 
 var request;
        if (window.XMLHttpRequest) {
            request = new XMLHttpRequest();
   alert('upload is allowed');

<apex:form id="formid">
<apex:actionfunction name="test" action="{!null}" rerender="formid"/> 

I dont get alert if I have the below components in my visualforce page.
  • Commandbutton/commandlink/actionfunction with rerender attribute. 
  • Action region.(Not working even if you just use empty action region).
I need this fix for a file upload utility that I have developed. I am using xhr.upload.onprogress to check the progress of uploaded file.
xhr.upload.onprogress = function(e) {


The utility is working fine with chrome and firefox, but not working in IE11.
I get the below error, when javascript tries to bind the event.

User-added image

Request you to please let me know if any one have faced similar issue and had any work arounds.

Hi Guys.


I am using the data loader command line to copy data from external system to salesforce.


I have two objects in salesforce, as well as external system, media and attachement.  media is parent, attachment is child.


In the attachment mapping file, the relationship item is 




so that the attachment could  be inserted with the relationship of media. 


But I got error message 


mapping is invalid: MediaId => Media__c:Parent:Ext


I also tried Parent\:ExternalID__c as well, got similar error message. 


Note: I have uploaded the Media data with extenal Id successfully. 


How should I specify the mappings?


Thanks in advance.






I have created some batch apex code alongwith other triggers and class/controller codes. 


When I run individual test methods on them, I am able to get test success result alongwith nice code coverage %. However when I run all tests together, I get following test failure errors:-


1)System.AsyncException: Database.executeBatch cannot be called from a batch or future method.

2)System.AsyncException: Future method cannot be called from a future method: changeOwners(String, String)

3)System.AsyncException: Future method cannot be called from a future method: getLead_Rollup_Amount(Id)

4)System.AsyncException: Future method cannot be called from a future method: changeOwners(String, String)


Please note again that the exceptions dont come when tested individually.


Please advise on same.