Quantcast
Channel: PTC Community : Unanswered Discussions - Windchill
Viewing all articles
Browse latest Browse all 3592

How to get primary attachment file in the CheckinObjectFormProcessor?

$
0
0

Hi!

I need to customize CheckinObjectFormProcessor. I need to get primary attached file that user insert in the checkin wizard. I've created my own CIObjectFormprocessor that extended OOTB CheckinObjectFormProcessor:

public class CIObjectFormProcessor extends CheckinObjectFormProcessor

{

  public FormResult doOperation(NmCommandBean paramNmCommandBean, List<ObjectBean> paramList) throws WTException

  {

     FormResult localFormResult = new FormResult();

     localFormResult.setStatus(FormProcessingStatus.SUCCESS);

   

      // Need there to get new primary attachment file

 

     localFormResult = super.doOperation(paramNmCommandBean, paramList);

     return localFormResult;

 

  }

}

 

localObjectBean.getParameterMap() can give me the Map with a lot of properties. But I can't to get the file I need. Please help.


Viewing all articles
Browse latest Browse all 3592

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>