phpSPO icon indicating copy to clipboard operation
phpSPO copied to clipboard

Get custom properties from documents

Open anykeysolutions opened this issue 4 years ago • 0 comments

I can list documents in a folder/list: $files = $list->getRootFolder()->getFiles()->expand('ListItemAllFields');

I can also get all custom properties: $properties = $file->getListItemAllFields();

The problem is, that some properties only content an ID referring to another list. Can I expand these properties and get the actual value from the list somehow by using select or expand in the first action?

anykeysolutions avatar Nov 20 '19 14:11 anykeysolutions