Set the value of a dynamically chosen property with empty string
I have a requirement to set the value of a property to an empty string. The complex portion is that the property and page are determined during runtime.
I have found that I can use clipboard property.setvalue() or pega.setviapropref() and these work perfectly for "some text", but when I pass in an empty string, the property gets removed from the page instead of getting set to "".
Does anyone have suggestions for a workaround or an explanation what the parameters of pega.setviapropref are actually looking for?
When I view the generated Java code for a Property-set method I can see it uses the setviapropref to assign an empty string, but copying that implementation hasn't been working.