Hi there..
New to this .. Got a connection to economic - but need a list of projects with their handles (to do a dropdown)
Tried
$projectHandles = $client->ProjectGroup_GetAll();
$projectDataObjects = $client->Project_GetDataArray(array('entityHandles' => $projectHandles))->Project_GetData();
And got an error
Call to undefined method stdClass::Project_GetData() in
anyone ?
/Lars
Edit:
The "play around till it works" - seems to bring results..
$projectHandles = $client->Project_GetAll()->Project_GetAllResult->ProjectHandle;
$projectDataObjects = $client->Project_GetDataArray(array('entityHandles' => $projectHandles))->Project_GetDataArrayResult->ProjectData;
seems to do the trick..