Developer forum

Forum » Development » Access DwTemplateTags via API?

Access DwTemplateTags via API?

Dmitrij Jazel
Reply

Hi guys,

I was thinking if I could access some of the global DW tags through API?

Was looking at Dynamicweb.Rendering namespace but could not find the right method :-(

 

 

 


Replies

 
Mikkel Ricky
Reply

What tags do you need?

Are you using Razor? If so you can get anything using the API. The @Pageview object is a good place to start (see http://developer.dynamicweb-cms.com/api8/#Dynamicweb~Dynamicweb.Frontend.PageView_members.html).

 

 
Dmitrij Jazel
Reply

Hej Mikkel,

Ahh sorry, I should have been more descriptive. By saying DW tags I meant all DwTemplateTags available. I need some info from Global tags. Just was wondering if there is an easy way to read those.

I am not using Razor.

I will take a look at the link you wrote :)

 

 

 

 

You must be logged in to post in the forum