• Stefg
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 6
    Replies

Hi All,

 

I am trying to use JavaScript Remoting to access an endpoint in a package but it is not working.  Is it possible to access a remote action in a package?  The class and the remote action are both global.

 

I can access remote actions deployed with my code but I can't seem to access those in packages.  Can this be done or am I just doing something wrong with my calls?

 

Many Thanks,

Stefan

  • November 29, 2013
  • Like
  • 0

Hi All,

 

I am trying to use JavaScript Remoting to access an endpoint in a package but it is not working.  Is it possible to access a remote action in a package?  The class and the remote action are both global.

 

I can access remote actions deployed with my code but I can't seem to access those in packages.  Can this be done or am I just doing something wrong with my calls?

 

Many Thanks,

Stefan

  • November 29, 2013
  • Like
  • 0

When should we use Trigger.new, Trigger.old,Trigger.newMap & Trigger.old.

Hi all,

 

I'm trying to load data into my custom object using the command line data loader, but am stuck trying to load the OwnerID using my External ID on teh User object.

 

I've got 2 users with external id field = Dataload_Id__c, and values = "owner_1", "owner_2"

Many of my data files will be wanting to assign ownership to one of these users (and potentially others), but I can't figure out the external ID syntax for my SDL file in data loader.

 

I've tried the following:

 

 

OwnerId=Owner\:Dataload_id__c

OwnerId=User\:Dataload_Id__c

OwnerId=Owner\:User\:Dataload_Id_c

 

none are working.

 

I know I can put the exact salesforce ID of my owners in the csv file, but this file will be used on numerous sandboxes where the owners will be created manually and repeatedly, meaning the salesforce ID won't be consistent. Also, files will be arriving from multiple sources, where creators only know the external ID of the owning users.

 

I'm sure this can be done, as I've used third party tools like Pervasive Data Integrator which allowed me to put, for example, "(User:Dataload_Id__c:owner_1)" as my load value. Pervasive used the standard salesforce API.

Thing is, I don't know how to translate this to an SDL file.

 

Can anyone help?

 

 

Kind regards,

Sunny