343
Views
5
Comments
Solved
sync Wrapper is not a function
Question

I am getting "sync Wrapper is not a function" error message on TriggerOfllineDataSync client action . Why this is so?

2021-01-12 14-29-49
Prajakta Roshankhede
Solution

Hello Daniel,

The issue is resolved. I was using one block which was not required that was the reason, I was getting this error message. 

Thank you so much!! 

UserImage.jpg
Abhishek  Prasad

Prajakta Roshankhede wrote:

Hello Daniel,

The issue is resolved. I was using one block which was not required that was the reason, I was getting this error message. 

Thank you so much!! 


Hi there,

I am facing the same issue.

I checked that there is no unused block in my solution.Is there any other reason which can lead to this error.


Thanks !

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Hi Prajakta,

Are you calling the action in an expression? 

That is only possible if the action has the IsFuction property set to true.

Regards,

Daniel

2021-01-12 14-29-49
Prajakta Roshankhede
Solution

Hello Daniel,

The issue is resolved. I was using one block which was not required that was the reason, I was getting this error message. 

Thank you so much!! 

UserImage.jpg
Abhishek  Prasad

Prajakta Roshankhede wrote:

Hello Daniel,

The issue is resolved. I was using one block which was not required that was the reason, I was getting this error message. 

Thank you so much!! 


Hi there,

I am facing the same issue.

I checked that there is no unused block in my solution.Is there any other reason which can lead to this error.


Thanks !

UserImage.jpg
Vasco Rodrigues

Happened to me. Found out the problem. I had deleted the Common\OfflineDataSyncEvents from the Layout, hence, there was no handler for the events

UserImage.jpg
Wendy Tromp

We get this error when we resume the app and the offline datasync starts, and we navigate during the sync to a page that doesn't have the OfflineDataSyncEvents webblock. Adding the webblock to all pages fixes the error for us.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.