+ Start a Discussion

call S-Control after RecordType selection

Is there a way to customize the behavior of the "create" button after chosing the record type of an object?
For Example:
I need to create an S-control (like wizard) that create an opportunity but this will be called after than the user choose the record type.
Is this possibile?
If no, is there a way to get only the record type (for opportunity) available for a specific user (profile)?
Thanks for your support

I dont think the first option is possible, however you can query the available record types for a user:

Select Id, IsActive, Name from RecordType where SobjectType = 'Opportunity'

This should give you list of available record types for opportunity object.

Message Edited by Capricorn on 10-01-2007 06:33 AM

ok, thanks
I know that I can extract from  RecordType Object the list of active RecordType, but if I want know which of them are available for a specific Profile?
Any Idea?

Message Edited by AlbertoKite on 10-10-2007 02:42 AM

Message Edited by AlbertoKite on 10-10-2007 02:43 AM