• mike4aday
  • NEWBIE
  • 30 Points
  • Member since 2012
  • Salesforce


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

Hi,

 

We have a "Assign using active assignment rules" option at the bottom whenever we create a new case. We can chose a default value for this option from the page layout. Can we also access or set it through a trigger on case object. I tried finding the field name for this field, but got none.

 

Please let me know, if someone knows about this field.

 

Thanks,

Sachin

Hi! I'm trying to do a GET request to an Apex. I followed the OAuth 2.0 procedure to get an access token from Salesforce by using my username and password.
When using this token in the GET request to the Apex REST endpoint, I get a 401 error with the message '[{"message":"Session expired or invalid","errorCode":"INVALID_SESSION_ID"}]'.

What am I doing wrong?

I use the PHP code below. $token is the access token I got from the https://login.salesforce.com/services/oauth2/token request, and it is executed directly after receiving the token (xxxx is replaced):
$curl = curl_init();

curl_setopt_array( $curl, array(
    CURLOPT_URL => 'https://xxxx.salesforce.com/services/apexrest/xxxx',
    CURLOPT_POST => false,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HEADER => array( 'Authorization: Bearer ' . $token )
) );

$response = curl_exec( $curl );
curl_close( $curl );
Why does the documentation indicate that you shoudl not use this in production?
"If you need a session ID just for testing purposes during development, you can use the username-password OAuth flow"
It then says you can use SOAP for to get the token back to use with the REST API.  The SOAP login is just a username and password, just like the username-password OAuth flow.....  I'm currently loggin in with SOAP then callin the REST API for our back office integration only becuase of the documentation that seems to imply that death and destruction awaits those who use the REST login without dancing with OAUTH2.  Is this just poor documentation, or is there some real problem here?
Can you use Apples' swift language to build a mobile salesforce app?
Does anyone have sample code which uses iOS MObile SDK in a Swift project?

There is an email template that is getting sent thru Salesforce, but I can't find where it is getting sent from.  I've checked all the email alerts and there is no email alert that uses the email template that is getting sent via a workflow or an approval process.  I've also looked in the triggers and apex classes and it does not appear to be getting sent thru there either.

 

Is there a way I can quickly locate where and how an email template is getting sent thru Salesforce?  Something like "Where is this used?"  I cannot not figure out where this is getting sent.

 

Any help is appreciated.

Thanks.

Hi,

would like to know, if there any way exist, without writing vf page, to hide fields in view mode?

Actually, I want userto enter values in fields say having names A, B & C. But after submit, I want
A, B & C should not appear. Instead I want to show concatenated result of A+B+C, in another field say D.

would that be possible to hide A,B &C after submit, without writing VF pages?

Hi,

 

We have a "Assign using active assignment rules" option at the bottom whenever we create a new case. We can chose a default value for this option from the page layout. Can we also access or set it through a trigger on case object. I tried finding the field name for this field, but got none.

 

Please let me know, if someone knows about this field.

 

Thanks,

Sachin

Hi all,

 

Is there a way to selectively display a tab in the Customer Portal based on criteria (e.g. custom_boolean_field__c == true)? I've read through the documentation but I'm now under the impression my only option is to create a duplicate customer portal... which seems like overkill for this one use case. Any ideas?

 

Thanks in advance.


Marina