This project is read-only.

Wrong owner of created record

Jan 25, 2012 at 11:25 AM


I am working with the first example from 'Writing CRUD Operations' page. Even I set user credentials in a config file the created records are under ownership of the current user. How to achieve that the records will be owned by the user which I set in the config file?



Mar 5, 2012 at 8:21 PM

Hi Yury,

Sorry for the late response, I was not notified of the question and just came across it.  The user set in the config file is primarily used for authentication to CRM.  Can you tell me which user the owner is being set to and is it the same owner every time?  If you are trying to set the owner during creates, please create the record and then perform an AssignRequest as documented -