Changes

Jump to: navigation, search

Web Page View Field Variables

177 bytes removed, 20:45, 17 March 2023
no edit summary
'''@enddate@'''
'''Created Date@createddate@''' - no variable
'''Created By@createdby@''' - no variable
'''@jobquestions@''' - displays as combo boxes
: <span style="font-size: medium;">'''[#(?object=contact) ~lnkid~ #]'''</span>
To display the contact's profile status:
 
: <span style="font-size: medium;">'''[#(?object=contact) ~firstname~ ~lastname~ ~ustatusid~ #]'''</span>
'''Notes:'''
:* To generate a list of all contacts for a [[Web Page View]] or [[Custom Field Type: Read Only – System Variables|Read Only – System Variables]] custom field (note that the HTML table formatting is included within the '''[#...#]''' syntax)
[#(?object=contact)#]
{|
|-
|!|First Name|!|Last Name|!|E-mail Address|!|Cell Phone Number
|-
||~firstname~
||$Cell Phone$
|}
 
::: ''Note: The first line creates a header row for the table''
 
:* For a list of Level 2 (or Level 3) activities sorted by Start Date in descending order:
[#(?(object =level-1) NAME: ~name~ OWNERID: ~ownerid~ OWNERNAME: ~ownername~ #]
 
:* To display the level 1 ID of the level 1 records:
 
[#(?(object =level-1) OPPORTUNITY ID: ~op.opportunityid as oppid~ #]
:* To include and format a date stored in a custom field (see also [[sscalculation]])
<pre>[#(?object=activity)<!--@sscalculation(date_format("$fieldname$","%M %d, %Y"))-->#]</pre>
::: ''('''Close Date''' does not have a time associated with it)
'''Examples:'''
::
::* To display the Start Date in the format '''February 22, 1985''' you would use:
::: <span style="font-size: medium;"><input class="Button" type="button" value="Button Label." /></span>
'''where:'''
::
::* ''customfieldid'' = the field id of the Single or Multiple file custom field (without '''cf_''')
<!--:::* You can only obtain the history of the Status field and [[Custom Fields]] in this way.-->
 
==For Hybrid Sign-Up Pages==
::: The @user_input_form@ will display the associated user sign up form on a company sign up page if included in the HTML template of the company sign up page.
==Currency Format==
::: You can use the following syntax to format a custom field with currency: @format(L2 Subcontract total y1,currency,USD,2)@. The last parameter can be changed from 2 to 0 to display as a whole number.
==Session Variables==
When using features such as Organization Switching, you may want to pull in specific data based on your current session.
 
:: Company Fields: '''@sessioncompany.fieldname@'''
Example: @sessioncompany.name@ would return the Company Name of the organization you are currently logged in as.
 
=Controls=
==Hide a variable if it is missing==
::* [[Adding JavaScript JS files to Web Page View Pages]]
::* [[Custom Field ID|Determining the Custom Field ID]]
::*
 
[[Category:Custom Fields]][[Category:Variables]][[Category:PDF]]%20in%20webpage%20view%20field%20showing%20activity" data-mce-href="Allow%20for%20'
 
 
[[Category:Custom Fields]][[Category:Variables]][[Category:PDF]]%20in%20webpage%20view%20field%20showing%20activity" title="Allow%20for%20'
 
 
[[Category:Custom Fields]][[Category:Variables]][[Category:PDF]]%20in%20webpage%20view%20field%20showing%20activity" data-bs-type="internal_link" class="internal bs-internal-link" data-bs-wikitext="Allow%20for%20'
 
 
[[Category:Custom Fields]][[Category:Variables]][[Category:PDF]]%20in%20webpage%20view%20field%20showing%20activity">Allow for '
 
 
[[Category:Custom Fields]][[Category:Variables]][[Category:PDF]] in webpage view field showing activity
 
[[Category:Custom Fields]][[Category:Variables]][[Category:PDF]]
Smartstaff
2
edits

Navigation menu