A get_folder_by_project message returns a list of folders that will be displayed as roots of the Workplace tree. No other information needs to be passed to the service.
User information is provided in the <message_header>; roles will be provided by the Project Management (PM) cell.
The get_folder_by_project message is sent by the workplace view to populate the root nodes of all users in a project. This feature is accessible by users with the role of MANAGER.
The sequence of events is as follows (assumes max is not an issue)
Request type = core
<message_body>
<work:get_folders_by_project type="core"/>
</message_body>
Value |
Description |
core |
Return all data except system / date information |
Response Message:
<folders>
<folder>
<name>LCP</name>
<index>\\asthma\1</index>
<parentIndex/>
<visualAttributes>CA</visualAttributes>
<tooltip>\LCP</tooltip>
<groupId>Asthma</groupId>
<shareId/>
<statusCd/>
<userId>lcp</userId>
<workXml/>
<workXmlSchema/>
<workXmlI2B2Type/>
</folder>
<folder>
<name>MEM</name>
<index>\\asthma\10</index>
<parentIndex/>
<visualAttributes>CA</visualAttributes>
<tooltip>\MEM</tooltip>
<groupId>Asthma</groupId>
<shareId/>
<statusCd/>
<userId>mem</userId>
<workXml/>
<workXmlSchema/>
<workXmlI2B2Type/>
</folder>
</folders>