Advertisement
easternnl

CRM 2016 edit date/time field from TruClient with Javascript

Jul 29th, 2016
581
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // within LoadRunner TruClient
  2. datum = new Date();
  3. // access the iFrame from the top document
  4. document.getElementById("contentIFrame0").contentWindow.Xrm.Page.getAttribute("scheduledend").setValue(new Date());
  5. document.getElementById("contentIFrame0").contentWindow.Xrm.Page.getAttribute("scheduledstart").setValue(new Date());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement