• Sophia Abraham 6
  • NEWBIE
  • 10 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 8
    Replies

Hi All,
I am trying to make REST API calls to query custom objects and return records.
I have been successful in doing this for one custom object.
Now, I have 2 completely non-related Custom objects and would like to make an INNER JOIN using 2 fields from the 2 objects
For Example,
Object 1
fields: Name, ID, Description
 
Object 2 
fields: User_Name, ID, Age
Now get all records where obj1.Name=obj2.User_Name and obj1.ID=obj2.ID


can this be done? Without any realation between obj 1 and obj 2
And if yes, How? A small example query would be greatly helpful
Thanks in Advance.

Hi All,
I'm trying to create a new formula field in my custom object.

This formula field is a boolean and it returns true or false based on the conditon

CONTAINS(<obj1_fieldName__c>, <obj2__r.obj2_fieldName__c>).

 

The problem is this returns true for ALL Cases. Even when a value is not present in obj2_fieldName__c for the corresponding obj1_fieldName__c
What am i doing wrong? How must the formula be implememted? "=" returns everything as false.
 

Thanks in Advance.

Hi All,
I signed up for the developer trial edition.

I created a developer sandbox instance.

I've read from the docs that a developer account by default has REST API access. But when I try to make a query using the REST API i get the following error: 
  "message" : "The REST API is not enabled for this Organization.",
  "errorCode" : "API_DISABLED_FOR_ORG"

what am i doing wrong?

I've created a connected app and login was also successful.

Any help would be greatly appriciated.


Hi All,
I am trying to make REST API calls to query custom objects and return records.
I have been successful in doing this for one custom object.
Now, I have 2 completely non-related Custom objects and would like to make an INNER JOIN using 2 fields from the 2 objects
For Example,
Object 1
fields: Name, ID, Description
 
Object 2 
fields: User_Name, ID, Age
Now get all records where obj1.Name=obj2.User_Name and obj1.ID=obj2.ID


can this be done? Without any realation between obj 1 and obj 2
And if yes, How? A small example query would be greatly helpful
Thanks in Advance.

Hi All,
I'm trying to create a new formula field in my custom object.

This formula field is a boolean and it returns true or false based on the conditon

CONTAINS(<obj1_fieldName__c>, <obj2__r.obj2_fieldName__c>).

 

The problem is this returns true for ALL Cases. Even when a value is not present in obj2_fieldName__c for the corresponding obj1_fieldName__c
What am i doing wrong? How must the formula be implememted? "=" returns everything as false.
 

Thanks in Advance.

Hi All,
I signed up for the developer trial edition.

I created a developer sandbox instance.

I've read from the docs that a developer account by default has REST API access. But when I try to make a query using the REST API i get the following error: 
  "message" : "The REST API is not enabled for this Organization.",
  "errorCode" : "API_DISABLED_FOR_ORG"

what am i doing wrong?

I've created a connected app and login was also successful.

Any help would be greatly appriciated.

I see that there is a similar question here: https://developer.salesforce.com/forums?state=id#!/feedtype=SINGLE_QUESTION_SEARCH_RESULT&id=906F0000000ArVTIA0
But it doesn't look like it was ever properly addressed.
It also looks like the interface for the back-end has changed a decent amount since then.

I found a good guide for starting PHP development:
https://developer.salesforce.com/page/Getting_Started_with_the_Force.com_Toolkit_for_PHP

But I can't figure out how to enable the API on my account nor how to retrieve the security token.

I'm facing the following error:

"The REST API is not enabled for this Organization.","errorCode":"API_DISABLED_FOR_ORG"

How to fix this issue? Or how to enable REST API for organisation?

Currently I'm using 30 days trial version of salesforce.com.