# dynamically change the meeting link

**URL:** <https://community.hubspot.com/t/dynamically-change-the-meeting-link/94172>\
**Category:** CMS Development\
**Tags:** local-development, javascript\
**Created:** [November 16, 2023, 11:03am UTC](https://community.hubspot.com/t/dynamically-change-the-meeting-link/94172 "2023-11-16T11:03:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ramanverma2005](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ramanverma2005/32/65559_2.png) [@ramanverma2005](https://community.hubspot.com/u/ramanverma2005)\
**Post date:** [November 16, 2023, 11:03am UTC](https://community.hubspot.com/t/dynamically-change-the-meeting-link/94172/1 "2023-11-16T11:03:55Z")

</div>

Hi Team,

**Problem**

1. I have form once it will be submitted at the back end workflows runs which assign the owner to them which takes hardly 5 seconds but once the form submit it automically redirect the user on new page where I want to show the meetint link of the new assigned owner calender but it showing the wrong calender with below code  
{{ contact.hubspot\_owner\_id.meetings\_link }}  
\<div id=“meeting{{name}}” style=“display:none;”\>  
\<!-- \<div class=“meetings-iframe-container” id=“contactMeeting” data-src=“”\>\ \</div\> --\>  
{#\<div class=“meetings-iframe-container” data-src=“{{ contact.hubspot\_owner\_id.meetings\_link }}?embed=true”\>\ \</div\>#}  
\<iframe class=“meetings-iframe-container” id=“contactMeeting” src=“”\>\</iframe\>  
\<script type=“text/javascript” src=“[https://static.hsappstatic.net/MeetingsEmbed/ex/MeetingsEmbedCode.js](https://static.hsappstatic.net/MeetingsEmbed/ex/MeetingsEmbedCode.js)” defer id=“meetingsScript”\>\</script\>  
\<!-- \<script type=“text/javascript” src=“[https://static.hsappstatic.net/MeetingsEmbed/ex/MeetingsEmbedCode.js](https://static.hsappstatic.net/MeetingsEmbed/ex/MeetingsEmbedCode.js)”\>\</script\> --\>  
\</div\>  
\<script\>

$(function() {

var contactMeet = document.getElementById(‘contactMeeting’);  
setTimeout(() =\> {  
console.log(`{{ contact.hubspot_owner_id.meetings_link }}` , ‘new’);  
window.location.href += ‘#contactMeeting’;  
contactMeet.setAttribute(‘src’,`{{ contact.hubspot_owner_id.meetings_link }}?embed=true`);  
console.log(‘10 second’)  
}, “10000”);

});

\</script\>

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [November 17, 2023, 5:19pm UTC](https://community.hubspot.com/t/dynamically-change-the-meeting-link/94172/2 "2023-11-17T17:19:49Z")

</div>

Hi, @ramanverma2005 👋 Thanks for the interesting question. It sounds like we’re encountering a race condition. I don’t have a specific documented solution for your project.

Let’s invite some of our community members to the converstaion — hey @albertsg @MatthiasWeber have you tried anything similar? Or do you have any creative thinking on how @ramanverma2005 might approach this from a different angle?

Thank you very much for taking a look! — Jaycee
