Question

DSS removeEmptyPropertiesFromPage where it is referred

Team i would like to know where pega is referencing this DSS removeEmptyPropertiesFromPage and want to customise it to my ruleset. Can you please share ur thoughts.

Comments

Keep up to date on this post and subscribe to comments

March 22, 2019 - 8:35pm

The setting is referenced in java class ServiceMappingUtils, you cannot customize in rules layer. What exactly are you trying to accomplish here?

if (ServiceDeploymentUtils.getDynamicSystemSetting("xml/removeEmptyPropertiesFromPage", false)) {
   oLog.debug("Removing empty properties from source page before generating XML stream");
   removeEmptyPropertiesFromPage(refPage);
}

March 23, 2019 - 5:39am

I want to create this DSS in my own ruleset so that this DSS will remove empty properties only from services in that ruleset and not for all services in my application

March 23, 2019 - 8:59am

I see, I don't think that is possible with the current implementation. You brought up a good concept in terms of the scope of DSS. Potential enhancement request.