Changes

no edit summary
RoleID = Role
===Example - Remove Contact from Level 1===
function removeContact(userid,roleid){
var r=confirm("Are you sure you want to remove this contact from your application?");
if (r==true){
ss_developer_key="@system.ss_developer_key@";
utarole_remove(false ,"","23","@opportunityid@","40",userid,roleid);
alert("Contact has been removed.");
$("#savedraftbutton").click()
}
else
return false;
}
 
Put following in a read only that displays the contacts on Level 1
[#(?object=contact;criteria=(rolename in ("Research Body - Finance Officer","Research Body - Research Officer")))
<input type="button" class="ButtonSm" value="Remove" onclick="removeContact(~userid~,~roleid~)">#]
===Consumer/Provider===
0
edits