GET_FOLDER_FIELDS command

Content Manager OnDemand returns a list of the folder fields for the active folder.

Command Parameters
GET_FOLDER_FIELDS None
Parameters
None
Action
None
Return Code
0
ARS_DDE_RC_NO_ERROR
8
ARS_DDE_RC_FOLDER_NOT_OPEN
11
ARS_DDE_RC_USER_ACTION_IN_PROGRESS
Return Data
The list is a null-terminated character string with the tab character separating each field name.
Refer to the DoDdeCommand function.
 char
data[1000], fields[10][100], * pToken;
 int j;

 if ( DoDdeCommand( "GET_FOLDER_FIELDS", "", data ) )
 {
   for ( pToken = strtok( data, "\t" ), j = 0;
         pToken != NULL &&;amp; j < 10;
         pToken = strtok( NULL, "\t" ), j++ )
   {
     strcpy( fields[j], pToken );
   }
 }