Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Passing $$MIRRORSYNC_USERTOKEN back from hub to spoke

Featured Replies

In the script 'MirrorSync Customization (Master Code)' around line 68 it implies that mutating the $$MIRRORSYNC_USERTOKEN var on the server would in turn affect the spoke device. 

Currently I am serializing some params via Let notation from spoke to Hub but I would like to pass back some metadata also. Changing the $$MIRRORSYNC_USERTOKEN var here does not seem to surface on the spoke.

So two questions:

1. Does this $$VAR get passed back to the spoke at all and if so, where can I surface it (what context) ?

2. What are some alternative techniques to pass meta data from Hub to Spoke? ( I am implementing some version control and auto updating and would rather not have to sync another table just to pass metadata ) 

Cheers!

Hi Charles - setting the $$MIRRORSYNC_USERTOKEN var on the server will not result in that value being sent to the client. The reason we warn against changing it on the server is to avoid overwriting the value passed in from the client to the server.

There is currently no support for doing what you're looking for, short of synchronizing a field in a table. I will add it to the feature request list.

I forgot to mention - the next version of MirrorSync will have support for auto updating solution files on the client. We'll be presenting that at our DevCon vendor session.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.