Quantcast
Channel: Forum CRM Deployment
Viewing all articles
Browse latest Browse all 997

crm 2013 create request using soap in javascript

$
0
0

Hi,

We are in the process of upgrading our CRM 4.0 environment to CRM 2013. We are converting out javascript code right now. We have one code available which is creating new opportunityproduct record. We are doing this using soap request in CRM 4.0.

So I have updated xml with CRM 2013 endpoints and done required changes as per following. Still its giving me error "Required member 'LogicalName' missing for field 'Target'".

<soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>

<soap:Body>

<Create xmlns='http://schemas.microsoft.com/xrm/2011/Contracts/Services'>

<CreateDuplicatesOptionalParameter>

  <value>false</value>  

</CreateDuplicatesOptionalParameter>

<PersistInSyncOptionalParameter> 

<value>false</value>  

</PersistInSyncOptionalParameter>

<entity type='opportunityproduct' > 

--All Attributes

 </entity>

  </Create>

  </soap:Body>

  </soap:Envelope>";


Viewing all articles
Browse latest Browse all 997

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>