Sitecore Forms: Object moved to here

Hi Folks,

We were working on an upgrade project from Sitecore 9.0.1 to 10.3. After the upgrade, we verified the upgraded website, while testing the page that has Sitecore Form we noticed that when we filled in the information and clicked on submit button, it gave an “object moved to here” error pop-up. When we published the form and issue did not appear for the first time but after the first time when we tried to fill the form again and clicked the form submit button, we got the above-mentioned error again. And we were using the “Redirect to Page” OOTB submit action. We decided to dig into this issue.

After spending some time we noticed that it was related to parent rendering caching that has a placeholder to hold the form.

This is how we set the form –

Form rendering with parent rendering –

Caching on parent rendering –

Solution – So after removing caching from Parent rendering, this object moved to here error is resolved.

Reason – So what caused the issue, we can find below –

Sitecore Forms utilizes the ‘__RequestVerificationToken’ for security purposes. As you may know, the ‘__RequestVerificationToken’ in ASP.NET is a mechanism designed to prevent possible CSRF attacks. It’s crucial to note that caching the ‘__RequestVerificationToken’ can lead to undesired behavior, as outlined in the article: https://stackoverflow.com/questions/17805103/asp-net-mvc-antiforgerytoken-and-caching.ย 

When the rendering containing the Sitecore Forms item is marked for caching, it includes caching the value of the ‘__RequestVerificationToken’. Thereafter, during subsequent form operations, the outdated ‘__RequestVerificationToken’ value may be used. This leads to the behavior we have faced.

Therefore, the renderings that are used for the Sitecore Forms should not be marked as Cacheable. Additionally, keep in mind that caching options are nested, so if the parent rendering is marked as cacheable, caching is also applied to child renderings.ย 

Hope this helps.

Happy Sitecoring ๐Ÿ™‚

Sitecore Events Next Week

Hi Folks,

Hope everyone is doing good. I am excited to attend Sitecore events next week here in Minneapolis. Sitecore is organizing 3 events next week including #SitecoreMVP Summit, #SitecoreDX, and #SUGCONNA. If you are attending these events, I would like to say hello to you in person ๐Ÿ™‚

If you want to listen more about what you can expect in these events then listen to this #thesitecorewatercooler

Sitecore is also providing some cerification for #XMCloud and #SitecoreConnect in #SUGCON event, you can check here – https://na.sugcon.events/Training

SitecoreDX – https://www.sitecore.com/dx-events/minneapolis

SUGCONNA – https://na.sugcon.events/Agenda

SitecoreMVP – https://mvp.sitecore.com

I am going to talk about these events a little bit here –

SitecoreMVP

Sitecore used to have a SitecoreMVP event every year and invite MVPs to attend this event.

This is the first time I will be attending this event in person (although I have been MVP 4 times :)), so this makes it more special for me. I am very excited to attend the Sitecore MVP event this year.

Becoming an MVP is a great achievement and attending this event gives us the opportunity to connect with fellow Sitecore MVPs, and learn from experts, whom we know virtually but now get to know them very closely.

These kinds of events motivate us to become MVPs as these give us the opportunity to gather all MVPs from all over the world in a single place, do the networking, get to know the future roadmap, and have lots of fun. There will be an interesting roadmap for XM Cloud, CDP, and Ordercloud means composable stuff.

I am very grateful to Sitecore and the organizers for hosting the event and recognizing my contribution as an MVP.

SitecoreDX

This year Sitecore does not have a #SitecoreSyposium event but they are having a #SitecoreDX event this year at different different locations.

Sitecoreโ€™s new DX 2023 global event series is circling the globe to connect with executive decision-makers, marketers, and practitioners so brands can realize a composable future.

This is my first DX event as well just like the MVP event, this event is going to be fun and there is so much to learn but I am more interested in some sessions. Like I am interested in the Session of Steve – stathis tzikakis our Sitecore CEO, who is going to talk about the Composable future which is a very hot topic these days.

I am interested in the session of our own Jonathon Price, who is presenting 2 times, he is presenting about the seamless integration of Sitecore XM, Personlize, and CDP for a Customer. He is going to talk about Sitecore Cosmosable products Personlize and CDP, and how we have implemented those successfully with greater ideas.

Then Sitecore CPO Dave O’Flanagan session about Composable DXP, where he is going to talk about the benefits of cloud-based SaaS solutions, and how you can achieve digital transformation goals using Composable.

