Removing UI elements from MentalRaySubmission plugin

Hi,

This is probably a noobish question but I’m new to Deadline, so please be gentle. :blush:

Right now we’re wanting to eliminate some UI elements from the MentalRaySubmission plugin. We’ve found we never use the fields such as Comment, Department and a few others.

I was planning on simply commenting out some of the scriptDialog.AddControl( ) lines, that way we can always add in the UI element again if down the track we need to use it again.

However I’m concerned when the job info file is created namely the line;

writer.WriteLine( "Comment=%s" % scriptDialog.GetValue( "CommentBox" ) )

Now that “CommentBox” wont exist, would it be fine to change the line to;

writer.WriteLine( "Comment=%s" % scriptDialog.GetValue( "" ) )

Again I don’t wan’t to totally remove the line from the job info, just incase we need to start using it down the track.

Actually, you can just comment out the “writeline” line like you did for the “addcontrol” line. Settings like Comment and Department are optional, so if they aren’t included in the job info file, they will default to being blank.

Cheers,

  • Ryan