You need to sign in to do that
Don't have an account?
How do I add CONFIRMATIONTOKEN url paremeter to a custom 'create new case' link?
public class rtController { List<RecordType> recordType; public List<RecordType> getRecordType() { if(recordtype == null) recordtype = [Select r.SystemModstamp, r.SobjectType, r.NamespacePrefix, r.Name, r.LastModifiedDate, r.LastModifiedById, r.IsActive, r.Id, r.DeveloperName, r.Description, r.CreatedDate, r.CreatedById, r.BusinessProcessId From RecordType r where SobjectType = 'Case' ]; return recordType; }}
<apex:page controller="rtController" tabStyle="Case" showHeader="false" sidebar="false"><apex:sectionHeader title="Case" subtitle="Record Types" /> <apex:pageBlock > <apex:pageBlockTable value="{!RecordType}" var="rt"> <apex:column > <apex:outputLink value="/500/e?retURL=%2F500%2Fo&RecordType={!rt.Id}&cancelURL=%2F500%2Fo&ent=Case" > {!rt.name} </apex:outputLink> </apex:column> </apex:pageBlockTable> </apex:pageBlock></apex:page>
I'm looking to do this as well, did you ever figure it out?
ApexPages.currentPage().getParameters().get('_CONFIRMATIONTOKEN')