Create Advanced Fetch in 10 Seconds using javascript


One simple way of creating fetch fast is to use advanced find and render that fetch in javascript.

Open advanced find and reopen window by pressing CTRL-N


Create your query…dont forget to build your query in full-window not framed as in screen shoot

Replace your URL with one of below javascript calls

style='font-size:10.0pt;font-family:"Courier New";mso-ansi-language:EN-US;
mso-no-proof:yes'>      
javascript:alert(resultRender.FetchXml.value);

style='font-size:10.0pt;font-family:"Courier New";mso-ansi-language:EN-US;
mso-no-proof:yes'>
javascript:document.writeln(resultRender.FetchXml.value); style='mso-spacerun:yes'>

Now view source for fetch command

Copy and past and insert in your callouts or what ever your building


The result when prompting (alert) advanced find query

Comments (0)