xTuple.com xTupleU Blog & News Customer Support

How to remove the "Marketing Campaign" edit feature

Within Xtuple 5.0 some of the CRM widgets have a hardwired “Marketing Campaing” selection box included by default. It is a part of the parameters feature on those pages. However the “minus” button does not remove it. Has anyone developed any script code I can run on those widgets that will let me make those features be not visible?


The following code will remove the Campaign parameter. You will need to apply it to each screen individually. Please also check that the metaSQL does not expect this parameter (shouldn’t).

var p = mywindow.parameterWidget();
p.removeParam(“Marketing Campaign”);

The parameter was implemented for a reason which may or may not still be relevant moving forward, so this parameter may be reversed out in future releases.

Thank you very much. That info is a time saver in our environment.