1

we have a requirement to get the contents of the display form url

how do we achieve it ?

additional info: The form is customized using hilly billy

Things which we have tried

$.get("**listurl**/DispForm.aspx?ID=100", function(data) {
  var foo = jQuery("<div></div>").html(data).find(".viewrapper").html();
  jQuery(".viewrapper").append(foo);
  console.log(foo);
});

This would just show up the hillbilly html layout with no content in it

2
  • 1
    If you want to get a value of one or more fields, you shuold rather use rest api. Commented Jun 24, 2019 at 6:15
  • Could you please elaborate? If you need to display that DispForm in popup for example, you may add ?IsDlg=1in URL Commented Jun 24, 2019 at 13:29

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.