• Michael Ll
  • NEWBIE
  • 5 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
In my dev org I setup the community portal and have usernames and passwords for some test customers.

Is there anyway to create a login form in my asp.net website to authenticate these community portal users?

We plan on setting up 50k customers for our community portal.

Thanks
Michael
 

Hi All,

 

Having a strange issue at the moment.

 

We have an APEX class updating a custom object, but it is failing with this error message:

 

INSUFFICIENT_ACCESS_OR_READONLY, user does not have access to use approval assignment email template: []

 

When the object is updated, a workflow email is sent as confirmation to the user. This is not a part of any approval process. In fact this object is not used in any approval process whatsoever.

 

We have already done plenty of experimenting and have discovered that if this workflow email is a VisualForce template containing any relatedto.FIELD , it fails with the above message. If it is any other email template type it works fine. 

 

We tried a basic VisualForce template as below, which doesn't cause the error:

 

<messaging:emailTemplate subject="test" recipientType="User" relatedToType="customobject__c">
<messaging:HtmlEmailBody >
test
</messaging:HtmlEmailBody>
</messaging:emailTemplate>

 

 

We then tried a VisualForce template with a field that works without error in the text based email..... but still it causes the above error in the visualforce template

 

<messaging:emailTemplate subject="test" recipientType="User" relatedToType="customobject__c">
<messaging:HtmlEmailBody >
test -  {!RelatedTo.Field__c}
</messaging:HtmlEmailBody>
</messaging:emailTemplate>

 

So there must be a problem with accessing the RelatedTo fields, I guess?

 

But why do the text based emails work?

 

 

 

 

 

 

  • November 10, 2012
  • Like
  • 0