• Weiping
  • NEWBIE
  • 20 Points
  • Member since 2011

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

We are developing an IPAD application using Portal user license to connect to SF.com, then retrive CyberU learning classes. However, the user somtimes gets login error when there is low bandwidth - See the error detail below:

Error:

 Can't connect to Salesforce: Error Domain=NSURLErrorDomain Code=-1001 "The Request Timed Out." UserInfo=0x1f57b0f0 {NSErrorFailingURLStringKey=https://test.salesforce.com/id/00DK0000008ygNTMAY/005K0000001aCdWIAU, NSErrrorFailingURLKey=https://test.salesforce.com/id/id/00DK0000008ygNTMAY/005K0000001aCdWIAU ....

 

And it asks for Retry


We’d like to be able to work around the prompt.
- What can cause the propmt as shown?
- Can we reduce the amount of time it takes to prompt the user that there is no response from SF?
- Can we modify the look of the prompt to make it consistent with the rest of the app and remove the language currently in the message?

 

Appreciate the help.

 

Thanks,

Weiping

Hello,

InlineEditing allows us to show and hide buttons during and after editing inline.  However buttons I want hidden by default are displayed.

 

For instance, I have several buttons I want to show by default and hide when editing, plus a Save and Cancel button that I want hidden unless told to display by inline editing.  But when the page loads all of these buttons are displayed.  How am I supposed to make Save and Cancel hidden on page load, surely I dont have to use JS or CSS for that, it must be part of the inline editing capability surely?!

 

 

MORE INFO: Im not using a standard controller everything in the page is handled in a class.  Clicking the Save button (which calls a save method which updates the database, as you'd expect) doesnt save any changes made in inline editing.

I'm starting to think that inline editing will only work with a Standard Controller...

hi
 
i want to retrieve the Server URL in trigger or in APEX class?
 
Actual my requirement is:
 
i had an object RelatedAttachement. in that Hyperlink field is of URL type. in that i am saving the URL like /servlet/servlet.FileDownload?file=00PR0000000MqVH. For this i want to retrieve the server URL and concatenate that Server URL to this field and updating this field.  in one server it looks like http://cs2.salesforce.com/servlet/servlet.Download?file=00PR0000000MqVH and in another server it looks like http://na2.salesforce.com/servlet/servlet.Download?file=00PR0000000MqVH so for this one i want to retrieve the server URL and i want to concatenate that URL to that field.
 
So please tell me how to retrieve the Server URL in trigger or in APEX class?