• themagician
  • NEWBIE
  • 0 Points
  • Member since 2007

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
A situation has come up that requires heavy-duty db manipulation using various inter-dependant queries and fields.  I am trying to use nested calls but somehow the execution does not complete correctly.  A simple example is shown below:

result = sforce.connection.query("<1st query here>") {
  <rest of code>
  result2 = sforce.connection.query("<second query here>") {
    <code for the second connection>
  }
  <some other code>
}


So, to keep is short, the second query does not issue an error nor does it execute correctly.  It simply skips to the next line.  Remember I am using asynchronous calls which makes this a lot harder than it seems.  Any ideas as to how I can maintain a true asynchronous call while using nested queries or updates?

Any help is greatly appreciated...

Hi,

 

Does anybody know how I generate dynamic content in my Self-Serive Portal (eg: Home page). 

 

What I want to add is

 

<some-link> (href = http://<some-link>.com?timestamp=<encryted-current-timestamp>)

 

Could anybody help me out here please.

 

Thanks,

Prakash Raman