Timeline for Error in accessing Office 365 Developer site's URL in SharePoint App [JSOM]
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 18, 2014 at 6:31 | vote | accept | Thomas Mathew | ||
Nov 18, 2014 at 6:30 | answer | added | Garima | timeline score: 4 | |
Nov 18, 2014 at 6:30 | comment | added | Garima | Sure.. It didn't require permission for current user as you (i.e. current user) are running the app and just fetching your details which dont need any special permission. But if you query user profile (using PeopleManager) then you'll need to give it read access | |
Nov 18, 2014 at 6:23 | comment | added | Thomas Mathew | @Garima Thanks. That did the trick. Can you please reply it as answer so that i can mark it correct. I changed the permission from "Site Collection" to "Web". Although, VS is still displaying the error after deployment. One thing i didn't understand is that y didn't it require this permission for context.get_web().get_currentUser().get_title(); | |
Nov 18, 2014 at 6:10 | comment | added | Garima | Try giving "Web", "read" access in AppManifest.xml file | |
Nov 18, 2014 at 5:25 | history | asked | Thomas Mathew | CC BY-SA 3.0 |