There are some sessions about AI and chatGPT that are going to be interesting too as this is the Era of artificial intelligence. Noelle Russell who is the chief AI officer is presenting how artificial intelligence can be utilized every day to improve businesses and the world.

There will be some interesting sessions on the XM cloud journey too, like seamless migration with Sitecore XM cloud by Rob, I am looking forward to those as well.

SUGCONNA

Like every year Sitecore is hosting #SUGCON events in different cities, so next week it’s time for SUGCON North America. This is a community event, that brings the development community together and provides the perfect platform to gain knowledge and get inspired by the potential within Sitecore Experience Cloud, Experience Commerce, and more.

At this event, we are going to have many interesting topics. I am really looking forward to it.

Although there will be many sessions but I am more interested in some sessions like Keynote from Steve the Sitecore CEO.

There will be some sessions about XM Cloud, Sitecore Search, AI integration with Sitecore, and Sitecore Headless.

Like I am interested in Rob Earlam session on Implementing Sitecore Search where he is going to talk about how you can configure Sitecore Search and get benefits by using Sitecore Search by implementing it in your future projects.

There is a session on #ContentHubONE, I worked on Sitecore Content Hub but I want to know about Content Hub One, so in this session, we will get to know what is new in Content Hub One.

Then there is an event of my old friend Corey Smith about tips and tricks of Next JS and Sitecore Headless, where he is going to talk about some tips to implement Sitecore Headless with Next JS.

then the next day there is a session on Ordercloud and XM Cloud as both are composable topics so those are going to be good sessions.

Also, it is great a have some breaks in between the sessions so that we can visit some booths and do the networking.

Happy Sitecoring ๐Ÿ™‚

Sitecore MVP 2023 application

A list of my online Sitecore activities for my Sitecore MVP 2023 application.

Stack Exchange –

https://sitecore.stackexchange.com/questions/33416/debug-sxa-theme/33417#33417

https://sitecore.stackexchange.com/questions/33389/connecting-xconnect-from-third-party-tool/33390#33390

https://sitecore.stackexchange.com/questions/33376/does-sitecore-10-2-support-async-code/33377#33377

https://sitecore.stackexchange.com/questions/33289/exception-while-using-sitecore-fakedb/33290#33290

https://sitecore.stackexchange.com/questions/33266/code-generation-in-sitecore-10-2-apart-from-tds/33267#33267

https://sitecore.stackexchange.com/questions/33264/how-to-take-item-package-of-particular-time-period-using-sitecore-powershell/33265#33265

https://sitecore.stackexchange.com/questions/33254/disable-xdb-in-multisite-website/33255#33255

https://sitecore.stackexchange.com/questions/33241/how-to-fetch-items-that-have-not-completed-workflow-using-powershell-script/33242#33242

https://sitecore.stackexchange.com/questions/33239/how-to-architect-a-helix-solution-where-features-are-interdependent/33240#33240

https://sitecore.stackexchange.com/questions/33096/send-e-mail-notification-when-an-asset-is-submitted-for-approval/33097#33097

https://sitecore.stackexchange.com/questions/33073/how-to-enable-isrobotdetection-on-a-form/33075#33075

https://sitecore.stackexchange.com/questions/33057/sitecore-foundation-project-views-folder-is-not-getting-deployed-during-solut/33060#33060

https://sitecore.stackexchange.com/questions/33048/how-to-add-cookies-banner-in-sitecore/33049#33049

https://sitecore.stackexchange.com/questions/33026/redirect-url-with-trailing-slash-in-the-end-of-every-url/33027#33027

https://sitecore.stackexchange.com/questions/33010/getting-the-datasource-location-of-all-renderings-inside-the-page-using-spe/33011#33011

https://sitecore.stackexchange.com/questions/33005/cant-download-any-results-from-show-listview/33008#33008

https://sitecore.stackexchange.com/questions/32957/sitecore-cli-error-it-was-not-possible-to-find-any-installed-net-core-sdks/32958#32958

https://sitecore.stackexchange.com/questions/32879/broken-local-environments-media-library-search-experience-editor-cant-rebui/32881#32881

https://sitecore.stackexchange.com/questions/32816/get-link-details-in-powershell-script/32818#32818

https://sitecore.stackexchange.com/questions/32809/enabling-item-level-language-fallback/32811#32811

