Developer forum

Forum » CMS - Standard features » Repository Code without parameters Or Macro?

Repository Code without parameters Or Macro?

Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi,

 

I've been creating some Repository Custom Macros and Codes. Reading through the documenation it sounds obvious when to create a Macro vs Code, if nothing else, because Code may have properties and Macros cannot.

 

That being said, I was working through some updates and ended up removing all properties on a given Code and I started having issues saving it. Only after converting it to a Macro, was I able to successfully assign it in the Query.

 

Is this by design or a bug? Attached you can find the source code.

 

Best Regards,

Nuno Aguiar


Replies

 
Nicolai Pedersen
Reply

Local caching issue maybe....?

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

No that wasn't it.

 

I am not too worried about it, just wondering if there were some recommended approach of if it should just work. I've make it workd with a Macro and I am happy for now. Thank you.

 

You must be logged in to post in the forum