Author Topic

Alessandro Cipriani

Monday 19 July 2004 3:47:33 am

Comment41152

hi paul

i need to get all the attribute values from the workflow, because in a second moment i got to send the same data via socket. so i need to retrieve all here.

following the instruction from your previous reply i wrote:

// Set the title 
$contentObjectAttributes =& $currentVersion->contentObjectAttributes(); 

$xx="";
foreach ($contentObjectAttributes as $attribute) 
{
	 // Each attribute has an attribute called 'identifier' that identifies it. 
	$xx= $xx ." - ". $attribute->attribute("contentclass_attribute_identifier") ;
}

then i set the mail body to $xx
in this way i received an email with all the attribute names
how can now i retrieve the attribute values?
is there an attribute like 'contentclass_attribute_identifier' able to display the value?

best regards
alessandro