Skip to content

Instantly share code, notes, and snippets.

@tet3
Created January 9, 2014 20:30
Show Gist options
  • Save tet3/8341435 to your computer and use it in GitHub Desktop.
Save tet3/8341435 to your computer and use it in GitHub Desktop.
Formula, Text type, for Contract that shows a hyperlink that will Activate Contract in a new window if not yet Active, or shows unlinked word "Activated" if it is already Activated. Include in Contract List Views for 1-click Activation of contracts from the List View.
IF(NOT(ISPICKVAL(StatusCode,"Activated")),
HYPERLINK("/ctrc/contractactivation.jsp?retURL=%2F" & Id & "&id=" & Id, "Activate", "_blank"),
"Activated")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment