Adding Custom columns to Monitor Deadline 6.0

I found a thread that asked this very question but it was from 2 years ago and I couldn’t translate the info to 6.0. Basically I’ve added 2 custom boxes to the Modo submit window (Show Name & Show Phase). I’d like to add those columns to the Monitor display but I’m unsure where that code lives.

Thanks!

Bumping, hoping to catch one of the devs attention.

Hey James,

We don’t have a way of adding columns to the Deadline Monitor – that’s all compiled code. The only thing we have exposed for anything like this is the ExtraInfo0-9 properties of Jobs, which we already have columns for in the Monitor and are intended for use in this kind of situation. If your Show Name/Show Phase stored their info in those properties, they would show up in the Monitor. You can also rename the ExtraInfo0-9 columns through the Repository Options (Under ‘Job Settings’ -> ‘Extra Properties’).

Hope this helps!

  • Jon

Hi Jon, thanks for the response.

Yes, I got to that point where I figured out that I could name the ExtraInfo attributes to whatever name I wanted. My stumbling block now has been how to get my information from the Job file into those attributes so that they show up in the Monitor. I was able to add extra boxes to the modo submission dialog window. I know how to get information into the submission window, but I can’t get it to show up in the Monitor.

Ah, I see. In that case, you should just need to set the ExtraInfo fields when the submitter creates the Job File (see: thinkboxsoftware.com/deadlin … fo_Options).

Basically, you’ll have to add a few lines to this section of code:

# Create job info file.
jobInfoFilename = Path.Combine( GetDeadlineTempPath(), "modo_job_info.job" )
writer = StreamWriter( jobInfoFilename, False, Encoding.Unicode )
writer.WriteLine( "Plugin=Modo" )
writer.WriteLine( "Name=%s" % jobName )
writer.WriteLine( "Comment=%s" % scriptDialog.GetValue( "CommentBox" ) )
writer.WriteLine( "Department=%s" % scriptDialog.GetValue( "DepartmentBox" ) )
[...]

Your lines would look something like this (I’m assuming your controls are named ‘ShowNameBox’ and ‘ShowPhaseBox’):

writer.WriteLine( "ExtraInfo0=%s" % scriptDialog.GetValue( "ShowNameBox" ) )
writer.WriteLine( "ExtraInfo1=%s" % scriptDialog.GetValue( "ShowPhaseBox" ) )

I should also mention that our Shotgun integration actually makes use of ExtraInfo0 through ExtraInfo5, so if you’re using Shotgun at all, you might want to start at ExtraInfo6 instead of 0 to avoid conflicts. Let me know if this all makes sense to you!

Cheers,

  • Jon

Again, awesome! And thanks for the heads up about Shotgun. We are looking into that so I’ll do as you suggested. I’ll give this a go and let you know if I have any issues.

Thanks!

Worked like a charm. You guys rock!