Here are some tips I experience while customize Buttons, Links, and Actions on Salesforce.com. I will put related tips/notes here.
To integrate Google Forms and Salesforce.com, I choose to use POST method to send data from Sheets to Web to Any and let it do the rest of everything. It provides more security than the building-in W2L by assigning a pageToken to every web form it generates. If a post doesn’t contains pageToken, it simply returns HTTP Error 400 Bad request.
Although it’s easy to install, I need to manually modify Visualforce page security and object permission in profile for user accounts with a custom profile. Continue reading
I have a filed contains long text in Salesforce.com. When I use “\n” to move some to next line, it just display an empty space.
If I use “<br>”, it works with outputText with escape=”false” but suffer from scripting-attacks according to VisualForce: convert carriage returns to html line-breaks in a long text field. This doesn’t work for Salesforce1 because “<br>” is displayed without line breaks.
Line breaks and consecutive spaces in outputText are removed on postback and Laurent Stanevich suggests to use outputField replacing outputText. It works in my case on both browser and Salesforce1.
- GooglePlay: Salesforce1
- Salesforce: apex:outputField
- Salesforce: apex:outputText
- Salesforce: Line breaks and consecutive spaces in outputText are removed on postback
- Salesforce Stack Exchange: I don’t know why ‘\n’ new line is not working
- StackOverflow: Difference between \n and \r?
- StackOverflow: VisualForce: convert carriage returns to html line-breaks in a long text field
I want to customize an object making certain fields only available while creating. After creation, you need to click on a button to edit or view hidden data. Therefore, customized edit and view Visualforce pages.