• Laurent DHAISNE
  • NEWBIE
  • 0 Points
  • Member since 2017
  • Project Manager
  • arvato

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 3
    Replies
Hi everyone,

I have set several recordtype on account but when I create a new account, it is assigned to one recordtype (default one, old one)

So I would like to add a recordtype field in the new account form shown as below (with the followed path for accessing to this form)
(sorry it's in french ...)

User-added image

I don't find the pagelayout related for this form in order to modify it and add a mandatory field recordtype before 'nom du compte' (account name)

Do you know how to do this update please ?

Thanks for your help

Laurent
Hi,
I'm unable to complete 'Create a User, Skill, and Configuration' which is part of live agent project.
https://trailhead.salesforce.com/projects/build_branded_chat/steps/build_branded_chat_create

Error: The Skill Support is not assigned to one or more of the given profiles. Please follow instructions carefully.

Please Note: in the trail they mentioned to use Standard User & System Administrator Profiles. When i checked with both the profiles, Standard User  Profile it was not assigned the skill. Also when i tried to edit it, I'm not able to assign the Skill to that Profile. 
 
You can try with a very simple formula field with just IMAGE() like:

Contact.Avatar__c = "IMAGE("http://fr.pageondemand.com/emailing/signature_pictures/SCL.jpg", "SCL")"

and create a Visualforce Email Template with:

<messaging:emailTemplate subject="Test for merging HTML fields" recipientType="Contact" relatedToType="Contact">
<messaging:htmlEmailBody >
<html>
<br/>
This is when merging the field:<br/>
{!relatedTo.Avatar__c}<br/>
<br/>
This is when puting the HTML code directly in the template code:<br/>
<img src="http://fr.pageondemand.com/emailing/signature_pictures/SCL.jpg" alt="SCL" border="0"/>
</html>
</messaging:htmlEmailBody>
</messaging:emailTemplate>


Merge with any contact and see: the merged field is not interpreted as HTML.

If you look at it in an email, you will see that 

<img src="http://fr.pageondemand.com/emailing/signature_pictures/SCL.jpg" alt="SCL" border="0"/>

has been replaced by:

&lt;img src="http://fr.pageondemand.com/emailing/signature_pictures/SCL.jpg" alt="SCL" border="0"/&gt;

I didn't found any workarounds. I tyied of course <apex:outputText value="{!HTMLENCODE(relatedTo.Avatar__c)}" escape="false"/> with no better results.

I think this is a bug… but Salesforce Support sent me here "to be sure"…