anchor.diff:  	int partType = ParamUtil.getInteger(request, DossierFileDisplayTerms.PART_TYPE);
   	
   	String groupName = ParamUtil.getString(request, DossierFileDisplayTerms.GROUP_NAME);
  +	
  +	long processOrderId = ParamUtil.getLong(request, ProcessOrderDisplayTerms.PROCESS_ORDER_ID);
  +	
  +	try{
  +		if(dossierPartId > 0){
  +			dossierPart = DossierPartLocalServiceUtil.getDossierPart(dossierPartId);
  +		}
  +	}
  +	catch(Exception e){
   		
  +	}
   %>
   
   <c:if test="<%=true %>">
  
positive.code: <%@page import="javax.portlet.WindowState"%>
  <%@page import="javax.portlet.PortletRequest"%>
  <%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%>
  <%@page import="com.liferay.portlet.PortletURLFactoryUtil"%>
  <%
  /**
   * OpenCPS is the open source Core Public Services software
  
negative.code: 				
  				<c:when test="<%=partType == PortletConstants.DOSSIER_PART_TYPE_RESULT %>">
  					<td width="40%" align="right">
  						<%-- <aui:a 
  							id="<%=String.valueOf(dossierPartId) %>"
  							process-order="<%=String.valueOf(processOrderId) %>"
  							dossier-file="<%=String.valueOf(dossierFileId) %>"
  							dossier-part="<%=String.valueOf(dossierPartId) %>"
  							href="javascript:void(0);" 
  							label="declaration-online" 
  							cssClass="opencps dossiermgt part-file-ctr declaration-online"
  							onClick='<%=renderResponse.getNamespace() + "declarationOnline(this)" %>'
  						/> --%>
  					</td>
  					
  					<td width="40%" align="right">
  						<aui:a 
  							id="<%=String.valueOf(dossierPartId) %>"
  							process-order="<%=String.valueOf(processOrderId) %>"
  							dossier-file="<%=String.valueOf(dossierFileId) %>"
  							dossier-part="<%=String.valueOf(dossierPartId) %>"
  							file-entry="<%=String.valueOf(fileEntryId) %>"
  							href="javascript:void(0);" 
  							label="upload-file" 
  							cssClass="opencps dossiermgt part-file-ctr upload-file" 
  