Top

custom data that is different for each user

Répondu

Commentaires

8 commentaires

  • Pascal BORSCHNECK

    Hi Muhammad,

     

    Which SDK are you using please to try to reproduce it ?
    You are on the sandbox ?

    Best regards,
    Pascal

    0
    Actions pour les commentaires Permalien
  • Muhammad Riansyah Tohamba

    Hi Pascal

    I'm using rainbow sandbox, i'm load SDK like this 

    <script src="//api.openrainbow.com/sdk/web/libs/loader-sdk.min.js" data-main="/config.json">

     

    Best Regard

    0
    Actions pour les commentaires Permalien
  • Pascal BORSCHNECK

    OK SDK Web then =)

     

    3 things please:

    1- In your config.json, you also download the latest SDK Web, I mean using

    "sdk": {
                "official": [
                    "//api.openrainbow.com/sdk/web/libs/vendors-sdk.min.js",
                    "//api.openrainbow.com/sdk/web/libs/rainbow-sdk.min.js"
                ],
                "default": "official"
            },

    ?

    2- In browser logs, if you activated logs in config.json like that in settings part

        "settings": {
            "verboseLog": true,
            "disableCache": true,
            "enableLoader": true
        }

    you can also see which version is loaded.

     

    3- For user A, in browser logs, Network tab (to open before changing the custom data), does an error occured ?

     

    Regards,
    Pascal

    0
    Actions pour les commentaires Permalien
  • Pascal BORSCHNECK

    2 other things, for user B, did you receive the event

    "RAINBOW_ONBUBBLEUPDATED" (bubble)

    after A updated the customData ?
    => this means the bubble was updated and you have to ask for new datas

     

    And, if with user B, after the

    "RAINBOW_ONBUBBLEUPDATED" (bubble)

    you call a getBubbleById (https://hub.openrainbow.com/#/documentation/doc/sdk/web/api/bubbles#module_Bubbles.getBubbleById) are the new customData inside ?

    0
    Actions pour les commentaires Permalien
  • Muhammad Riansyah Tohamba

    Ok I will try your suggestions, but i think i know what make bubble different. That's because user A is not moderator of bubble. But  i think other than moderators, other users can not update custom data, right? Why i can update customdata even i'm not moderator of bubble? 

    0
    Actions pour les commentaires Permalien
  • Pascal BORSCHNECK

    Please also see my reply to the other post (about appId) and tell me if it corrected your problem (adding an AppId / secret)

    Regards,
    Pascal Borschneck

    0
    Actions pour les commentaires Permalien
  • Pascal BORSCHNECK

    Same question here: it's ok now ?  Can I close this ?

    0
    Actions pour les commentaires Permalien
  • Muhammad Riansyah Tohamba

    Yeah You can close it, thanks mr Pascal :D

    0
    Actions pour les commentaires Permalien

Vous devez vous connecter pour laisser un commentaire.

Vous n'avez pas trouvé ce que vous cherchez?

  • Contactez-nous

    Vous avez des questions? Laissez-nous un message pour obtenir plus d'informations.

    Contactez-nous
  • Demandez à la Communauté

    Vous avez besoin d'aide? Posez vos questions à la Communauté et obtenez des réponses d'autres utilisateurs Rainbow.

    Poster un message