|
Content
|
Enter the content or source for your s-control. You can enter up to 1
million characters. The HTML code defines exactly how your users should
view the custom s-control.
- If you are building a formula in the Advanced
Formula tab or for approvals or rules, such as
workflow, validation, assignment, auto-response, or escalation,
click Insert Field, choose a field, and
click Insert.
To create a basic
formula that passes specific Salesforce data, select the
Simple Formula tab, choose the
field type in the Select Field Type
drop-down list, and choose one of the fields listed in the
Insert Field drop-down list. Build
cross-object formulas to span to related objects and
reference merge fields on those objects.
- To insert an operator, choose the appropriate operator icon from
the Insert Operator drop-down list.
- To insert a function, double-click its name in the list, or
select it and click Insert Selected
Function. To filter the list of functions,
choose a category from the Functions
drop-down list. Select a function and click Help on
this function to view a description and examples
of formulas using that function.
- To reference a file that you uploaded in the
Filename field as part of the custom
s-control, select Custom S-Control from the Select
Field Type drop-down list, and choose Custom
S-Control URL to get the merge field for it. For a Java applet,
you can also use the
{!Scontrol_JavaCodebase} merge field
and the {!Scontrol_JavaArchive} merge
field.
- To insert activity merge fields, select
Event or Task
from Select Field Type.
Internet standards require special encoding for URLs. Salesforce
encodes the text from any merge field you insert into a link. Encode
extra text in your link manually. For example, to generate the
following
URL:
http://www.google.com/search?q={!user.name} Steve Mark 50%
http://www.google.com/search?q={!user.name}+Steve+Mark+50%25
Salesforce
strips double quotes from URLs when the content source is a URL. If
you must use double quotes, encode them manually. For example, to
generate the URL
http://www.google.com/search?q="salesforce+foundation",
use this content:
http://www.google.com/search?q=%22salesforce+foundation%22
|