Posts

Showing posts from September, 2017

update the status of the record using XrmSvcToolkit request

function setState() { //Set the stage to send enquiry letter XrmSvcToolkit.setState({ id: Xrm.Page.data.entity.getId(), entityName: "lead", stateCode: 0, statusCode: 1, //New async: false, }); //Save and Reload form Xrm.Page.data.refresh(true).then(null, null); }

more than 5000 records retrieving using Web Api request in html page

<!DOCTYPE html> <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head>     <meta charset="utf-8" />     <title>Pre cost Editor</title>     <script src="../../ClientGlobalContext.js.aspx" type="text/javascript"></script>     <script src="../../apyexp_scripts/jquery1.5.1.js" type="text/javascript"></script>     <script src="../../apyexp_scripts/jquery1.4.4.min.js" type="text/javascript"></script>     <script src="../../apyexp_scripts/json2.js" type="text/javascript"></script>     <script src="../../apyexp_/Script/XrmSvcToolkit.js" type="text/javascript"></script>     <script src="../../apyexp_scripts/SDK.MetaData.js" type="text/javascript"></script>      <script src="../../apyexp_/Script/Precosteditor.js" type=...