function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Devendra SawantDevendra Sawant 

Create New Role

 

Hi,

 

Is it possible to implement "Create New Role functionality" using visualforce and apex?

 

If yes, then how to do it??

 

Cheers,

Devendra S

Ankit AroraAnkit Arora

Here we go :

 

http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_role.htm

 

This is the object schema, you can use it to create new role.

 

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page

Devendra SawantDevendra Sawant

 

Hi,

 

I dont have much experience of using object schema.

 

Do you have code samples for creating role using apex and vf page?

 

It would be helpful to write code.

 

Cheers,

Devendra S