• mbbender
  • NEWBIE
  • 0 Points
  • Member since 2007

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 12
    Replies
Hi,

We are facing storage issue since use of heavy attachments and more emails.
We know Case Detachifier Apps is best use in this case.

But it makes dependency with internal server.
How can we hanlde this issue.

Any suggestions highly appreciated

Thanks
Nazeer
hi there,

we're using php_sforce_nusoap, and have been shocked by this line of code inside the package:

$this->client->forceEndpoint = str_replace("https", "http", $url);

(see php_sforce_nusoap/salesforce.php, function setURL($url))


we've modified the line like this:

 $this->client->forceEndpoint = $url;

and it still works.


sooo... question is:
why would they replace HTTPS by HTTP?
and why does it still work without the replacement?
which protocol does it use, after all?!
how secure is php_sforce_nusoap?!?!


any comments appreciated,
thanks in advance,

regards,
roMan

Does anyone have a good debug environment or resources for inspecting and/or walking through the cross-domain information transfer?
 
I'm using the following code and am having troubles determining if my php script is even being called and if so what I should be expecting in php.
 
Code:
function sendObj(objectToSend) {
sforce.debug.log("Sending object: " + {"contactContainer":objectToSend});
try{
sforce.connection.remoteFunction(
{
url: "http://mydomain.com/middleware.php",
requestHeaders: {"Content-Type": "application/x-www-form-urlencoded"},
requestData: {"contactContainer":objectToSend},
mimeType: "text/xml",
method: "POST",
onSuccess: function(response) {
document.getElementById("result").value = response.textContent;
},
onFailure: function(response) {
document.getElementById("result").value = "Failed " + response;
}
}
);
}catch(e){
alert("Error in sendObj: " + e);
}
} // end sendObj

 
Code not working for some reason. Any ideas.
 
Code:
var oppContactRole = new sforce.SObject("OpportunityContactRole");
oppContactRole.ContactId = '0037000000RjQis';
oppContactRole.OpportunityId = '00670000009RroZ';
oppContactRole.Role = 'Hidden Contact';
sforce.connection.Create({oppContactRole});

 
I get the error:
missing : after id property
I'm new to this salesforce development thing so work with me here.
 
I added a custom link on the opportunity that is set to execute some javascript. In the javascript that is to be executed I would like to use information specific to the opportunity where the link was clicked.
 
How do I get the information such as opportunity name and opportunity contacts inside my javascript?