Click here to Skip to main content
15,891,873 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello, I'm creating an app which has a list with default columns Title. Plus a column I added called Employee, Company. The idea is to be able to retrieve/display and add items from this list using AngularJS and the REST endpoints. However I am having problems trying to get the Employee, Company columns. This is how the URL looks like:
JavaScript
url: appWebUrl + "/_api/SP.AppContextSite(@TargetSite)/web/lists/getByTitle('InfoList')/items?$Select=Title,Employee,Company&@TargetSite='" + targetSiteUrl + "'",
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900