HCL Commerce Enterprise

Workspace parameters in BOD business context

Context data parameters have been provided to represent workspace, taskgroup and task. Additional context parameters permit the client to specify these additional context values on the service request. Similar to locale and storeId, clients of a service can indicate these additional authoring context variables in the request.

Context name Description
workspace.name The identifier of the workspace which is the workspace of the content context.
workspace.taskGroup The identifier of the task group which is the task group found in the task context.
workspace.task The identifier of the task that is found as the task in the task context.
A request including these context values is shown in the following example:
<_cat:GetCatalogEntry xmlns:_cat="http://www.ibm.com/xmlns/prod/commerce/9/catalog" xmlns:_wcf="http://www.ibm.com/xmlns/prod/commerce/9/foundation" xmlns:oa="http://www.openapplications.org/oagis/9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <oa:ApplicationArea xsi:type="_wcf:ApplicationAreaType">
    <oa:CreationDateTime>2007-01-25T16:44:16.004Z</oa:CreationDateTime>
    <oa:BODID>341d6660-acbd-11db-a3a8-832d45b924b0</oa:BODID>
    <_wcf:BusinessContext intent="Authoring">
      <_wcf:ContextData name="storeId">511</_wcf:ContextData>
      <_wcf:ContextData name="workspace.name">W_10001</_wcf:ContextData>
      <_wcf:ContextData name="workspace.taskGroup">TG_10001</_wcf:ContextData>
      <_wcf:ContextData name="workspace.task">T_10001</_wcf:ContextData>
    </_wcf:BusinessContext>
  </oa:ApplicationArea>
  <_cat:DataArea>
    <oa:Get>
      <oa:Expression expressionLanguage="wcf:XPath">{wcf.ap=IBM_Admin_Details}/CatalogEntry[CatalogEntryIdentifier[UniqueID='51100000117']]</oa:Expression>
    </oa:Get>
  </_cat:DataArea>
</_cat:GetCatalogEntry>
Note: The intent attribute for the <_wcf:BusinessContext> element provides the Business Context Service with the intent of the request. "Authoring" is used to indicate that the request is to be used in the authoring environment, rather than the storefront.