コミュニティアチーブメントバーを展開する。

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

s.getPreviousValue(s.pageName,'gpv_pn') returning the current pagename

Avatar

Level 1

Hi,

Iam trying to fetch the previous page name and iam using s.getPreviousValue(s.pageName,'gpv_pn') function under the s.doPlugins section.

I noticed(while debugging in browser console) that the function is being called twice.

Iam using console.log to display the previous page name in the browser console.

It displays the correct previous page at first in the console and immediately overwrites it with the current page name.

Could someone help me figure out why that is happening and how i can get this fixed?

Thanks in advance

0 返信