Collapsing file comments on workflow instantiation forms

Posted: 12 May 2009 in Data Capture Template, FormsPublisher, Teamsite, Worfklow models, Workflows

When you instantiate a workflow, forms can get quite big if you have attached a few files to the job. A workaround is to collapse the comment box to make it tinier.

var rootChildren = IWDatacapture.getRootItems()[0].getChildren();
for (var rc = 0; rc < rootChildren.length; rc++){
    var currentChild = rootChildren[rc];
    if (currentChild.getName().indexOf("File") == 8){
  1. James says:

    I recognise this code 🙂 Great blog Laurent!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s