https://sitecore.stackexchange.com/questions/32794/not-finding-customer-details-on-odata-api-exposed-in-plugin/32796#32796

https://sitecore.stackexchange.com/questions/32783/error-relation-fieldname-is-self-referencing-and-multiple-relation-instances/32784#32784

https://sitecore.stackexchange.com/questions/32747/experience-editor-current-chrome-is-null-crashes-editor-when-referencing-chrome/32759#32759

https://sitecore.stackexchange.com/questions/32713/fxm-analytics-showing-incorrect-date/32721#32721

https://sitecore.stackexchange.com/questions/32716/fxm-how-to-delete-placeholders/32719#32719

https://sitecore.stackexchange.com/questions/32668/sitecore-permission-to-move-item-for-role-which-doesnt-have-delete-permissions/32677#32677

https://sitecore.stackexchange.com/questions/32465/does-sitecore-child-item-in-draft-state-gets-published-when-deep-1-is-set-on-par/32466#32466

https://sitecore.stackexchange.com/questions/32463/sitecore-10-1-1-installation-issue-failed-to-start-service-sitecore-xconnect/32464#32464

https://sitecore.stackexchange.com/questions/32432/identity-service-error-on-cm/32433#32433

https://sitecore.stackexchange.com/questions/32166/how-to-disable-coveo-search-on-cm-without-impacting-coveo-command-center-in-site/32167#32167

https://sitecore.stackexchange.com/questions/32149/error-while-installing-sitecore-10-2-sitecore-xconnect-xdbcollectionunavailable/32150#32150

https://sitecore.stackexchange.com/questions/31945/sitecore-cache-in-sxa/31949#31949

https://sitecore.stackexchange.com/questions/31893/how-to-get-current-user-role-name-in-sitecore-using-powershell/31894#31894

https://sitecore.stackexchange.com/questions/31853/moving-item-from-a-bucket-into-another-bucket-doesnt-keep-the-item-into-bucket/31856#31856

https://sitecore.stackexchange.com/questions/31655/get-workflow-id-in-powershell-script/31656#31656

https://sitecore.stackexchange.com/questions/31621/how-to-get-template-id-of-selected-article-page-item-using-sitecore-powershell/31622#31622

https://sitecore.stackexchange.com/questions/31593/sitecore-10-2-cli-error-the-ssl-connection-could-not-be-established/31594#31594

https://sitecore.stackexchange.com/questions/31507/sitecore-xc10-1-2-invalid-request/31516#31516

https://sitecore.stackexchange.com/questions/31330/sitecore-commerce-minions-errors/31333#31333

https://sitecore.stackexchange.com/questions/31235/how-to-add-dynamic-placeholder-to-a-sxa-rendering-variant/31242#31242

https://sitecore.stackexchange.com/questions/31153/sxa-search-result-sort-order/31154#31154

https://sitecore.stackexchange.com/questions/31115/updating-sitecore-pipelines-renderdocx-and-sitecore-wordocx-on-sitecore-10-1/31127#31127

https://sitecore.stackexchange.com/questions/31091/can-we-arrange-the-order-in-variant-dropdown/31093#31093

https://sitecore.stackexchange.com/questions/31066/couldnt-find-sitename-shell-in-sitecore-config-in-9-3-for-lang-fall-back/31075#31075

https://sitecore.stackexchange.com/questions/30837/recommended-products-in-sitecore-commerce-10/30839#30839

https://sitecore.stackexchange.com/questions/30784/error-while-installing-sitecore-jss-cli/30789#30789

https://sitecore.stackexchange.com/questions/30755/item-price-keeps-getting-updated-in-cart/30763#30763

https://sitecore.stackexchange.com/questions/30624/products-take-2-5-minutes-to-appear-on-site/30627#30627

Organized Sitecore User Group Jaipur –

https://www.meetup.com/sitecore-user-group-jaipur-meetup/events/286006838/

https://www.meetup.com/sitecore-user-group-jaipur-meetup/events/285412281/

https://www.meetup.com/sitecore-user-group-jaipur-meetup/events/286869517/

Linkedin Post about Sitecore

SUGMEA Event

https://www.linkedin.com/posts/gaurav-agarwal-763a4a25_sitecore-sugmea-sitecore-activity-7001277044395270144-NYet


