Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Unable to customize highlighted values in Strategic Planning Workspace

Kyle Peterson
Tera Contributor

Hi,

 

I'm working through a training course on setting up and customizing the Strategic Planning Workspace - and one of the steps is to modify the highlighted field colors on a new column of your choice. I'm trying to follow the instructions that can be seen in this documentation.

 

However, this file has a protection policy on it and is read only. I have looked into extending the script include and overwriting the method - but I don't know where I can point SPW to my new customized version. Does anyone have any advice on how this can be done?

 

Just for reference, I have already added the Highlighted Field Conditions as per the documentation as well. This is what my attempt at extending the script include looks like:

var APWBacklogConfig = Class.create();
APWBacklogConfig.prototype = Object.extendsObject(APWBacklogConfigImpl, {
    initialize: function(table) {
        APWBacklogConfigImpl.prototype.initialize.call(this, table);
    },

	getColumnsForHighlightedValues: function() {
        return ["planning_state", "status", "moscow", "priority"];
    }
});
2 REPLIES 2

Community Alums
Not applicable

Hi @Kyle Peterson ,

Unfortunately you cannot modify/update the Values as it's protected.

 

Kyle Peterson
Tera Contributor

Yes I can see that it is protected, that is why I am looking for a workaround. Their documentation needs to be updated if this is now a protected file. They do provide an extension file to add methods to, but that would require the workspace to pull from the extension script include first.