Changes

Jump to: navigation, search

Use a Button to Create a Level 1

582 bytes added, 19:37, 22 May 2015
m
Additional example added
</script>
<input type="button" class=Button value="Button Label" onClick="createNewLevel1()">
</pre>
'''Note:'''
If you are using variables within your link you must place the script within the onclick otherwise it will not parse the variables correctly in a list view.
<pre style="white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
word-wrap: break-word;">
<input type="button" class=Button value="Button Label" onClick="location.href='/Apps/app_editopportunity.jsp?appid=12345&nextlevel=1&opportunityid=0&defaultstatusid=52525&opportunitytypeid=121212&defaultownerid=@userid@'">
</pre>
* the other parameters should be left exactly as shown:
:*''opportunityid=0'' will create a new, blank {{l1}} record
* other parameters than that can be used include ''defaultownerid'' which will set the [[owner]] of the new record to the [[contact]] with a matching [[userid]].(See [[Pass Variables To Level 1]].)
This {{ROSV}} field can then be referenced in a [[list view]]:
Smartstaff
281
edits

Navigation menu