You need to sign in to do that
Don't have an account?
kmorf_entransform
creating new project
hi im new to salesforce. I was wondering how i could create a new project object using a custom visualforce page.
How do i get the UserName, LastName, Email, Alias, CommunityNickName, TimeZoneSidKey, LocalSidKey, EmailEncodingKey, profileId, LanguageLocalKey in order to insert the new record
If you are using inputField like as used in my example above then you don't need to do anything. When you add a value in picklist it automatically be displayed on visualforce page.
Thanks
Ankit Arora
Blog | Facebook | Blog Page
All Answers
Am bit not clear with the requirement. When you say you need to insert Alias , CommunityNickName etc you mean you want to insert an user via visualforce page.
Or you have an object "Project" and want to insert a record of it via visualforce page?
Thanks
Ankit Arora
Blog | Facebook | Blog Page
I have an object "Project" and want to insert it via visualforce.
Just to keep it simple I have used standardcontroller on it.
Here is the code :
Just replace the object API name with Project__c in code.
Thanks
Ankit Arora
Blog | Facebook | Blog Page
what if u wanted to dynamically change a picklist value of the Project__c object. for example, Project__c has a field called status and status is a picklist. status has three values, say, completed, in progress, stopped. what if someone wants to add another value "terminated".
If you are using inputField like as used in my example above then you don't need to do anything. When you add a value in picklist it automatically be displayed on visualforce page.
Thanks
Ankit Arora
Blog | Facebook | Blog Page
i got it. Thanks. that was way easier than i thought it would be