Developer forum

Forum » Development » DWAPI Paragraph issue (dwapi/content/paragraph?pageId=xxxx)

DWAPI Paragraph issue (dwapi/content/paragraph?pageId=xxxx)

Barry Geukdjian
Reply

We have a paragraph that contains a Swift_ProductComponentSlider with a single group.  When updating the product information within this group, the dwapi/content/paragraph is still returning the stale/cached product information from within this group (i.e. if we change a custom field value, it won't show immediately).

The stale information is only when using the paragraph call from DWAPI - the product details is always correct.

If the paragraph is saved in Content menu, the DWAPI/content/paragraph call returns the latest version.

 

 


Replies

 
Barry Geukdjian
Reply

Anyone?

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi Barry

The Viewmodel instances are cached with the item it self - it can be related to that and we have fixed an issue of this lately. But which version are you on?

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi Barry

The Viewmodel instances are cached with the item it self - it can be related to that and we have fixed an issue of this lately. But which version are you on?

 
Barry Geukdjian
Reply

Hi Nicolai,

Application 9.17.2 and Swift 1.26.0 (superhome.swiftstaging.dynamicweb-cms.com).

Regards,
Barry

 

You must be logged in to post in the forum