Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Satellite track is getting undefined

Avatar

Avatar
Boost 3
Level 1
Knowledgeseeker98
Level 1

Likes

4 likes

Total Posts

28 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile

Avatar
Boost 3
Level 1
Knowledgeseeker98
Level 1

Likes

4 likes

Total Posts

28 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile
Knowledgeseeker98
Level 1

29-01-2021

Hi experts,

We have added launch code in the header file and we have  satellite track which is used in JS file.But while executing it i'm getting issue as undefined.

But in console ,i can see script is getting loaded also i can able to access the satellite property.

The only issue is script is getting loaded after the js file.

 

Any solution for this.

 

MicrosoftTeams-image (17).png

 

 

Thanks

 

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Applaud 25
MVP
evolytics_brian
MVP

Likes

72 likes

Total Posts

149 posts

Correct Reply

49 solutions
Top badges earned
Applaud 25
Establish
Seeker
Give Back
Engage 1
View profile

Avatar
Applaud 25
MVP
evolytics_brian
MVP

Likes

72 likes

Total Posts

149 posts

Correct Reply

49 solutions
Top badges earned
Applaud 25
Establish
Seeker
Give Back
Engage 1
View profile
evolytics_brian
MVP

29-01-2021

@Knowledgeseeker98 

If I'm reading your question right, you're saying that you have a custom JS file that attempts to reference the _satellite.track() method, but that file is loading before Launch is loaded on the page. If that's the case, you're going to have to load the JS file (or at least delay the _satellite.track() call) after the Launch script loads.