Changes

Jump to: navigation, search

Use a Button to Create a Level 2

443 bytes added, 00:17, 8 April 2015
no edit summary
{{JavaScript Syntax}}
[[System Administrator]]s can create a button that will allow users to create {{l2}} records on the fly.
word-wrap: break-word;"><script language=javascript>
function createNewLevel2(){
location.href="/Apps/app_editevent.jsp?appid=1234567@apptype@&islevel2=1&objecttype=23&nextlevel=1&companyid=@companyid@&objectid=@opportunityid@&eventid=0";
}
</script>
:*''objectid=@opportunityid@'' will link the new {{l2}} record to the {{l1}} record on which the button was pressed
:*''eventid=0'' will create a new, blank {{l2}} record
 
'''other parameters that can be included''':
* ''defaultstatusid'' = the [[Determining the statusid|status ID]] to which the new record should be set. If this parameter is omitted the default status will be used.
* ''eventtypeid'' = the [[Determining_the_typeid#Level_2_Type|Type ID]] with which the new record should be associated. If this parameter is omitted the default type will be used.
This {{ROSV}} field can then be referenced in a [[list view]]:
0
edits

Navigation menu