mardi 16 décembre 2014

How to obtain User Field Properties in Lookup List via Rest Api



I have a List (Topics) which has a MultiLookupField to a List named (Speakers)


Speakers has a User Field (UserName).


What I'm trying to do is to read some of the User Fields Properties. Which works when I'm querying the List with the User Field directly:



_api/web/getbytitle('Speaker')/items(1)?$select=UserName/Id&$expand=UserName


However I'm not able to get the User Field through the Topics list:


These are my desperate attempts which are all not working:



_api/web/lists/getbytitle('Topics')/items(1)?$select=Speakers/ID,Speakers/UserName&$expand=Speakers

_api/web/lists/getbytitle('Topics')/items(1)?$select=Speakers/ID,Speakers/UserNameId&$expand=Speakers

_api/web/lists/getbytitle('Topics')/items(1)?$select=Speakers/ID,Speakers/UserName/Id&$expand=Speakers,Speakers/UserName/Id







0 commentaires:

Enregistrer un commentaire