How do I read Macro properties from a custom DataType
I am trying to create a help system that lets the user content manage help text on UserControls/Macros.
The way I seen this working was:
On each user control I expose proerties that start with Help_
I create a macro and load the properties for the User Control
I create a custom DataType that loops through the Help_ properties from the macro and creates Labels and Textboxes to capture the input text for each property e.g.
For Help_FirstName I would create a label "First Name" and related textbox.
When the page is saved I would loop through the Help DataTypes and create a dictionary for key value pairs that gets saved to Umbraco.
What I am struggling with is how to read Macro properties from a page in the DataType can this be done and if so how? Is there a better way of going about the help system?
How do I read Macro properties from a custom DataType
I am trying to create a help system that lets the user content manage help text on UserControls/Macros.
The way I seen this working was:
For Help_FirstName I would create a label "First Name" and related textbox.
What I am struggling with is how to read Macro properties from a page in the DataType can this be done and if so how? Is there a better way of going about the help system?
is working on a reply...