Top

custom data that is different for each user

Beantwortet

Kommentare

8 Kommentare

  • Pascal BORSCHNECK

    Hi Muhammad,

     

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

    Best regards,
    Pascal

    0
    Aktionen für Kommentare Permalink
  • 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
    Aktionen für Kommentare Permalink
  • 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
    Aktionen für Kommentare Permalink
  • 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
    Aktionen für Kommentare Permalink
  • 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
    Aktionen für Kommentare Permalink
  • 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
    Aktionen für Kommentare Permalink
  • Pascal BORSCHNECK

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

    0
    Aktionen für Kommentare Permalink
  • Muhammad Riansyah Tohamba

    Yeah You can close it, thanks mr Pascal :D

    0
    Aktionen für Kommentare Permalink

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

Sie können immer noch nicht finden, was Sie brauchen?

  • Kontaktieren Sie uns

    Haben Sie eine Frage zu Rainbow? Hinterlassen Sie uns eine Nachricht, um weitere Informationen zu erhalten.

    Kontakt
  • Fragen Sie die Gemeinschaft

    Brauchen Sie Hilfe? Stellen Sie Ihre Fragen in der Community, um Antworten von anderen Rainbow-Benutzern zu erhalten.

    Nachricht posten