Custom SharePoint app shows nothing -
i created sharepoint app using visual studio 2015 , added custom list within it. when deploy application through sharepoint hosted, deployment seems successful without errors when open it, shows page contains: "page title" , "hello [username]"
had experienced such problem..
to see custom list have make url http://'server url'/'app name'/lists/'list name'
or in app.js can add below mention code
var x = "'a href=" + _sppagecontextinfo.webabsoluteurl + "/lists/' list" + ""; $('#message').text('hello ' + user.get_title()); $('#message').append(x);
please replace single quotes brackets , actual value server url, app name, list name.
Comments
Post a Comment