Answer
Use the following code:
cProcessor.setRenderInfo('contractExternalRef','hide',true)