sharepoint get the display form with content using jquery get functionality
-
07-02-2021 - |
Question
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
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange