Developer forum

Forum » Ecommerce - Standard features » Publishing JSON

Publishing JSON

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

I set up a page similar to the JSON Content Publishing demo shown during the Tech Conference. All works fine, except for the performance comment at the bottom:

<!-- Exe time: 0.0880114 :   < >  <PageID (717)> 

Is there a way to get rid of that other than through Management Center | Solution Settings | Disable performance comment? It's nice to have it in there for regular pages as you can quickly tell which layout is used to render a specific page...

Thanks,

Imar

 


Replies

 
Nicolai Høeg Pedersen
Reply

If you set the content type to something, it should go away by it self...

Which version?

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

The latest (Version: 8.4.0.10). I set it to the predefined value of application/json but it doesn't go away unless I check that checkbox in the Management Center.

 

Imar

 
Nicolai Høeg Pedersen
Reply

Just checked. My solution have the same checkbox set... So it is a bug, it should not be printed when content type is set.

Registered as bug TFS#14546 and fixed on the 8.4 branch.

 

You must be logged in to post in the forum