Developer forum

Forum » Development » Custom Global Tags in DW8

Custom Global Tags in DW8

Diogo Lino
Reply

Hello,

 

I'm migrating from Dw 7 (19.2.8.3) to Dw 8 (8.1.1.7) and I have a NotificationSubscriber of Standard.Page.OnGlobalTags similar to this example: http://developer.dynamicweb-cms.com/forum/development/create-custom-global-tags.aspx#Reply28555

 

Now on DW8 I'm getting an error and seems like is while acessing the PageviewNotificationArgs variable, when I try to do:

- pna.Template.SetTag(.....)
- pna.Pageview.Area.Values[......]

 

The error are in attachments. It catches MissingMethodException and MissingFieldException.

 

Thanks,

Diogo

FrontendPageViewArea.PNG TemplateSetTag.PNG

Replies

 
Diogo Lino
Reply

Hello,

 

Has anybody the same problem, or any solution?
 

Thanks,

Diogo

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi Diogo,

Sounds like your run-time version of Dynamicweb is different from the one you compiled your code against. Make sure both versions are the same; then recompile the project (against the proper version of Dynamicweb). That should either make the error go away (when the version you compiled against was newer and you used a method that didn't exist earlier) or give you a compile error that you then need to fix (if you were using an old method that has now been removed from the code base).

Please post your problematic code along with a description of your setup / version of Dynamicweb if you keep having problems.

Imar

 

You must be logged in to post in the forum