Macro parameters or properties not showing up in macro window
I have created a new macro in the Developer section. My macro however when used in the content editor doesn't show my parameter / property but is blank as per the screenshot.
Would appreciate any help in problem solving this. Thanks in advance!
Can anyone please point me in the right direction on how to
Thanks for your quick reply. A few screenshots attached and also the log file attached. Thanks for that - first time ever I've consulted that. Also to be exact we're using Umbraco v6.1.6.
Macro points to View file.
Parameter is saved.
Parameter not showing up instead I get the blank macro box.
And then finally please see the log file output below which shows the following as below. Would appreciate your help with this. (NOTE: I'm editing my reply as the previous code log doesn't apply anymore.
2014-05-13 12:58:10,845 [13] INFO Umbraco.Core.PluginManager - [Thread 23] Starting resolution types of umbraco.interfaces.IDataType 2014-05-13 12:58:10,991 [13] INFO Umbraco.Core.PluginManager - [Thread 23] Completed resolution of types of umbraco.interfaces.IDataType, found 82 (took 145ms)
I've also cleaned my InsertImage.cshtml file to do nothing so as to prevent any of the code in that file from problem solving this: The code in this file hence looks like this:
@inherits Umbraco.Web.Macros.PartialViewMacroPage
@* Model = The current page the macro is executed on @Model.bodyText
Parameter = collection of parameter values passed from the macro @Paramter.myParam
Library = utillity library with common methods @Library.NodeById(1233) *@
Macro parameters or properties not showing up in macro window
I have created a new macro in the Developer section. My macro however when used in the content editor doesn't show my parameter / property but is blank as per the screenshot.
Would appreciate any help in problem solving this. Thanks in advance!
Can anyone please point me in the right direction on how to
Hi Amourie
What version of Umbraco are you using and have you double checked that your parameters has been saved on your macro in the developer section?
/Jan
Hi Jan. Thanks for your reply. Yes the parameters are saved. We are using Umbraco version 6.1.
I can’t see anything when I have my console open in my browser so not sure how to even start problem solving this. Looking forward to your reply.
Hi Amourie
Ok, do you see any "error" entries in the /app_data/logs file?
I'm thinking it may be a permission issue. But try having a peek at the trace log first and report it back here.
/Jan
Hi Jan
Thanks for your quick reply. A few screenshots attached and also the log file attached. Thanks for that - first time ever I've consulted that. Also to be exact we're using Umbraco v6.1.6.
Macro points to View file.
Parameter is saved.
Parameter not showing up instead I get the blank macro box.
And then finally please see the log file output below which shows the following as below. Would appreciate your help with this. (NOTE: I'm editing my reply as the previous code log doesn't apply anymore.
2014-05-13 12:58:10,845 [13] INFO Umbraco.Core.PluginManager - [Thread 23] Starting resolution types of umbraco.interfaces.IDataType
2014-05-13 12:58:10,991 [13] INFO Umbraco.Core.PluginManager - [Thread 23] Completed resolution of types of umbraco.interfaces.IDataType, found 82 (took 145ms)
I've also cleaned my InsertImage.cshtml file to do nothing so as to prevent any of the code in that file from problem solving this: The code in this file hence looks like this:
@inherits Umbraco.Web.Macros.PartialViewMacroPage
@*
Model = The current page the macro is executed on
@Model.bodyText
Parameter = collection of parameter values passed from the macro
@Paramter.myParam
Library = utillity library with common methods
@Library.NodeById(1233)
*@
Hi Amourie
That is indeed really odd - do you see any log entries containing an "ERROR" tag? The "INFO" is nothing to really worry about.
And the code in your files has nothing to do with the issue either.
Is this happening on your local environment or is it happening on your server? Has all permissions been setup properly?
/Jan
to complement Jan's post and to see what ERROR's are logged, you probably need to change settings in /Config/log4net.config to
<priorityvalue="Debug"/>
instead of
<priorityvalue="Info"/>
which is the default settings upon install.
--Dirk
is working on a reply...