• afindie
  • NEWBIE
  • 0 Points
  • Member since 2008

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

Hi.

 

I need to pass a string into apex as " 7/23/2010" and convert this into utc format.

So I can use this UTC and query against my data.

 

However, I can't find anything that convert a string into the UTC format.

 

thanks in advance.

 

andy.

I have code written up using ajaxtool kit.

 

The idea is to click the on-click javascript button, grabs the data from a entry in a object and insert it into a new object.

the page will then navigate to the newly added record for further editting.

 

Can I create the same function with VF page without having the user click on the Save button?

 

thanks.

Message Edited by afindie on 03-03-2010 12:10 PM
I have a scontrol which requires contact.id as parameter.
I call this scontrol by using {!$Scontrol.name}, the url returned as
servlet.Integration?lid=00A000000000000&eid=__ENTITY_ID__&enc=UTF-8&ic=1
 
but I really need the __ENTITY_ID__  to be the {Contact.id}.
how can i replaces this, I will need to do that, so that the scontrol is packageable.
If there is any other way, feel free to let me know, thanks.
 
andy.


Message Edited by afindie on 10-30-2008 02:54 PM
<script src="/soap/ajax/12.0/connection.js"></script>

some other code.

var attachments = new Array("000000000000000"); //replaced 000000000000000 with the document id in SF.
singleRequest.documentAttachments = attachments;

var sendMailRes = sforce.connection.sendEmail([singleRequest]);

I am not able to get this to work at all....

Example was shown with a 9.0 connection...I tried with that as well, but the email didn't go out.

thx in advance.
  • September 18, 2008
  • Like
  • 0
I am running into an issue when I store part of the query string into a custom filed into a custom object and trying to use the field into the custom link.
Example: test : item1=A&item2=B.
http://mysite.com/action?{!sfSessionid}&...&{!ObjectName.test_c}

the url is encoded into  http://mysite.com/action?{!sfSessionid}&...&item1%3DA

is there any way i can disable the encoding of the url on this field?
If not, I will need to make construct a lot of custom fields to just store those values.

thanks in advance.


Message Edited by afindie on 08-14-2008 02:43 PM
Hi I am having some issue passing a long query string over to a third services provider from salesforce.
Due to the limitation of query string size, sometimes it fail to create a connection.
Does anyone out there have a way to solve this issue?
Apex code? Encoding value?
 
thanks
 
<script src="/soap/ajax/12.0/connection.js"></script>

some other code.

var attachments = new Array("000000000000000"); //replaced 000000000000000 with the document id in SF.
singleRequest.documentAttachments = attachments;

var sendMailRes = sforce.connection.sendEmail([singleRequest]);

I am not able to get this to work at all....

Example was shown with a 9.0 connection...I tried with that as well, but the email didn't go out.

thx in advance.
  • September 18, 2008
  • Like
  • 0
Hi I am having some issue passing a long query string over to a third services provider from salesforce.
Due to the limitation of query string size, sometimes it fail to create a connection.
Does anyone out there have a way to solve this issue?
Apex code? Encoding value?
 
thanks