https://www.linkedin.com/posts/gaurav-agarwal-763a4a25_sugmea-sitecore-sitecorecommunity-activity-7001224760374276096-BQBu


https://www.linkedin.com/posts/gaurav-agarwal-763a4a25_sugmea-sitecore-activity-7001222588144185344-nCpm

Sitecore Symposium –

https://www.linkedin.com/posts/gaurav-agarwal-763a4a25_sitecore-sitecoresym-sitecorecommunity-activity-6988197101352439808-8TQK/

https://www.linkedin.com/feed/update/urn:li:activity:6965721108272586752

Hackathon –

https://www.linkedin.com/feed/update/urn:li:activity:6995391273318645760

Gitex –

https://www.linkedin.com/posts/gaurav-agarwal-763a4a25_web-design-company-digital-marketing-agency-activity-6985563016335384577-MqpE/

SUGMEA (September) –

https://www.linkedin.com/posts/gaurav-agarwal-763a4a25_suguae-learning-sitecore-activity-6974647852366999552-7fJt

Blogs –

https://www.linkedin.com/posts/gaurav-agarwal-763a4a25_sitecore-content-hub-relation-fieldname-activity-6968301569213632512-J2Qa

https://www.linkedin.com/posts/gaurav-agarwal-763a4a25_enhance-performance-of-content-hub-to-sitecore-activity-6962848021000699904-7TEV

https://www.linkedin.com/posts/gaurav-agarwal-763a4a25_content-hub-getrelation-is-a-null-error-activity-6962083112423948288-aQqA

https://www.linkedin.com/posts/gaurav-agarwal-763a4a25_failed-to-start-service-sitecore-xconnect-activity-6902223317445554176-w3HW

Sitecore User group Jaipur –

https://www.linkedin.com/posts/gaurav-agarwal-763a4a25_sitecore-activity-6927135252003835904-Uz_1

https://www.linkedin.com/posts/gaurav-agarwal-763a4a25_activity-6924725849501945857-vDwr

Sitecore –

https://www.linkedin.com/posts/gaurav-agarwal-763a4a25_the-sitecore-story-activity-6924942631797944320-RiBm

OrderCloud –

https://www.linkedin.com/posts/gaurav-agarwal-763a4a25_sitecore-ordercloud-activity-6913768107819905024-h6g-

Blogs –

Sitecore New Features Symposium 2022

Sitecore Content Hub : Relation ‘fieldName’ is self-referencing and multiple relation instances error


https://sitecorerocksblog.wordpress.com/2022/07/10/enhance-performance-of-content-hub-to-sitecore-sync/


https://sitecorerocksblog.wordpress.com/2022/05/07/content-hub-getrelation-is-a-null-error/


https://sitecorerocksblog.wordpress.com/2022/02/23/failed-to-start-service-sitecore-xconnect-indexworker/

Twitter –

There are a lot of links on Twitter, so skipping this part as I was active on Twitter for full year.

I did some more activities on Slack, MVP Mentor, attended Sitecore MVP lunch, and provided valuable feedback, but overall this is the summary.

Happy Sitecoring ๐Ÿ™‚

Sitecore New Features Symposium 2022

#SitecoreSYM is started today, it’s the biggest yearly event of Sitecore and the first in-person session after covid. Steve Tzikakis started the keynote with some nice announcements. The new features are as follows –

  1. Sitecore Search
  2. Content Hub One
  3. Sitecore Connect.

Sitecore Search is an AI-powered search and discovery function that provides marketers with a unified delivery system for serving relevant content. According to Sitecore, the plug-and-play solution can be applied to an existing website in very less time.

Content Hub One is the interesting one, it is a headless content management system (CMS). It will combine authoring, content modeling, and consumption into a single interface.

Sitecore Connect is a drag-and-drop user interface. It enables brands to connect Sitecore products to their existing infrastructure via a drag-and-drop user interface.

And the most awaited Sitecore XM Cloud is unveiled at the Sitecore Symposium. If you don’t want to deal with any future upgrades just go with Sitecore XM Cloud. With this upcoming release, brands can expect XM Cloud updates and innovations such as new editing interfaces, native personalization, and testing capabilities.

And last but not least Sitecore got your back, Sitecore 10.3 is still going to release, so you can have the same features that you are working on right now as well.

So that’s the short summary of the Sitecore Symposium keynote.

Happy Sitecoring ๐Ÿ™‚