The [b:01b4d87315]URLEncode[/b:01b4d87315] macro can be used with other ERM macros to encode the text string so that it is recognized as a URL. For instance, if in the example below, the value produced by the ResourceDisplay macro contains spaces (like Conference Room 1), it cannot be URL-encoded; spaces are not valid characters in a URL. The URLEncode macro function fixes this by placing URL-encoded characters where needed:
[color=blue:01b4d87315]SAMPLE MACRO VARIABLE USING URLEncode MACRO FUNCTION[/color:01b4d87315]
To schedule meetings with <%ResourceDisplay%> you must be in one of the following Distribution Lists: <%DLRestrictionList%>.
To request permission, please contact <mailto:<%ResourceContactEmail%>?Subject=<%URLEncode(ResourceDisplay)%>>
[color=blue:01b4d87315]RESULT IF MACRO VALUE IS NOT NULL[/color:01b4d87315]
To schedule meetings with Conference Room 1 you must be in one of the following Distribution Lists: Res1; Res2; Res3.
To request permission, please contact <mailto:ResourceContact@domain.com?Subject=Conference%20Room%201>