• ferenik
  • NEWBIE
  • 75 Points
  • Member since 2007
  • CRM Technical Architect
  • Atlantic Technologies

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

Hi all,

I deployed my site on site.com but I get an error when the user goes to the http page.

http://mysite.force.com/

Error: __MISSING LABEL__ PropertyFile - val RestrictedTimeException not found in section Exception

 

Instead, if the user goes to the secure pages

https://mysite.secure.force.com/

everything works fine.

 

In sandbox it works properly both in http and https.

 

Any help?

 

Thanks!

 

Fra

Hi,

I generated the apex classes from the wsdl.

When I use the callout I dont see the xml soap response/request in the debug log, but only something like:

 

19:15:56.102 (102081000)|CALLOUT_REQUEST|[19]|xnet.GetUKLocationByTown_element request_x::SFDC_STACK_DEPTH=1 SOAPAction="http://www.webserviceX.NET/GetUKLocationByTown" User-Agent=SFDC-Callout/22.0 Accept=text/xml Content-Type=text/xml; charset=UTF-8 

 

How I can get the <?xml soap message?

Thanks!!!

F.

  • September 01, 2011
  • Like
  • 0

Hi,

in my sandbox environment someone has created (the administrator?) a new profile called "External who".

 

We can't read (edit/delete/clone) the profile details.

Do you know where it comes from?

Thanks

F.

Hi,
the target is send an email by the salesforce.com api.
This is my code:
Code:
SingleEmailMessage[] messages = new SingleEmailMessage[1];
  messages[0] = new SingleEmailMessage();
  messages[0].setTemplateId(new ID("00XT0000000esdC"));
  messages[0].setBccSender(true);
  messages[0].setEmailPriority(EmailPriority.High);
  messages[0].setReplyTo(replayto);
  messages[0].setSaveAsActivity(saveAsActivity);
  messages[0].setSubject("subject");
  messages[0].setUseSignature(useSignature);
  messages[0].setPlainTextBody("body text");
  String[] toAddresses = new String[] {  "jdoe@salesforce.com" };
  messages[0].setToAddresses(toAddresses);
  messages[0].setSenderDisplayName("Sender Name");
  messages[0].setCharset("UTF8");
  messages[0].setHtmlBody("html body");
  messages[0].setTargetObjectId(new ID("00320000002UJxf"));
  messages[0].setWhatId(new ID("00320000002UJxf"));
 SendEmailResult[] result = sfdcSes.sfdc.sendEmail(messages);

In the result I receive this message: "The email failed to send: When a template is specified the plain text body, html body and subject may not be specified".

But if I dont set the TemplateId I receive this exception: "java.io.IOException: java.io.IOException: Non nillable element 'templateId' is null."

And vice versa if I dont set plain text body, html body and subject but set only TemplateId I receive this exception: "java.io.IOException: java.io.IOException: Non nillable element 'subject' s null."

Please help me!

thanks in advance

francesforce

Hi all,

I deployed my site on site.com but I get an error when the user goes to the http page.

http://mysite.force.com/

Error: __MISSING LABEL__ PropertyFile - val RestrictedTimeException not found in section Exception

 

Instead, if the user goes to the secure pages

https://mysite.secure.force.com/

everything works fine.

 

In sandbox it works properly both in http and https.

 

Any help?

 

Thanks!

 

Fra

Hi,

I generated the apex classes from the wsdl.

When I use the callout I dont see the xml soap response/request in the debug log, but only something like:

 

19:15:56.102 (102081000)|CALLOUT_REQUEST|[19]|xnet.GetUKLocationByTown_element request_x::SFDC_STACK_DEPTH=1 SOAPAction="http://www.webserviceX.NET/GetUKLocationByTown" User-Agent=SFDC-Callout/22.0 Accept=text/xml Content-Type=text/xml; charset=UTF-8 

 

How I can get the <?xml soap message?

Thanks!!!

F.

  • September 01, 2011
  • Like
  • 0

Hello, all-

 

One of my field updates uses the TEXT(Date__c) function to convert the date into text.  It prints it in the YYYY-MM-DD format, though, which means it's the only date in our entire Salesforce system that is not in the MM-DD-YYYY format.

 

Is there a way to customize that within the formula editor?

 

You're all life-savers; thank you as always!

Hi,

in my sandbox environment someone has created (the administrator?) a new profile called "External who".

 

We can't read (edit/delete/clone) the profile details.

Do you know where it comes from?

Thanks

F.