Jump to content
Sign in to follow this  
Charles Delfs

Passing $$MIRRORSYNC_USERTOKEN back from hub to spoke

Recommended Posts

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 ) 


Share this post

Link to post
Share on other sites

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.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...

Important Information

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