My upgrade route from 4.x has led me to this point as well :(
I can confirm my macros are being stored in the DB without the macroAlias attribute first in line. Furthermore I cannot seem to even manually change this in the db/cache. Seems to always get overwritten somehow back to the old way. I am sure I am missing something simple, it's late. I would love a way to mass update these. I currently have hundreds of instances of macros that need fixing.
He is a solution(Macros work now but it is not displaying parameters when we edit existing macros. New macros do not have any problems before/after)
1, You need to modify the dataNtext in [dbo].[cmsPropertyData]. Changes will reflect only if you republish.
Note: Kindly do this at your own risk. You need to create a script to find and replace the macros after reordering the attributes. Also note i came across two types of macros.cmsContentXml table is a cache table and will be refreshed once you publish/republish.
That table was it! Apparently I was trying every other table *but* that one. Thanks for the pointer. Now to script this monster out. Should be....interesting. Thanks again for that pointer!
Macro in RTE issues after Umbraco upgrade to 7.2.1
After upgrade to 7.2.1 from 6.1.1 macros inside RTE are not working if the macroAlias is not the first attribute.
The issue is discussed in the below topic.
https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/47746-All-macros-in-rich-editor-disappeared-after-upgrading-from-610!!
Is there a way to upgrade a large number of macros which do not have macroAlias as the first attribute.
My upgrade route from 4.x has led me to this point as well :(
I can confirm my macros are being stored in the DB without the macroAlias attribute first in line. Furthermore I cannot seem to even manually change this in the db/cache. Seems to always get overwritten somehow back to the old way. I am sure I am missing something simple, it's late. I would love a way to mass update these. I currently have hundreds of instances of macros that need fixing.
He is a solution(Macros work now but it is not displaying parameters when we edit existing macros. New macros do not have any problems before/after)
1, You need to modify the dataNtext in [dbo].[cmsPropertyData]. Changes will reflect only if you republish.
Note: Kindly do this at your own risk. You need to create a script to find and replace the macros after reordering the attributes. Also note i came across two types of macros.cmsContentXml table is a cache table and will be refreshed once you publish/republish.
<!--?UMBRACO_MACRO
<?UMBRACO_MACRO
That table was it! Apparently I was trying every other table *but* that one. Thanks for the pointer. Now to script this monster out. Should be....interesting. Thanks again for that pointer!
is working on a reply...