• ag_force
  • NEWBIE
  • 0 Points
  • Member since 2011

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

Hello Everyone,

 

What is the best way to implement a keep me login functionality in Force.com sites?

Hello,

 

I created a vf email template that will be sent when a portal user hits a submit button in the Portal. I'm encountering the following error:

SendEmail failed. First exception on row 0; first error: UNKNOWN_EXCEPTION, Read access denied for Timesheet_Period__c.

I'm wondering why this error occurs whereas other functionality in the portal connected to the object Timesheet_Period__c is working fine. I tried accessing the vf page inside salesforce and it works fine, the problem is in portal user. We are using the
Customer Portal Manager Custom user license.


Below is the email template:

<messaging:emailTemplate subject="Timesheet Approval" recipientType="User" relatedToType="Timesheet_Period__c">
<messaging:htmlEmailBody >
<c:EmailApprover period="{!relatedTo.Id}"/>
</messaging:htmlEmailBody>
</messaging:emailTemplate>

My guess is that the {!relatedTo.Id} triggers the problem because it access the object Timesheet_Period__c.
I've done already the following:
- Sharing rules already grant to All Customer Portal Users and still the problem occurs.
- In profile settings, the are no settings granting the customer portal manager custom to access Timesheet_Period__c.


Hello Community,

 

I created a vf email template that will be sent when a portal user hits a submit button in the Portal. I'm encountering the following error:

 

SendEmail failed. First exception on row 0; first error: UNKNOWN_EXCEPTION, Read access denied for Timesheet_Period__c.

 

I'm wondering why this error occurs whereas other functionality in the portal connected to the object Timesheet_Period__c is working fine. I tried accessing the vf page inside salesforce and it works fine, the problem is in portal.

 

Below is the email template: 

 

<messaging:emailTemplate subject="Timesheet Approval" recipientType="User" relatedToType="Timesheet_Period__c">
<messaging:htmlEmailBody >
<c:EmailApprover period="{!relatedTo.Id}"/>
</messaging:htmlEmailBody>
</messaging:emailTemplate>

 

My guess is that the {!relatedTo.Id} triggers the problem. I'm not sure what's the step should I make in addressing this problem.

 

Any help will be appreciated.

Hello, Anyone here already experienced using email.sethtmlbody and to send emails to outlook? Its not working for me but when using setPlainTextBody, its working.

Hello Community,

 

I created a vf email template that will be sent when a portal user hits a submit button in the Portal. I'm encountering the following error:

 

SendEmail failed. First exception on row 0; first error: UNKNOWN_EXCEPTION, Read access denied for Timesheet_Period__c.

 

I'm wondering why this error occurs whereas other functionality in the portal connected to the object Timesheet_Period__c is working fine. I tried accessing the vf page inside salesforce and it works fine, the problem is in portal.

 

Below is the email template: 

 

<messaging:emailTemplate subject="Timesheet Approval" recipientType="User" relatedToType="Timesheet_Period__c">
<messaging:htmlEmailBody >
<c:EmailApprover period="{!relatedTo.Id}"/>
</messaging:htmlEmailBody>
</messaging:emailTemplate>

 

My guess is that the {!relatedTo.Id} triggers the problem. I'm not sure what's the step should I make in addressing this problem.

 

Any help will be appreciated.

Hello, Anyone here already experienced using email.sethtmlbody and to send emails to outlook? Its not working for me but when using setPlainTextBody, its working.

Hi,

 

I have a question regarding SOSL search in context of object fields. Can SOSL be used search against any fields in object(s) or any limitations to it?

 

Thanks

Ram