3

I am attempting to create a new SalesForce Profile object through their API. The doc shows that the Profile object does have a create() method, but when I attempt to create a new Profile object I receive an error stating, “entity type cannot be inserted: Profile”. I have run a describeSObjects(new string[]{"Profile"}); and I have found the DescribeSObjectResult has a creatable = False. Is there a way to use the API to create new Profile objects or am I stuck using the SalesForce.com Administration Setup UI?

1 Answer 1

1

You can't create new profiles via the enterprise/partner APIs, just update existing ones, but i believe you can create new profiles via the metadata API.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.