Allow a user to choose to display a macro

Hi again

I have created several sections of a site as Macros which I want the user to be able to choose which one they would like to use on certain pages.

I have added a True/False property and attempted to wrap the macro(s) in a If = 1 (or True etc) then display logic

eg

@if (item.GetPropertyValue("displayServices") == "True")
{
@Umbraco.RenderMacro("Services")
}

If I add the @Umbraco.RenderMacro(“Services”) direct into the page then it works fine but how can i let the user decide if they want to display it or not?

Is it even possible to do this way?

Thanks

Ben


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/74534-allow-a-user-to-choose-to-display-a-macro