I am using SP.Web.getFileByServerRelativeUrl(fileurl) function of sp.js library. My site hierarchy is like this Host Web App1 Web DocumentLibrary1 App2 Web wher App1 Web
Solution 1:
Put /sites//DocumentLibrary1/myfile.xml as getFileByServerRelativeUrl parameter takes
relative url with respect to server url.
for eg: "http:///sites/sitename/list/folder"
give "sites/sitename/list/folder" in server relative url.
Share
Post a Comment
for "Sp.web.getfilebyserverrelativeurl(fileurl) Not Working"
Post a Comment for "Sp.web.getfilebyserverrelativeurl(fileurl) Not Working"