APM-DHCP Access Policy Example and Detailed Instructions
and , I have figured out why your attempts to set session.dhcp.client_IP to '' (two single quotes) did not work as expected.
In the Visual Policy Editor, when you edited the value of session.dhcp.client_ID in the Variable Assign Item, you must have left the value-type as "Custom Expression" instead of "Text". Since a pair of single-quotes, standing alone, is not a valid "Custom Expression" that value was essentially discarded.
When I read your notes I forgot about the difference between "Custom Expression" and "Text". Sorry about that!
It appears that the default value-type is "Custom Expression" now. I have not checked, but I think the default might have been "Text" in old versions of APM. Anyway, I have updated the documentation to clarify this point in the next version v4b of the APM-DHCP solution.
To set the value of an APM-DHCP custom parameter to '' (two single quotes) select the value-type "Text" or if you leave the value-type as "Custom Expression" then insert the following: return {''} (that is, the word "return" followed by one blank space then curly-braces enclosing two single-quotes, with no additional spaces).