• Tom in NY
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 2
    Replies
I am trying to change the timeout on a developer account and the timeout is always no more than 10 seconds if I set the value to 8 seconds it times out at 8 seconds, if I set the timeout to 120 seconds it times out at 10 seconds. I tried changing the timeout the following ways:
CurrentInventory.SearchMultipleProducts(partlist, 'JSON', function(result, event){
                 if (event.status && event.result) {
                  data = event.result.replace(/(&quot\;)/g,"\"");
                  console.log("data = " + data);
                  LoadMultiPartGrid(data);
                 
            }
          },{timeout: 120000 } );

and I also tried Visualforce.remoting.timeout = 120000; in javascript. Is the developers account limit 10 seconds or am I doing this wrong?

Thanks
Tom
I am using .Net to upload an Excel file we generate in-house every day to salesforce, I need to attach this file to an email in a campaign and have the campaign send the email with the attached file. I am able to upload the file and associate it with the campaign it is the automating the attaching the file to the email and sending it I need some guidance with. We are using MassMailer from Mansa Systems for mass mailing.

I have an external web service I need to call when a quote is created/updated/deleted. I have a trigger on Quote and call my web service to add the quote to an external DB. The Quote trigger passes all the product information to the web service. I also have insert/update/delete triggers on QuoteLineItem that call out to web services to update the data in the external DB. The problem is I need to prevent the QuoteLineItem triggers from firing when the quote is new and trigger when the quote is not new.

 

I was thinking of having only triggers on Quote and not QuoteLineItem and pass the Quote and QuoteLineItem line information and then have the web service compare what is coming in to what was previously saved.

 

What’s the best way to handle this?

 

Thanks for your input

Tom

I am trying to change the timeout on a developer account and the timeout is always no more than 10 seconds if I set the value to 8 seconds it times out at 8 seconds, if I set the timeout to 120 seconds it times out at 10 seconds. I tried changing the timeout the following ways:
CurrentInventory.SearchMultipleProducts(partlist, 'JSON', function(result, event){
                 if (event.status && event.result) {
                  data = event.result.replace(/(&quot\;)/g,"\"");
                  console.log("data = " + data);
                  LoadMultiPartGrid(data);
                 
            }
          },{timeout: 120000 } );

and I also tried Visualforce.remoting.timeout = 120000; in javascript. Is the developers account limit 10 seconds or am I doing this wrong?

Thanks
Tom
Hi,

I have got a requirement to use salesforce bulk query api in C#.net. Does anybody have any sample .net code for using bulk api query in c#.

I have an external web service I need to call when a quote is created/updated/deleted. I have a trigger on Quote and call my web service to add the quote to an external DB. The Quote trigger passes all the product information to the web service. I also have insert/update/delete triggers on QuoteLineItem that call out to web services to update the data in the external DB. The problem is I need to prevent the QuoteLineItem triggers from firing when the quote is new and trigger when the quote is not new.

 

I was thinking of having only triggers on Quote and not QuoteLineItem and pass the Quote and QuoteLineItem line information and then have the web service compare what is coming in to what was previously saved.

 

What’s the best way to handle this?

 

Thanks for your input

Tom